fix(@embark/whisper): p2p port is main command

What did you refactor, implement, or fix?
Port was never being defined for whisper,  because it never called the rpc port config.
This commit moves port flag to the main commands, so it's always included.
How did you do it?
Just moved where the flag is included.
Is there anything that needs special attention (breaking changes, etc)?
No
Questions
Can we make p2p port part of main commands of embark/geth as well?
Cool Spaceship Picture

Done

Please, merge.


Xamarin.Android 'Earlier version archive' link results in 404

Describe the bug
Clicking on a Xamarin.Android 'Earlier version archive' link results in 404
To Reproduce
Steps to reproduce the behavior:

Go to https://docs.microsoft.com/en-us/xamarin/android/release-notes/9/9.3
Click on 'Earlier version archive' in the left-hand table of contents.
My browser navigates to a page with a 404 content not found error (https://docs.microsoft.com/en-us/xamarin/releases/#android)

Expected behavior
My browser navigates to a page with release notes for older versions of Xamarin.Android.
Desktop (please complete the following information):

OS: MacOS 10.14.5
Browser Both chrome and safari
Version 74.0.3729 and 12.1.1

@brendanzagaeski Can you please take a look at this issue?

Thanks for bringing this up! This should be all set now. The link in the side bar now points to a GitHub repository where you can browse the previous release notes in subdirectories corresponding to the past version numbers.
@ryanmajidi, feel free to close this issue now, or if you notice anything I might have missed, feel free to raise follow up questions. Thanks!

The same problem still occurs for Xamarin.iOS release notes.

Tidying up this old resolved issue
#please-close


how to generate new input wav_data.h

Hi,
how can i generate a new input audio example "wav_data.h"?
thanks.

Hi @fabiovito,
wav_data.h consists of raw audio data in 16-bit format. You can read the .wav file in python and write to .h file. The following code should work fine.
import wave
audio = wave.open("your wav file")
signal = audio.readframes(-1)
signal = np.fromstring(signal, 'Int16')
with open("wav_data.h",'ab') as f:
np.savetxt(f,signal,fmt="%d",delimiter=",",newline=",")

Hi @navsuda, would you be able to provide some more wav_data.h files to use for testing with the simple_test example? And what should the output of the default wav_data.h file be? Thanks:)

Hi @gamnes,
The output with default wav_data.h is "right". With the provided python script, you should be able to generate any number of examples by providing any audio file from the speech commands dataset.

Closing the issue due to inactivity, please reopen it if you still face the issue.


PLAT-7117: Update deprecated endpoints

Build triggered. sha1 is merged.

Build started sha1 is merged.

Codecov Report

Merging #187 into dev will decrease coverage by 0.72%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##              dev     #187      +/-   ##
==========================================
- Coverage   89.66%   88.94%   -0.73%
==========================================
  Files         144      175      +31
  Lines        2758     3582     +824
  Branches      266      355      +89
==========================================
+ Hits         2473     3186     +713
- Misses        220      288      +68
- Partials       65      108      +43

Impacted Files
Coverage Δ

...yoss/integration/pod/api/client/UserApiClient.java
100% <100%> (ø)
:arrow_up:

...oning/properties/CompanyCertificateProperties.java
0% <0%> (ø)

...ovisioning/client/model/AppStoreAssetsWrapper.java
100% <0%> (ø)

...visioning/exception/UsernameMismatchException.java
100% <0%> (ø)

...ation/provisioning/client/AppRepositoryClient.java
89.09% <0%> (ø)

...ation/provisioning/service/ApplicationService.java
83.07% <0%> (ø)

.../exception/ConfigurationProvisioningException.java
100% <0%> (ø)

...ion/provisioning/client/model/AppStoreWrapper.java
100% <0%> (ø)

...ning/service/ConfigurationProvisioningService.java
93.93% <0%> (ø)

...on/provisioning/exception/UpdateUserException.java
100% <0%> (ø)

... and 22 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 75b0326...d0dee78. Read the comment docs.


Display a useful error message when 'passcmd' fails

For example, currently I get:
$ .cabal-sandbox/bin/matterhorn
matterhorn: security: readCreateProcess: runInteractiveProcess: exec: does not exist (No such file or directory)

because I stupidly ran this under linux where security is not a valid command.

Does this mean that Linux is currently unsupported? I am having the same issue.

@nskins I'm not sure how you found out about this project, but FYI, it's unfinished so right now we don't make any claims about support.  Use at your own risk.  With that said, this bug has been fixed, and the problem isn't lack of Linux support; it's that the sample config was for OS X and @benjaminfjones tried using that on Linux where the security command doesn't exist. :)

@nskins Just to add my $0.02 to what jtdaugherty said:
While it's pretty early for matterhorn (pre-alpha), we'd love to have more users and we could benefit from any and all feedback you have. Bug reports, suggestions, pull requests, etc. I'd also be quite happy to help you get going if you're having any problems building or configuring matterhorn.

I should also mention, in the config file you can also just use, "pass: password"
We'd prefer it if people use a password manager and query that for the password, but you can just directly put your password in the config file too.


Clarify environments and their use

local confused me with default, so changed to prod to clarify. And tried to make help text more concise.

CI/test windows-latest is expected to fail? Only a repo admin can merge

yes i'm fixing Windows CI here https://github.com/temporalio/cli/pull/257 (and https://github.com/temporalio/sdk-go/pull/1140)


Recording Filter functions

Our own nursing HAR dataset might have some problems if we want to predict labels of it directly. There are

activities that consist of multiple other activities,
activities that are to small/ short

We need to relabel stuff, we need to summarize small labels to scenario labels, we need to filter out activities, split recordings.
We skip first recordings of new recorders, have a 3 sec transition time (labeling problem not fast enough, only take the core) and so on.
In the end we want to try to train the model on different label sets, on different data subsets to get the most useful, working prediction model from our data.
I suggest we write some functions that take and return recordings (datatype) and that fullfill the tasks mentioned above

Implemented in ml-rainbow repository. PR ready for review.

this should be closed after the code is transferred to this repository later on


Tensorflow 2.11 error: AttributeError: module 'tensorflow._api.v2.compat.v2.internal' has no attribute 'register_load_context_function'

Click to expand!
Issue Type
Bug
Have you reproduced the bug with TF nightly?
No
Source
source
Tensorflow Version
2.11
Custom Code
Yes
OS Platform and Distribution
Windows
Mobile device
No response
Python version
3.10
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
I had to update Tensorflow to the currently latest version 2.11. when importing i get "AttributeError: module 'tensorflow._api.v2.compat.v2.internal' has no attribute 'register_load_context_function'". I have also completely reinstalled a full anaconda environment and downgraded Python to the version compatible with the latest of Tensorflow and then "pip3 install Tensorflow==2.11". Got the same error. I have no other ideas.

The full error log is the following

import tensorflow as tf

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_432\3752927832.py in <module>
----> 1 import tensorflow as tf

~\AppData\Roaming\Python\Python310\site-packages\tensorflow\__init__.py in <module>
    467 if hasattr(_current_module, "keras"):
    468   try:
--> 469     _keras._load()
    470   except ImportError:
    471     pass

~\AppData\Roaming\Python\Python310\site-packages\tensorflow\python\util\lazy_loader.py in _load(self)
     39     """Load the module and insert it into the parent's globals."""
     40     # Import the target module and insert it into the parent's namespace
---> 41     module = importlib.import_module(self.__name__)
     42     self._parent_module_globals[self._local_name] = module
     43

~\anaconda3\envs\mltrade2\lib\importlib\__init__.py in import_module(name, package)
    124                 break
    125             level += 1
--> 126     return _bootstrap._gcd_import(name[level:], package, level)
    127
    128

~\anaconda3\envs\mltrade2\lib\site-packages\keras\__init__.py in <module>
     19 """
     20 from keras import distribute
---> 21 from keras import models
     22 from keras.engine.input_layer import Input
     23 from keras.engine.sequential import Sequential

~\anaconda3\envs\mltrade2\lib\site-packages\keras\models\__init__.py in <module>
     16
     17
---> 18 from keras.engine.functional import Functional
     19 from keras.engine.sequential import Sequential
     20 from keras.engine.training import Model

~\anaconda3\envs\mltrade2\lib\site-packages\keras\engine\functional.py in <module>
     32 from keras.engine import input_spec
     33 from keras.engine import node as node_module
---> 34 from keras.engine import training as training_lib
     35 from keras.engine import training_utils
     36 from keras.saving.legacy import serialization

~\anaconda3\envs\mltrade2\lib\site-packages\keras\engine\training.py in <module>
     43 from keras.saving.experimental import saving_lib
     44 from keras.saving.legacy import hdf5_format
---> 45 from keras.saving.legacy import save
     46 from keras.saving.legacy import saving_utils
     47 from keras.saving.legacy import serialization

~\anaconda3\envs\mltrade2\lib\site-packages\keras\saving\legacy\save.py in <module>
     22 from keras.saving.legacy import serialization
     23 from keras.saving.legacy.saved_model import load as saved_model_load
---> 24 from keras.saving.legacy.saved_model import load_context
     25 from keras.saving.legacy.saved_model import save as saved_model_save
     26 from keras.utils import traceback_utils

~\anaconda3\envs\mltrade2\lib\site-packages\keras\saving\legacy\saved_model\load_context.py in <module>
     66
     67
---> 68 tf.__internal__.register_load_context_function(in_load_context)

AttributeError: module 'tensorflow._api.v2.compat.v2.__internal__' has no attribute 'register_load_context_function'

Standalone code to reproduce the issue
import tensorflow as tf

Relevant log output
No response

It turned out that reinstalling everything was not enough; probably there was a synch problem with the updating of the kernel used fo rthe jupyter notebook. So in case other will come into the same troble I suggest to reinstall tensorflow and then create a new kernel for jupyter in the same new Anaconda environment.


docs: Remove unnecessary "if" in enhanced-depends-logic.md

Checklist:

[x] Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
[x] The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
[x] I've signed the CLA.
[x] I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
[x] My builds are green. Try syncing with master if they are not.
[x] My organization is added to USERS.md.

Can we add this to https://github.com/argoproj/argo/pull/3108? Would rather not have many of these micro docs-only PRs as they clutter the back-porting process.

@simster7 Sure. I just came across them at different times as I read through the docs and submitted on GitHub directly so sometimes it's not convenient to batch changes.

Thanks @terrytangyuan!


[CDK] Evaluate null value serialization

There seems to be an issue with missing space and line break.

Nulls are excluded from serialization.


cilium connectivity test suite fails to connect to host from pods

Hiya :wave: , I have installed cilium v1.14.3 in EKS 1.26v. and when i run cilium connectivity test, i see 4 tests are failing -
no-policies, no-policies-extra, allow-all-except-world, and host-entity . mostly around pods are being prevented talking to the host.
Can someone please point me what am i doing wrong? :bow:
❌ 4/42 tests failed (20/300 actions), 13 tests skipped, 1 scenarios skipped:
Test [no-policies]:
  ❌ no-policies/pod-to-host/ping-ipv4-1: cilium-test/client-84bfddc76b-cxqkl
  ❌ no-policies/pod-to-host/ping-ipv4-3: cilium-test/client-84bfddc76b-cxqkl
  ❌ no-policies/pod-to-host/ping-ipv4-5: cilium-test/client2-764b565764-qgf8n
  ❌ no-policies/pod-to-host/ping-ipv4-7: cilium-test/client2-764b565764-qgf8n
Test [no-policies-extra]:
  ❌ no-policies-extra/pod-to-remote-nodeport/curl-0: cilium-test/client-84bfddc76b-cxqkl  -> cilium-test/echo-other-node (echo-other-node:8080)
  ❌ no-policies-extra/pod-to-remote-nodeport/curl-1: cilium-test/client-84bfddc76b-cxqkl  -> cilium-test/echo-same-node (echo-same-node:8080)
  ❌ no-policies-extra/pod-to-remote-nodeport/curl-2: cilium-test/client2-764b565764-qgf8n  -> cilium-test/echo-same-node (echo-same-node:8080)
  ❌ no-policies-extra/pod-to-remote-nodeport/curl-3: cilium-test/client2-764b565764-qgf8n  -> cilium-test/echo-other-node (echo-other-node:8080)
  ❌ no-policies-extra/pod-to-local-nodeport/curl-0: cilium-test/client-84bfddc76b-cxqkl  -> cilium-test/echo-other-node (echo-other-node:8080)
  ❌ no-policies-extra/pod-to-local-nodeport/curl-1: cilium-test/client-84bfddc76b-cxqkl  -> cilium-test/echo-same-node (echo-same-node:8080)
  ❌ no-policies-extra/pod-to-local-nodeport/curl-2: cilium-test/client2-764b565764-qgf8n  -> cilium-test/echo-other-node (echo-other-node:8080)
  ❌ no-policies-extra/pod-to-local-nodeport/curl-3: cilium-test/client2-764b565764-qgf8n  -> cilium-test/echo-same-node (echo-same-node:8080)
Test [allow-all-except-world]:
  ❌ allow-all-except-world/pod-to-host/ping-ipv4-1: cilium-test/client-84bfddc76b-cxqkl
  ❌ allow-all-except-world/pod-to-host/ping-ipv4-3: cilium-test/client-84bfddc76b-cxqkl
  ❌ allow-all-except-world/pod-to-host/ping-ipv4-5: cilium-test/client2-764b565764-qgf8n
  ❌ allow-all-except-world/pod-to-host/ping-ipv4-7: cilium-test/client2-764b565764-qgf8n
Test [host-entity]:
  ❌ host-entity/pod-to-host/ping-ipv4-1: cilium-test/client-84bfddc76b-cxqkl
  ❌ host-entity/pod-to-host/ping-ipv4-3: cilium-test/client-84bfddc76b-cxqkl
  ❌ host-entity/pod-to-host/ping-ipv4-5: cilium-test/client2-764b565764-qgf8n
  ❌ host-entity/pod-to-host/ping-ipv4-7: cilium-test/client2-764b565764-qgf8n
connectivity test failed: 4 tests failed

Please upload a sysdump.

Please upload a sysdump.

@aditighag , sorry how do i take sysdump?

Hi @aditighag, please let me know if there is anything more you are looking for.

Above one was ClusterIP service type. then I have enabled clustermesh LoadBalancer service type in 2 EKS clusters in 2 different regions.
cilium clustermesh connect --context <source> --destination-context <destination> I see cluster connected message from source to destination.
:white_check_mark: Detected Helm release with Cilium version 1.14.1
:sparkles: Extracting access information of cluster [cilium-ire.eu-west-1.eksctl.io](http://cilium-ire.eu-west-1.eksctl.io/)...
:key: Extracting secrets from cluster [cilium-ire.eu-west-1.eksctl.io](http://cilium-ire.eu-west-1.eksctl.io/)...
Hostname based ingress detected, trying to resolve it
Hostname resolved, using the found ip(s)
:information_source: Found ClusterMesh service IPs: [46.x.x.x 34.x.x.x]
:sparkles: Extracting access information of cluster [cilium-ldn.eu-west-2.eksctl.io](http://cilium-ldn.eu-west-2.eksctl.io/)...
:key: Extracting secrets from cluster [cilium-ldn.eu-west-2.eksctl.io](http://cilium-ldn.eu-west-2.eksctl.io/)...
Hostname based ingress detected, trying to resolve it
Hostname resolved, using the found ip(s)
:information_source: Found ClusterMesh service IPs: [3.x.x.x 18.x.x.x]
:information_source: Configuring Cilium in cluster '[cilium-ldn.eu-west-2.eksctl.io](http://cilium-ldn.eu-west-2.eksctl.io/)' to connect to cluster '[cilium-ire.eu-west-1.eksctl.io](http://cilium-ire.eu-west-1.eksctl.io/)'
:information_source: Configuring Cilium in cluster '[cilium-ire.eu-west-1.eksctl.io](http://cilium-ire.eu-west-1.eksctl.io/)' to connect to cluster '[cilium-ldn.eu-west-2.eksctl.io](http://cilium-ldn.eu-west-2.eksctl.io/)'
:white_check_mark: Connected cluster [cilium-ldn.eu-west-2.eksctl.io](http://cilium-ldn.eu-west-2.eksctl.io/) and [cilium-ire.eu-west-1.eksctl.io](http://cilium-ire.eu-west-1.eksctl.io/)!

But when i run cilium connectivity test --context <source> --multi-cluster <context>, i get

Sysdump for both clusters @aditighag
cilium-sysdump-20231101-094241.zip
cilium-sysdump-20231101-094439.zip

sysdump for both clusters with cilium ClusterIP serviceType @aditighag
cilium-sysdump-20231101-100741.zip
cilium-sysdump-20231101-101631.zip


add subscriptions to Repo, add asyncio support

...in preparation for the com.atproto.sync.subscribeRepos XRPC.
Note that this adds asyncio support but keeps Flask, which runs each asyncio HTTP request in its own event loop and its own worker, which blocks until it's done: https://flask.palletsprojects.com/en/2.3.x/async-await/#performance . Not ideal. Eventually we might want to switch to ASGI and eg Quartz + Uvicorn.
The other, more important issue is that this design for in memory subscriptions make requests stateful, or at least pinned to repos. All operations on a given repo, including subscriptions and new commits, must go to the same WSGI worker so that they can be routed to subscribers and delivered over their subscribeRepos websockets. Hrmph.

Done in spirit, threaded instead of asyncio, in 2ba87e2ebb61a3793767ce768d77b2973ce9eacb and 8478b0f66a62297416d0442234675b2db423e870.


Update the npm install command in the README

The original was correct. See: https://github.com/google/ts-style/pull/47. It is just that we haven't published the new gts module yet. Waiting for https://github.com/google/ts-style/pull/49 to land.


[Scrutiny] No ui in latest version

See HA community forum. Issue : influxdb not supported by latest LSIO image. Current fix : image pinned to older version

https://github.com/linuxserver/docker-scrutiny/issues/22


Use new null-safe generics in Pigeon

The Pigeon feature request to handle types like List<Foo>, as opposed to only List<Foo?>, is complete:

https://github.com/flutter/flutter/issues/97848#event-14254355682

We have a couple of types in our pigeon/notifications.dart that could benefit from that. One has a TODO comment; for the full list, look for List< and Map<.

Can I work on it

I'd also add that the docs should probably be updated too, since #5 is now obsolete.

@skylon07 Good catch, yeah.
That'd be a good point to make as an issue in the Flutter upstream tracker: https://github.com/flutter/flutter/issues . This thread here is in the issue tracker of a particular app that uses Flutter, namely Zulip.

Oh, haha, I clicked into this issue from the Flutter repo and didn't realize I had switched to Zulip. My apologies -- I'll make a ticket there instead.


Show track info

Sometimes it can be tricky to figure out details about a track, for example the tasks that get executed so you can filter them with --include-tasks. At the moment this is only possible by glancing at the source file which is rather inconvenient.
Therefore, we should add a new command, e.g. esrally info --track=geonames that shows such details about a track.

Closed by https://github.com/elastic/rally/pull/850


Can't delete .sia folders

Upload a file to foo/file.ext
Do siac renter delete foo/file.ext
Result:
foo/file.ext is removed from renter
foo/file.ext is removed from disk
foo/ remains on disk (which is the bug)

I think this behavior is reasonable. The real problem is that (IIRC) there isn't a way to delete a folder directly, i.e. siac renter delete foo. In general, we should try to make the renter "filesystem" behave isomorphically to a traditional filesystem.

Opening a new programming task issue for this


fix(images): Add alternative text for images

Before this commit, Image alternative text were missing. Without alternative text,
the content of an image will not be available to screen reader users or when the image is unavailable.
After this commit, Images (community logo) will have descriptive alternative text
Closes issue #25 (https://github.com/voidcosmos/angular-communities/issues/25)

Thanks!


Search Issue

1.26.0pre
Okay so firstly I love the design and basically everything of the application but there is one problem that basically stops me form even using it.Basically whenever I click the search or enter url bit CPod just closes.I don't know if this is my systems error or a known bug.
Any help would be appreciated thanks.

I fixed it by just downloading the previous version not the pre release one oops.

Hi there, glad you're enjoying CPod.
Even though you've closed the issue, I'd still like to figure this bug out.
By "previous version", do you mean 1.25.5 or 1.11.0? Are there any special characters etc. in your search terms or URLs?

By previous version I mean 1.25.5 which I downloaded.The issue was with the pre release and the issue consisted of when ever I clicked on the search for podcasts bar it just crashes without me typing anything.
Hopefully this helps.

Yes that helps. Thanks.


JBrowse warning when re-running contig pipeline

Not sure why this is happening.
[Errno 17] File exists: '/home/ubuntu/millstone/genome_designer/conf/../temp_data/projects/446830f9/ref_genomes/41532f34/jbrowse/tracks'
Skipping dir tracks because it already exists.

compile_tracklist_json() in jbrowse_util.py  is being run each time a
new contig gets a jbrowse track.
We should just remove the warning.
On Thu, Jun 23, 2016 at 5:19 PM Gleb Kuznetsov<EMAIL_ADDRESS>wrote:

Not sure why this is happening.
[Errno 17] File exists:
'/home/ubuntu/millstone/genome_designer/conf/../temp_data/projects/446830f9/ref_genomes/41532f34/jbrowse/tracks'
Skipping dir tracks because it already exists.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/churchlab/millstone/issues/685, or mute the thread
https://github.com/notifications/unsubscribe/AAfcBCzXTMuAJpv8ov08fWIcFeck_99tks5qOvhngaJpZM4I9P_j
.

Something weirder might be going on though. I will investigate
compile_tracklist_json()
and figure it out.
On Thu, Jun 23, 2016 at 6:12 PM Daniel Bryan Goodman<EMAIL_ADDRESS>wrote:

compile_tracklist_json() in jbrowse_util.py  is being run each time a
new contig gets a jbrowse track.
We should just remove the warning.
On Thu, Jun 23, 2016 at 5:19 PM Gleb Kuznetsov<EMAIL_ADDRESS>wrote:

Not sure why this is happening.
[Errno 17] File exists:
'/home/ubuntu/millstone/genome_designer/conf/../temp_data/projects/446830f9/ref_genomes/41532f34/jbrowse/tracks'
Skipping dir tracks because it already exists.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/churchlab/millstone/issues/685, or mute the thread
https://github.com/notifications/unsubscribe/AAfcBCzXTMuAJpv8ov08fWIcFeck_99tks5qOvhngaJpZM4I9P_j
.


Add Sponsorship Section on website

Add sponsorship section on website and attach the sponsor form link.

THe form link is added and the sponsor component issue is already created https://github.com/HydPy/pyconfhyd2025/issues/6


Setup failure downloading api keys

At the api keys step in setup process, email and password question is shown, but although no input is entered and the process goes to the next step.

Still occurs when using curl ... | sh


Added $table property if available as table name in foreignIdFor methods

Hello,
I don't know if it is the right thing to do. Sorry if it is not.
This is the same pull request made to branch 9.x #43104
Thank you
Martin Boudreau

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.

@taylorotwell I'm not sure I understand. Is the pull request delayed or closed? Do I have to make another pull request later? Do you need more details? I didn't find any issue related to this problem but it is not a good thing not to use model's $table property when possible. Should I open a bug issue?
I'll happily make a package. I never "published" a package for the community. Can you lead me to some documentation?
Thank you


IT-2427: icinga master as CA for icinga agents

Now we can add an agent that doesn't belong to puppet (like switches or vmware clusters)

what happens with the agents? do they have to load the new cert ?

yes, they renegociate

tested with icinga-agent.ls.lsst.org


Add WAXMANN leakSMART Water Sensor V2 quirk

This sensor has a device type of TEMPERATURE_SENSOR and uses
an "Unstructured" Appliance Alert command to indicate water state.
This quirk emulates an IAS Zone cluster like a standard water sensor.
Battery level and temperature work without any changes.

@brg468   FYI

Sorry for just now getting back to you on this...I just tested this out in the latest version of HA 0.98.0 and I’m still not having any luck getting a water event to show up. I re-added the device a couple times with the same result.

  This part seems really weird to me, where does "accelleration" come from?  I didn't see this error by the way.
Are you sure it's using the quirk?  In the ZHA Configuration panel, after selecting the device, you should see Quirk: zhaquirks.waxman.leaksmart.WAXMANleakSMARTv2 below Power Source: Battery or Unknown

I don't see any mention of the quirk in the config panel. Is there something I need to do to enable the quirk?
It also seems like it's not doing a full re-load after I un-pair/re-pair. I've tried removing the entry from .storage but that didn't seem to help.
2019-08-29 14:22:55 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xe93c](leakSMART Water Sensor V2): stored in registry: ZhaDeviceEntry(name='unk_manufacturer unk_model', ieee='00:22:a3:00:00:13:44:07', last_seen=1567102975.371935)

to fully reload, you need to remove device 1st from ZHA config panel -> pick the device -> remove and give it a few

I’ve tried that I think. Unpaired then restarted HA before and after editing the zha.storage file. Seems to keep re-appearing.

There is a separate database containing the ZHA devices.  It's not very easy to delete things from there.  I haven't had any issues using the Configuration panel to do it.

So here’s a thought, I’m thinking I don’t have the V2 of this sensor.. Maybe V1 doesn’t pair the same.

Yeah it must match the signature exactly or it won't do the quirk.  But your logs show V2? If you turn on 'zigpy' debug log look for 'Discovered endpoint information', 'Manufacturer', and 'Model'.

2019-08-29 18:45:11 DEBUG (MainThread) [homeassistant.components.zha.api] Read attribute for: cluster_id: [0] cluster_type: [in] endpoint_id: [1] attribute: [4] manufacturer: [None] response: [WAXMAN] failure: [{}]
2019-08-29 18:45:20 DEBUG (MainThread) [homeassistant.components.zha.api] Read attribute for: cluster_id: [0] cluster_type: [in] endpoint_id: [1] attribute: [5] manufacturer: [None] response: [leakSMART Water Sensor V2] failure: [{}]

I have 2 of these sensors. Just paired the other one and am having the same result, no quirks.

Enable zigpy debug and post debug log of pairing here. Need to see active endpoint and match descriptor responses

2019-08-30 14:09:29 DEBUG (MainThread) [zigpy.zcl] [0x32ae:1:0x0001] ZCL request 0x000a: [[<Attribute attrid=32 value=<TypeValue type=uint8_t, value=29>>]]
2019-08-30 14:09:29 DEBUG (MainThread) [zigpy.zcl] [0x32ae:1:0x0001] Attribute report received: battery_voltage=29
2019-08-30 14:09:29 INFO (MainThread) [zigpy.application] Device 0xb713 (00:22:a3:00:00:13:44:07) joined the network
2019-08-30 14:09:29 INFO (MainThread) [zigpy.device] [0xb713] Requesting 'Node Descriptor'
2019-08-30 14:09:29 DEBUG (MainThread) [zigpy.zdo] [0xb713:zdo] ZDO request ZDOCmd.Device_annce: [0xb713, 00:22:a3:00:00:13:44:07, 128]
2019-08-30 14:09:30 INFO (MainThread) [zigpy.device] [0xb713] Node Descriptor: <Optional byte1=2 byte2=64 mac_capability_flags=128 manufacturer_code=4411 maximum_buffer_size=82 maximum_incoming_transfer_size=82 server_mask=0 maximum_outgoing_transfer_size=82 descriptor_capability_field=0>
2019-08-30 14:09:30 INFO (MainThread) [zigpy.device] [0xb713] Discovering endpoints
2019-08-30 14:09:31 INFO (MainThread) [zigpy.device] [0xb713] Discovered endpoints: [1]
2019-08-30 14:09:31 INFO (MainThread) [zigpy.endpoint] [0xb713:1] Discovering endpoint information
2019-08-30 14:09:33 INFO (MainThread) [zigpy.endpoint] [0xb713:1] Discovered endpoint information: <SimpleDescriptor endpoint=1 profile=260 device_type=770 device_version=0 input_clusters=[0, 1, 3, 1026, 2818, 64514] output_clusters=[3, 25]>
2019-08-30 14:09:33 DEBUG (MainThread) [zigpy.zcl] [0xfc06:1:0x0402] ZCL request 0x000a: [[<Attribute attrid=0 value=<TypeValue type=int16s, value=2400>>]]
2019-08-30 14:09:33 DEBUG (MainThread) [zigpy.zcl] [0xfc06:1:0x0402] Attribute report received: measured_value=2400
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.endpoint] [0xb713:1] Manufacturer: WAXMAN
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.endpoint] [0xb713:1] Model: leakSMART Water Sensor V2
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.quirks.registry] Checking quirks for WAXMAN leakSMART Water Sensor V2 (00:22:a3:00:00:13:44:07)
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.waxman.leaksmart.WAXMANleakSMARTv2'>
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.quirks.registry] Fail because input cluster mismatch on at least one endpoint
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zigpy.quirks.smartthings.SmartthingsMultiPurposeSensor'>
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.quirks.registry] Fail because device_type mismatch on at least one endpoint
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.gledopto.soposhgu10.SoposhGU10'>
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {11, 13} {1}
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.lutron.lzl4bwhl01remote.LutronLZL4BWHL01Remote2'>
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.quirks.registry] Fail because profile_id mismatch on at least one endpoint
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.netvox.z308e3ed.Z308E3ED'>
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.quirks.registry] Fail because device_type mismatch on at least one endpoint
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.osram.a19twhite.A19TunableWhite'>
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {3} {1}
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.philips.rwl021.PhilipsRWL021'>
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {1, 2} {1}
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.smartthings.tag_v4.SmartThingsTagV4'>
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.quirks.registry] Fail because device_type mismatch on at least one endpoint
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.xbee.xbee3_io.XBee3Sensor'>
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {232, 230} {1}
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.xbee.xbee_io.XbeeSensor'>
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {232, 230} {1}
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.xiaomi.mija.smoke.MijiaHoneywellSmokeDetectorSensor'>
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.quirks.registry] Fail because device_type mismatch on at least one endpoint
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'bellows.zigbee.application.EZSPCoordinator'>
2019-08-30 14:09:34 DEBUG (MainThread) [zigpy.quirks.registry] Fail because device_type mismatch on at least one endpoint
2019-08-30 14:09:34 DEBUG (MainThread) [homeassistant.components.zha.core.gateway] device - 0xb713:00:22:a3:00:00:13:44:07 entering async_device_initialized - is_new_join: True
2019-08-30 14:09:34 DEBUG (MainThread) [homeassistant.components.zha.core.gateway] device - 0xb713:00:22:a3:00:00:13:44:07 has joined the ZHA zigbee network
2019-08-30 14:09:34 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xb713](leakSMART Water Sensor V2): started configuration
2019-08-30 14:09:34 DEBUG (MainThread) [homeassistant.components.zha.core.channels] [0xb713:ZDO](leakSMART Water Sensor V2): channel: 'async_configure' stage succeeded
2019-08-30 14:09:35 DEBUG (MainThread) [homeassistant.components.zha.core.channels] [0xb713:1:0xfc02]: bound 'manufacturer_specific' cluster: Status.SUCCESS
2019-08-30 14:09:35 ERROR (MainThread) [zigpy.zcl] [0xb713:1:0xfc02] acceleration is not a valid attribute id
2019-08-30 14:09:35 WARNING (MainThread) [homeassistant.components.zha.core.channels] [0xb713:1:0xfc02]: channel: 'async_configure' stage failed ex: object NoneType can't be used in 'await' expression
2019-08-30 14:09:35 DEBUG (MainThread) [homeassistant.components.zha.core.channels] [0xb713:1:0x0402]: bound 'temperature' cluster: Status.SUCCESS
2019-08-30 14:09:35 DEBUG (MainThread) [homeassistant.components.zha.core.channels] [0xb713:1:0x0001]: bound 'power' cluster: Status.SUCCESS
2019-08-30 14:09:36 DEBUG (MainThread) [homeassistant.components.zha.core.channels] [0xb713:1:0x0000]: bound 'basic' cluster: Status.SUCCESS
2019-08-30 14:09:36 DEBUG (MainThread) [homeassistant.components.zha.core.channels] [0xb713:1:0x0000]: finished channel configuration
2019-08-30 14:09:36 DEBUG (MainThread) [homeassistant.components.zha.core.channels] [0xb713:1:0x0402]: reporting 'measured_value' attr on 'temperature' cluster: 30/900/50: Result: '[[<ConfigureReportingResponseRecord status=Status.SUCCESS>]]'
2019-08-30 14:09:36 DEBUG (MainThread) [homeassistant.components.zha.core.channels] [0xb713:1:0x0001]: reporting 'battery_voltage' attr on 'power' cluster: 3600/10800/1: Result: '[[<ConfigureReportingResponseRecord status=Status.SUCCESS>]]'
2019-08-30 14:09:36 DEBUG (MainThread) [homeassistant.components.zha.core.channels] [0xb713:1:0x0402]: finished channel configuration
2019-08-30 14:09:36 DEBUG (MainThread) [homeassistant.components.zha.core.channels] [0xb713:1:0x0402]: channel: 'async_configure' stage succeeded
2019-08-30 14:09:37 DEBUG (MainThread) [homeassistant.components.zha.core.channels] [0xb713:1:0x0000]: initializing channel: from_cache: False
2019-08-30 14:09:37 DEBUG (MainThread) [homeassistant.components.zha.core.channels] [0xb713:1:0x0000]: channel: 'async_configure' stage succeeded
2019-08-30 14:09:37 DEBUG (MainThread) [homeassistant.components.zha.core.channels] [0xb713:1:0x0001]: reporting 'battery_percentage_remaining' attr on 'power' cluster: 3600/10800/1: Result: '[[<ConfigureReportingResponseRecord status=Status.SUCCESS>]]'
2019-08-30 14:09:37 DEBUG (MainThread) [homeassistant.components.zha.core.channels] [0xb713:1:0x0001]: finished channel configuration
2019-08-30 14:09:37 DEBUG (MainThread) [homeassistant.components.zha.core.channels] [0xb713:1:0x0001]: channel: 'async_configure' stage succeeded
2019-08-30 14:09:37 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xb713](leakSMART Water Sensor V2): completed configuration
2019-08-30 14:09:37 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xb713](leakSMART Water Sensor V2): stored in registry: ZhaDeviceEntry(name='unk_manufacturer unk_model', ieee='00:22:a3:00:00:13:44:07', last_seen=1567188577.042949)
2019-08-30 14:09:37 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xb713](leakSMART Water Sensor V2): started initialization
2019-08-30 14:09:37 DEBUG (MainThread) [homeassistant.components.zha.core.channels] [0xb713:ZDO](leakSMART Water Sensor V2): entry loaded from storage: ZhaDeviceEntry(name='unk_manufacturer unk_model', ieee='00:22:a3:00:00:13:44:07', last_seen=1567188577.042949)
2019-08-30 14:09:37 DEBUG (MainThread) [homeassistant.components.zha.core.channels] [0xb713:ZDO](leakSMART Water Sensor V2): channel: 'async_initialize' stage succeeded
2019-08-30 14:09:37 DEBUG (MainThread) [homeassistant.components.zha.core.channels] [0xb713:1:0xfc02]: initializing channel: from_cache: False
2019-08-30 14:09:37 DEBUG (MainThread) [homeassistant.components.zha.core.channels] [0xb713:1:0xfc02]: channel: 'async_initialize' stage succeeded
2019-08-30 14:09:38 DEBUG (MainThread) [homeassistant.components.zha.core.channels] [0xb713:1:0x0000]: initializing channel: from_cache: False
2019-08-30 14:09:38 DEBUG (MainThread) [homeassistant.components.zha.core.channels] [0xb713:1:0x0000]: channel: 'async_initialize' stage succeeded
2019-08-30 14:09:38 DEBUG (MainThread) [homeassistant.components.zha.core.channels] [0xb713:1:0x0402]: initializing channel: from_cache: False
2019-08-30 14:09:38 DEBUG (MainThread) [homeassistant.components.zha.core.channels] [0xb713:1:0x0402]: channel: 'async_initialize' stage succeeded
2019-08-30 14:09:41 DEBUG (MainThread) [homeassistant.components.zha.core.channels] [0xb713:1:0x0001]: initializing channel: from_cache: False
2019-08-30 14:09:41 DEBUG (MainThread) [homeassistant.components.zha.core.channels] [0xb713:1:0x0001]: channel: 'async_initialize' stage succeeded
2019-08-30 14:09:41 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xb713](leakSMART Water Sensor V2): power source: Battery or Unknown
2019-08-30 14:09:41 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xb713](leakSMART Water Sensor V2): completed initialization

Looks like your device is slightly different than mine.
Yours:
<SimpleDescriptor endpoint=1 profile=260 device_type=770 device_version=0 input_clusters=[0, 1, 3, 1026, 2818, 64514] output_clusters=[3, 25]>
Mine:
<SimpleDescriptor endpoint=1 profile=260 device_type=770 device_version=0 input_clusters=[0, 1, 3, 32, 1026, 2818, 64514] output_clusters=[3, 25]>
Mine has the "PollControl cluster, and yours does not.  I have updated my firmware to the latest, so you probably have an older version.
I'd guess that with a slight modification this quirk would work for your device as well.

I removed PollControl.cluster_id from the quirk and now it works! Is there a way to make that cluster optional when checking the quirk for compatibility?
        'models_info': [
            ('WAXMAN', 'leakSMART Water Sensor V2'),
        ],
        'endpoints': {
            1: {
                'profile_id': zha.PROFILE_ID,
                'device_type': zha.DeviceType.TEMPERATURE_SENSOR,
                'input_clusters': [
                    Basic.cluster_id,
                    PowerConfiguration.cluster_id,
                    Identify.cluster_id,
                    #PollControl.cluster_id,
                    TemperatureMeasurement.cluster_id,
                    ApplianceEventAlerts.cluster_id,
                    MANUFACTURER_SPECIFIC_CLUSTER_ID
                ],
                'output_clusters': [
                    Identify.cluster_id,
                    Ota.cluster_id
                ],
            },
        }
    }

    replacement = {
        'endpoints': {
            1: {
                'profile_id': zha.PROFILE_ID,
                'device_type': zha.DeviceType.TEMPERATURE_SENSOR,
                'input_clusters': [
                    Basic.cluster_id,
                    PowerConfiguration.cluster_id,
                    Identify.cluster_id,
                    #PollControl.cluster_id,
                    TemperatureMeasurement.cluster_id,
                    WAXMANApplianceEventAlerts,
                    EmulatedIasZone
                ],
                'output_clusters': [
                    Identify.cluster_id,
                    Ota.cluster_id
                ],
            },
        }
    }

Great!  I asked this question before and I think the best way to handle this is to create another class, but with the PollControl cluster removed.  Something like class WAXMANleakSMARTv2_2(CustomDevice): perhaps?  Just add the new class into that same file.  Be sure to update the comment with the "32, " removed.  And then a pull request would be certainly welcomed.  :smiley:

Thanks for your contribution @brg468!  Here is a link to your pull request for posterity. https://github.com/dmulcahey/zha-device-handlers/pull/143


Share on iOS closes inAppBrowser

Hello,
I addressed this issue in #396 but it never really got resolved. Use case: I want to share an article with Facebook for example, it opens the share window and if I cancel, I notice that the InAppBrowser has been closed.

is there any fix for this issue?


Win 10 - the layout of VSCode panel is out of order after Windows was upgraded to version 1703

the same bug with #25968

VSCode Version: Code 1.12.2 (19222cdc84ce72202478ba1cec5cb557b71163de, 2017-05-10T13:20:36.315Z)
OS Version: Windows_NT ia32 10.0.15063
Extensions:

Extension
Author
Version

githistory
donjayamanne
0.2.0

python
donjayamanne
0.6.4

cpptools
ms-vscode
0.11.1

csharp
ms-vscode
1.9.0

RustyCode
saviorisdead
0.19.1

Steps to Reproduce:

Can you share a screenshot?

Duplicate https://github.com/Microsoft/vscode/issues/19665


Annotated tzinfo example

Change Summary
Add an example and a unit test for custom timezone validation.
Related issue number
#8088
Checklist

[X] The pull request title is a good summary of the changes - it will be used in the changelog
[X] Unit tests for the changes exist
[ ] Tests pass on CI
[X] Documentation reflects the changes where applicable
[X] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Tests pass with the following exception:


Deploy with Redis on another server

When I deploy the dashboard passing in an environment variable the remote address of Redis, it lifts the authentication, but then it continues making calls to a local Redis

graphportal-dasboard-dev.azurewebsites.net-1615668376001.log

Hi @Erislandys ,
I don't think it is related to Redis actually. This error is due to the front-end trying to connect to the backend. By default, front-end will try to connect to the backend on "localhost:3030". This can be changed by setting two environment variables:

REACT_APP_DASHBOARD_URL
REACT_APP_DASHBOARD_WS_URL

For example, REACT_APP_DASHBOARD_URL="http://localhost:8080" yarn frontend.
Could you tell more about how exactly do you launch backend and frontend? I'll be able to give a more precise advise depending on that.

Thanks @valcker
I am trying to deploy to Azure with Docker, the backend in theory works fine, the frontend loads until login
Compose:
version: '3.7'
services:
graphql-dashboard:
image: gateway_dashboard
container_name: graphql_gateway_dashboard
build:
context: .
restart: always
ports:
- "3030:3030"
#volumes:
#- .\conf\basic.gateway.yaml:/opt/graphql-portal/config/gateway.yaml
environment:
- REDIS_CONNECTION_STRING=redis://localhost:6379
- MONGODB_CONNECTION_STRING=mongodb://mongoadmin:admin123@<IP_ADDRESS>:27017/
- DASHBOARD_SECRET=secret
- DASHBOARD_PORT=3030
- NODE_ENV=production
-<EMAIL_ADDRESS>- DEFAULT_ADMIN_PASSWORD=pass
networks:
- gateway_network
networks:
gateway_network:
name: gateway_network

Hi @valker, I' m trying to deploy locally using docker image, and frontend is making a request to http://localhost:3030/graphql and of course fail, 'cause this react app run in browser and the backend app is not running in the host machine, even when I passing the two two environment variables (REACT_APP_DASHBOARD_URL, REACT_APP_DASHBOARD_WS_URL).

Thanks @valcker
I am trying to deploy to Azure with Docker, the backend in theory works fine, the frontend loads until login

Hey @Erislandys. That's the issue with this version of the Docker Compose. We are serving the front-end via our backend. It works locally for testing purposes, but we normally deploy the frontend separately when deploying to the cloud.
I will create another Docker Compose file that will serve the frontend via Nginx. How urgent is that for you?

Hi @valcker, I' m trying to deploy locally using docker image, and frontend is making a request to http://localhost:3030/graphql and of course fail, 'cause this react app run in browser and the backend app is not running in the host machine, even when I passing the two two environment variables (REACT_APP_DASHBOARD_URL, REACT_APP_DASHBOARD_WS_URL).

Hi @rmolinet. Are you trying to deploy using the Dockerfile shipped with the dashboard, or you are trying to launch a docker compose file?

@rmolinet in case if you are using a Dockerfile and not docker compose, there is an issue with it and I just pushed a fix here #373 . Once merged, it will build and upload the latest docker image to docker hub.
We are behind the schedule with documentation, so I'll just write the launch instructions here (and I hope I'll be able to update the docs this week!).

Dockerfile is launched with NODE_ENV=production and we now require quite a lot of config options. The easiest would be to create a .env file with the following contents:

NODE_ENV=production
DASHBOARD_SECRET=
HOST=localhost
PUBLIC_HOST=https://localhost:3030
DASHBOARD_PORT=3030
GRAPHQL_PLAYGROUND=true
SERVE_STATIC=true
JWT_SECRET=secret
<EMAIL_ADDRESS>DEFAULT_ADMIN_PASSWORD=Secret123!
REDIS_CONNECTION_STRING=redis://docker-redis:6379
MONGODB_CONNECTION_STRING=mongodb://docker-mongo:27017/graphql-portal-dashboard

You'll have to modify REDIS_CONNECTION_STRING and MONGODB_CONNECTION_STRING depending on your local conditions.

Pull the latest image (or build one from Dockerfile) and launch the dashboard with this command:

docker run --name graphql-dashboard --env-file={path to env file} --link docker-redis:redis --link docker-mongo:mongo -p 3030:3030 gqlportal/dashboard:latest

Don't forget to replace {path to env file}, docker-redis:redis and docker-mongo:mongo with the values relevant to your environment.
And ping me here if you'll still have any issues!

@valcker    thank you very much for your response, I'll be attentive to your response with docker-compose. I'm very interested in running this gateway

Hi there @valcker thanks for responding, maybe I was not more explicit, I'm trying to deploy the dashboard using the latest docker image in docker hub, for this I'm using compose, but everythings seems work fine except when I try to login the react frontend app do not make the request to the right location of nestjs backend application, running both in the container, here is my environment config in compose file:
environment:
- REDIS_CONNECTION_STRING=redis://external-redis-host:6379
- MONGODB_CONNECTION_STRING=mongodb://mongoadmin:admin123@database.host.com:27017/gateway_dashboard?authSource=admin
- DASHBOARD_SECRET=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.f32qZjvPATeT35ZxXbJYkN6jDL81qVilx69-GvI10
- DASHBOARD_PORT=3030
- PUBLIC_HOST=http://webserver.gateway.com:3030
- HOST=webserver.gateway.com
- SERVE_STATIC=true
- NODE_ENV=production
-<EMAIL_ADDRESS>- DEFAULT_ADMIN_PASSWORD=AdminPassword

Hi there @valcker thanks for responding, maybe I was not more explicit, I'm trying to deploy the dashboard using the latest docker image in docker hub; for this I'm using compose, but everythings seems work fine except when I try to login the react frontend app do not make the request to the right location of nestjs backend application, running both in the container, here is my environment config in compose file:
environment:

REDIS_CONNECTION_STRING=redis://external-redis-host:6379
MONGODB_CONNECTION_STRING=mongodb://mongoadmin:admin123@database.host.com:27017/gateway_dashboard?authSource=admin
DASHBOARD_SECRET=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.f32qZjvPATeT35ZxXbJYkN6jDL81qVilx69-GvI10
DASHBOARD_PORT=3030
PUBLIC_HOST=http://webserver.gateway.com:3030
HOST=webserver.gateway.com
SERVE_STATIC=true
NODE_ENV=production
<EMAIL_ADDRESS>DEFAULT_ADMIN_PASSWORD=AdminPassword

Hi @rmolinet . I recently updated the Dockerfile of a Dashboard, it should become easier to launch it now. It now exposes port 3030 for backend and port 8080 for front-end, which run separately.
 It's more secure to use it of course;
you can omit DASHBOARD_PORT, as it's 3030 by default;
HOST – is a hostname on which dashboard's backend will listen to the incoming connections, it can stay "localhost" if it's a docker container;
SERVE_STATIC – set to false (value by default), as we are no longer serving via NestJS on production;
REACT_APP_DASHBOARD_URL – this should be the public address of your container (i.e. webserver.gateway.com).

You should also set servername option in the gateway config to your public DNS of the gateway itself (for example, to "gw.gateway.com:8080"). It will enable the playground in the dashboard.
It should do the job.
P.S: By writing this I understand that we need to simplify the launch process :) Any advice on this are welcome.

Thanks @valcker
I am trying to deploy to Azure with Docker, the backend in theory works fine, the frontend loads until login
Compose:
version: '3.7'
services:
graphql-dashboard:
image: gateway_dashboard
container_name: graphql_gateway_dashboard
build:
context: .
restart: always
ports:

"3030:3030"
#volumes:
#- .\conf\basic.gateway.yaml:/opt/graphql-portal/config/gateway.yaml
environment:
REDIS_CONNECTION_STRING=redis://localhost:6379
MONGODB_CONNECTION_STRING=mongodb://mongoadmin:admin123@<IP_ADDRESS>:27017/
DASHBOARD_SECRET=secret
DASHBOARD_PORT=3030
NODE_ENV=production
<EMAIL_ADDRESS>DEFAULT_ADMIN_PASSWORD=pass
networks:
gateway_network

networks:
gateway_network:
name: gateway_network

Hi @Erislandys . Please try to update your docker compose file by adding the following variables:
gql-portal-dashboard:
    image: gqlportal/dashboard
    depends_on:
      - gql-portal-redis
      - gql-portal-mongo
    ports:
      - 3030:3030
      - 8080:8080
    networks:
      - graphql-portal
    environment:
     <existing variables>
     - HOST=<if needed, the host on which dashboard will listen for connections; can stay localhost>
     - PUBLIC_HOST=<a public host of your dashboard, i.e. http://portal.example.com:8080>
     - REACT_APP_DASHBOARD_URL=<public URL of your backend, i.e. "http://portal.example.com:3030">

Dockerfile now exposes two ports: 3030 for backend and 8080 for frontend. You need to tell REACT app how to find our backend by setting REACT_APP_DASHBOARD_URL to the public URL of the backend.

@valker  Thank you very much, I do the tests and comment

@valker Thank you very much, I do the tests and comment

please, don't mention me. your collaborator is @valcker

Hi @valcker, sorry for the inconvenience, but I still have the same issue, probably due to ignorance, here is my last environment configuration in compose, I download the latest dashboard docker image, and still the front make the login request to localhost:3030, if you prefer I can upload an screenshot.
ports:
- "3030:3030"
- "8080:8080"
environment:
- REDIS_CONNECTION_STRING=redis://database.netcons.com.cu:6379
- MONGODB_CONNECTION_STRING=mongodb://mongoadmin:admin123@database.server.com.cu:27017/gateway_dashboard?authSource=admin
- PUBLIC_HOST=http://webserver.com:8080
- HOST=webserver.com
- REACT_APP_DASHBOARD_URL=http://webserver.com:3030
- NODE_ENV=production
-<EMAIL_ADDRESS>- DEFAULT_ADMIN_PASSWORD=P@ssw0rd

@rmolinet please don't be sorry, we are here to help! Would you be able to join me in slack, or discord, or telegram (or any other messenger for that matter) so that we could debug it quickly together? Which chat do you prefer more?

Hi @valcker I prefer Discord, rrmolinet#7486 is my username. Regards

Hi @valcker I prefer Discord, rrmolinet#7486 is my username. Regards

Perfect. Sent you a request there.

@valcker I'm having a similar issue, Dashboard is using localhost even passing REACT_APP_DASHBOARD_URL
I think 🤔 dockerfile is overriding the ENV

But I get the right env when I do echo so that's not the case. Not sure 🤷🏻♂

Hey @dipakparmar ,
Sorry for the long response on my side, was off last week. Can you help me reproduce it on my side? Could you list the steps to get the same problem?
Thanks,
Arthur.


Dewhitelisting modules

Partially Closes: #123  (Relayer and Solidity code still TODO)
This PR modifies the cosmos modules/sdk-related code to remove support for whitelisted tokens.

Token contract address is no longer part of the burn/lock APIs.
Tokens minted when coming from Ethereum through lockups on Ethereum are minted with the 'peggy' prefix
Tokens being burned, to be sent back to Ethereum, need to have the 'peggy' prefix. Normal cosmos tokens can no longer be burned
CLI/APIs now use separate fields for amount and symbol, rather than a single field

For contributor use:

[x] Targeted PR against correct branch (see CONTRIBUTING.md)
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[x] Code follows the module structure standards.
[x] Wrote unit and integration tests
[x] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[x] Added  relevant godoc comments.
[x] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[x] Re-reviewed Files changed in the Github PR explorer

For admin use:

[ ] Added appropriate labels to PR (ex. WIP, R4R, docs, etc)
[ ] Reviewers assigned
[ ] Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

is this R4R? I see some tests failing

@okwme yes is. tests that are failing are part of the relayer/contract stuff that will be fixed in a different PR.

CLI/APIs now use separate fields for amount and symbol, rather than a single field
What was the thinking behind this change? doesn't the Coin type allow for this already?

CLI/APIs now use separate fields for amount and symbol, rather than a single field

What was the thinking behind this change? doesn't the Coin type allow for this already?

Initial thinking was to improve the cli/apis/interface so that it's not "12peg::address::tokenname" and can just be 12 tokenname

the code updates look good and the tests all pass. Not sure if we should merge into master until other tests pass though

@okwme cool yeh - tests all pass in https://github.com/cosmos/peggy/pull/185 which include these changes.

@musnit aha, then I'm confused about the order of operations here. Shouldn't this and the other PR be going into the branch on #185? And then 185 should go into master?

@okwme yep that's correct. we can deprecate this PR if we merge #185

that sounds good i'll start reviewing it now, think there's also a PR for the contract tests waiting for @denalimarsh


Google map not displaying after updating flutter version

Steps to Reproduce
until now its working fine in android, but for iOS support i upgrade Flutter version and now it's not showing Google Maps on both platform.
What actually happening is:
Google Maps now overlapping whole screen, even my appbar is missing now, but bottombar is still there. I think now it's displaying blank webview top on whole view.
code:
@override
  Widget build(BuildContext context) {
    return Scaffold(
      resizeToAvoidBottomPadding: false,
      key: globalKey,
      appBar: AppBar(
        backgroundColor: backgroundColor,
        centerTitle: false,
        title: appBarTitle,
        actions: showActions()
      ),
      drawer: new Drawer(
            elevation: 10.0,
            child: new DrawerComponent()
      ),
      body: Container(
        child: mapWidget()
      ),
    );
  }

Widget mapWidget() {
    return FractionallySizedBox(
      child: GoogleMap(
                onMapCreated: _onMapCreated,
                options: _googleMapOptions,
              ),
    );
  }

Logs
No logs when map screen opening.
-->

flutter doctor -v
[✓] Flutter (Channel beta, v0.11.9, on Mac OS X 10.13.6 17G65, locale en-IN)
    • Flutter version 0.11.9 at /MyDrive/flutter
    • Framework revision d48e6e433c (6 days ago), 2018-11-20 22:05:23 -0500
    • Engine revision 5c8147450d
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/micra/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[!] iOS toolchain - develop for iOS devices (Xcode 10.0)
    • Xcode at /Applications/Xcode_10.app/Contents/Developer
    • Xcode 10.0, Build version 10A254a
    • ios-deploy 2.0.0
    • CocoaPods version 1.6.0.beta.2

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] VS Code (version 1.29.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.20.0

[✓] Connected device (1 available)
    • motorola one power • ZF6223RHJL • android-arm64 • Android 8.1.0 (API 27)

@zoechi can you tell me how to revert back to previous version?

You can use ref: ... to use a specific commit or tag https://www.dartlang.org/tools/pub/dependencies#git-packages

The error on the second screenshot looks like it is using a Flutter version older than https://github.com/flutter/flutter/commit/707eaf5edf4342c62ae647b7e0cac8fc1b3bac50
Please try to use the latest Flutter version, and the latest google_maps_flutter version.

I copied the screenshot from #23199 because the link to the issue wasn't too clear.
@ZeroCool00 please clarify or update the issue with a recent screenshot.

old screen issue is already been solved, there is no need to write second screen.. updated. i didnt put iphone screenshot, bcz its a same as android.

Which google_maps_flutter version are you using? can you share the pubspec.yaml for your app?

here my whole pubspace:
name: Cragger
description: A new Flutter project.

version: 1.0.0+1

environment:
  sdk: ">=2.0.0-dev.68.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  google_maps_flutter:
   git:
     url: git://github.com/flutter/plugins
     path: packages/google_maps_flutter

  cupertino_icons: ^0.1.2
  rxdart: ^0.19.0
  http: ^0.12.0
  fluttertoast: ^2.1.1
  shared_preferences: ^0.4.3
  flutter_svg: ^0.6.1+1
  intl: ^0.15.7
  flutter_staggered_grid_view: "^0.2.3"
  carousel_pro: ^0.0.13
  charts_flutter: ^0.4.0
  flutter_facebook_login: ^1.1.1
  flutter_charts: ^0.1.10
 # flutter_twitter_login: ^1.1.0

dev_dependencies:
  flutter_test:
    sdk: flutter

# For information on the generic Dart part of this file, see the
# following page: https://www.dartlang.org/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true
  assets:
    - assets/images/home-icon.png
  fonts:
    - family: SF UI Display
      fonts:
        - asset: assets/fonts/SF-UI-Display-Medium.ttf

@zoechi @amirh  let me know if anything i can help.

I just tried a mostly equivalent app to the snippet you posted above (which AFAIU isn't what you used for the screenshot). It works for me.
Here's a full standalone app, do you not see the map when running it (make sure to setup API key)?
import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Maps Demo',
      home: Scaffold(
        resizeToAvoidBottomPadding: false,
        appBar: AppBar(
          centerTitle: false,
        ),
        drawer: new Drawer(
            elevation: 10.0,
            child: new Container(color: Colors.orange)
        ),
        body: GoogleMap(
          onMapCreated: (c) {},
        ),
      ),
    );
  }
}

Also - it's hard to tell what maps version you are running from your pubspec as you're using a git url and it depends on when did you last synced. I'd suggest you use the package that is posted to pub.

i create new project and implement map again, generate new map api key,  still same error..
now i m using this in pubspec.yaml
google_maps_flutter: ^0.0.3+3

everything is up to date:
Flutter (Channel beta, v0.11.13, on Mac OS X 10.13.6 17G65, locale en-IN)
    • Flutter version 0.11.13 at /MyDrive/flutter
    • Framework revision 58c8489fcd (3 days ago), 2018-11-29 19:20:18 -0500
    • Engine revision 7375a0f414
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

@Zerocool00 - what was the solution?

Hi ho!
My flutter version is v1.0.0, and it's does not work with pubspec.yaml google_maps_flutter: ^0.0.3+3
any solution?  :)

@seirifat StackOverflow is typically a good place for support questions.
If you believe you've hit a Flutter or a plugin bug please file a Github issue with all the relevant details.
Note that any bugfix that is likely to land will be on Flutter master and/or on-top of the latest plugin version, so make sure you're on the latest plugin and Flutter versions before filing an issue.

Okay thank you @amirh , i just keep the problem in the line of thread :)

I had same problem, for me it was MapType which was set to "none" instead of whatever suits you : hybrid, satellite ... yeah that simple...
GoogleMap(
mapType: MapType.hybrid,
PS : Also, don't forget API key, permission handler (for current location)

google map is not display on api<20 please help me what shall i do ? it runs fine on >20


Update TextField font family

Enables the theme font Inter to be applied to TextField.
Before & after in Windows:

#6288 seems to be a better way to go.


Remove globals

This moves all of the command related functionality into cmd/captain and makes package captain a more re-usable library.
Primarily, these changes were made:

package harbur/captain/captain was moved to package harbur/captain.
cmd.go was moved to cmd/captain/cmd.go
The Options type was moved to cmd/captain and the global options variable was removed.

I'm planning on adding an http.Handler implementation that consumes the captain package to handle GitHub push webhooks, so you can use captain as your build system both locally, and on git pushes to github without needing to setup something like jenkins. I think it could be pretty nice.
I'll submit that change upstream when it's ready and if you want it, but I figure you might also want this change.

And of course, the server implementation will be in pacakge captain/hook :)


Disk device with a custom volume source should refuse to accept shift option

Current the setting is ignored because custom volumes can be used by multiple instances and we don't want some to use shift and some not. But this is confusing.

Check should be that if a disk entry has pool set, then shift should not be allowed to be set.

rrent the setting is ignored because custom volumes can be use

I think I'm probably missing something but it looks like this check is already performed? https://github.com/lxc/lxd/blob/master/lxd/device/disk.go#L254

Indeed. @brauner when you said in IRC "that shift=true currently doesn't work with custom storage volumes" do you have a reproducer of how you managed to specify it? Thanks

Indeed looks like it's already handled. I suspect we ought to tweak that error a tiny bit and suggest security.shifted=true on the volume?


feat: add meta tags, favicon and optimized positioning

Codecov Report

Merging #38 (b138eb4) into main (c6b2716) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #38   +/-   ##
=======================================
  Coverage   71.81%   71.81%
=======================================
  Files          18       18
  Lines         298      298
  Branches       21       21
=======================================
  Hits          214      214
  Misses         84       84

Impacted Files
Coverage Δ

src/theme/globalStyle.ts
0.00% <ø> (ø)

src/components/Containers.tsx
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Looks good, thanks :)