🐛 [Gazpar2mqtt] Error with mqtt broker password

Hi
I'm trying to test your add-on
when starting the add-on, the log shows :
/etc/cont-init.d/99-run.sh: executing
/./etc/cont-init.d/99-run.sh: line 2: xxxxxxxxxxx: unbound variable
/etc/cont-init.d/99-run.sh: exiting 1
xxxxxxx being the end off my mqtt broker password
just before this part there is a "$" character
I could try to change the password, but i would require to change it everywhere else ...
thx a lot for your help

Hi, I've pushed a new version could you please test it ? Thanks

Hello, Yes it work !! thx a lot.

Hello, I have the same problem with the GRDF_PASSWORD variable :
When starting the add-on, the log shows :
/etc/cont-init.d/99-run.sh: executing
/./etc/cont-init.d/99-run.sh: line 4: xxxx: unbound variable
/etc/cont-init.d/99-run.sh: exiting 1

xxxx being a part of my password
just before this part there is a "$" character and after this part is a "!" character.
The problem is not only the '$' character
I could still change my password but the site requires special characters
Thank you for your help


ENH: Make invalid data behavior optional

It is sometimes necessary to test invalid test data, for example in the case that there is missing pricing data. Instead of warning by default, make invalid data behavior configurable by the test if needed.

Changes Unknown when pulling 6929427cf58817978ca3b536c4f39c725909d213 on invalid-test-data into ** on master**.

LGTM


Fixed currency converter issue (solves #31)

Fixes Issue🛠
Closes #31
Description👨💻

I have added a small "if" statement that checks if the user input is valid or not, if it is not valid, the code shows an error to the user
Type of change📄

[] New feature (non-breaking change which adds functionality)

How this has been tested✅

I have ran multiple tests including alphabets, decimals, symbols and the code passes every test case
Checklist✅

[] My code follows the style guidelines of this project
[] I have performed a self-review of my own code
[] I have commented my code, particularly in hard-to-understand areas
[] I have added demonstration in the form of GIF/video file
[] I am an Open Source Contributor

Pls resolve the merge conflicts @SaranshBangar

Ok sir

Pls resolve the merge conflicts @SaranshBangar

I am unable to see any merge conflicts sir

You dont have the fork of the updated repo. Pull the latest changes done to the repo and then make your changes to avoid merge conflicts @SaranshBangar

Understood sir, I am closing this PR and adding a new updated PR


simple_form deprecation notices

Launching my server, I get the following output:
17:36:34 DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :hint, :wrap_with => {:tag=>:span, :class=>:hint} instead. (called from use at /Users/harris/.rvm/gems/ruby-1.9.3-p0-perf@SGA/bundler/gems/simple_form-48ea550009cc/lib/simple_form/wrappers/builder.rb:56)
17:36:34 DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :error, :wrap_with => {:tag=>:span, :class=>:error} instead. (called from use at /Users/harris/.rvm/gems/ruby-1.9.3-p0-perf@SGA/bundler/gems/simple_form-48ea550009cc/lib/simple_form/wrappers/builder.rb:56)
17:36:34 DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :label, :wrap_with => {:class=>"control-label"} instead. (called from use at /Users/harris/.rvm/gems/ruby-1.9.3-p0-perf@SGA/bundler/gems/simple_form-48ea550009cc/lib/simple_form/wrappers/builder.rb:56)
17:36:34 DEPRECATION WARNING: Passing a block to use is deprecated. Please use wrapper instead of use. (called from use at /Users/harris/.rvm/gems/ruby-1.9.3-p0-perf@SGA/bundler/gems/simple_form-48ea550009cc/lib/simple_form/wrappers/builder.rb:50)
17:36:34 DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :error, :wrap_with => {:tag=>"span", :class=>"help-inline"} instead. (called from use at /Users/harris/.rvm/gems/ruby-1.9.3-p0-perf@SGA/bundler/gems/simple_form-48ea550009cc/lib/simple_form/wrappers/builder.rb:56)
17:36:34 DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :hint, :wrap_with => {:tag=>"p", :class=>"help-block"} instead. (called from use at /Users/harris/.rvm/gems/ruby-1.9.3-p0-perf@SGA/bundler/gems/simple_form-48ea550009cc/lib/simple_form/wrappers/builder.rb:56)
17:36:34 DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :label, :wrap_with => {:class=>"control-label"} instead. (called from use at /Users/harris/.rvm/gems/ruby-1.9.3-p0-perf@SGA/bundler/gems/simple_form-48ea550009cc/lib/simple_form/wrappers/builder.rb:56)
17:36:34 DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :hint, :wrap_with => {:tag=>"span", :class=>"help-block"} instead. (called from use at /Users/harris/.rvm/gems/ruby-1.9.3-p0-perf@SGA/bundler/gems/simple_form-48ea550009cc/lib/simple_form/wrappers/builder.rb:56)
17:36:34 DEPRECATION WARNING: Passing a block to use is deprecated. Please use wrapper instead of use. (called from use at /Users/harris/.rvm/gems/ruby-1.9.3-p0-perf@SGA/bundler/gems/simple_form-48ea550009cc/lib/simple_form/wrappers/builder.rb:50)
17:36:34 DEPRECATION WARNING: Passing a block to use is deprecated. Please use wrapper instead of use. (called from use at /Users/harris/.rvm/gems/ruby-1.9.3-p0-perf@SGA/bundler/gems/simple_form-48ea550009cc/lib/simple_form/wrappers/builder.rb:50)
17:36:34 DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :error, :wrap_with => {:tag=>"span", :class=>"help-inline"} instead. (called from use at /Users/harris/.rvm/gems/ruby-1.9.3-p0-perf@SGA/bundler/gems/simple_form-48ea550009cc/lib/simple_form/wrappers/builder.rb:56)
17:36:34 DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :label, :wrap_with => {:class=>"control-label"} instead. (called from use at /Users/harris/.rvm/gems/ruby-1.9.3-p0-perf@SGA/bundler/gems/simple_form-48ea550009cc/lib/simple_form/wrappers/builder.rb:56)
17:36:34 DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :hint, :wrap_with => {:tag=>"span", :class=>"help-block"} instead. (called from use at /Users/harris/.rvm/gems/ruby-1.9.3-p0-perf@SGA/bundler/gems/simple_form-48ea550009cc/lib/simple_form/wrappers/builder.rb:56)
17:36:34 DEPRECATION WARNING: Passing a block to use is deprecated. Please use wrapper instead of use. (called from use at /Users/harris/.rvm/gems/ruby-1.9.3-p0-perf@SGA/bundler/gems/simple_form-48ea550009cc/lib/simple_form/wrappers/builder.rb:50)
17:36:34 DEPRECATION WARNING: Passing a block to use is deprecated. Please use wrapper instead of use. (called from use at /Users/harris/.rvm/gems/ruby-1.9.3-p0-perf@SGA/bundler/gems/simple_form-48ea550009cc/lib/simple_form/wrappers/builder.rb:50)
17:36:34 DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :error, :wrap_with => {:tag=>"span", :class=>"help-inline"} instead. (called from use at /Users/harris/.rvm/gems/ruby-1.9.3-p0-perf@SGA/bundler/gems/simple_form-48ea550009cc/lib/simple_form/wrappers/builder.rb:56)

I got the same message.


If there is only one result it's hidden by the filters

See screenshot

This issue was moved to zazuko/zack-search#11


Is this different to https://github.com/jfairbank/combos#combos?

Hi, thanks for this and your article https://typeofnan.dev/generate-all-possible-combinations-in-javascript-using-combinate/ !
This package is perfect for my problem. However, I also found another older package that seems to do the same thing: https://github.com/jfairbank/combos#combos.
So I was wondering if there's a difference between these 2 packages that I haven't noticed?
Thanks again :)

It looks like it's not! I had not seen combos before. I'm actively combinate though, whereas combos seems to have been dormant for four years.


Error handling for Looker3D

Fixes crashing due to either missing files or misconfiguration. Instead displays error message.

Maybe we can use the @fiftyone/componentserror boundary component here?
Another thing that came up here is that the activator may use improper settings, which is not contained by this error boundary. In that case, errors would be caught by the global error boundary. That's ok with me, just noting it.

Maybe we can use the @fiftyone/componentserror boundary component here?

I tried this initially and it wouldn't handle all errors. I do want to de-duplicate the two.


fix: exclude _ from Java key enum rendering

Description

Modified java/EnumRenderer.ts
Added java/renderer/EnumRenderer.spec.ts

Related issue(s)

Fixes #687

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.989%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2632

Relevant Lines:
2703

💛  - Coveralls


Hide "complete mission" button until answer is provided

On my first use of app I repeatedly clicked more visible "Complete mission" rather than "Choose your answer"

Yes, that's an UX issue.


Integrate fifa-autobuyer project

Discussion splitted from https://github.com/hunterjm/fut-api/pull/1.
Purpose of this issue is to discuss progress on integrating https://github.com/hunterjm/fifa-autobuyer by @hunterjm  into the web app.
This would require loading the React code in the Autobuyer tab and replacing all API calls with the Web App calls. Storage calls would also need to be replaced with GM_setValue and GM_getValue calls.

Not sure if this is something we need/want in this project.


fix: copy all listeners when using block2 multicast

This PR fixes a small bug that was included in #237 by "copying" not only the listeners for response events but for all events registered to a multicast request when converting it to a unicast request. Copying only reponse listeners could lead, for example, to unhandled error events causing an application to crash.

Pull Request Test Coverage Report for Build 660728711

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.006%) to 91.113%

Totals

Change from base Build 655185392:
0.006%

Covered Lines:
935

Relevant Lines:
994

💛  - Coveralls

Can you add a test?

Done :)


[Bug] start_from_time parameter isn't working with Cosmos DB trigger

Expected Behavior
The function is triggered with documents added from specified date and time
Actual Behavior
First of all, it is unclear what the type is of the start_from_time parameter (linked issue). Depending on the type of input a different error message occurs.
When I try a string i.e. "2023-06-01T00:00:00Z" the following error occurs:
The listener for function 'Functions.risicoscores_silver_calculation_models_producer' was unable to start. Microsoft.Azure.Cosmos.Client: StartTime cannot have DateTimeKind.Unspecified (Parameter 'value').

When I try a datetime i.e. datetime.fromisoformat("2023-06-01T00:00:00Z"), the following error occurs:
Worker failed to index functions
[2024-11-12T12:01:43.006Z] Result: Failure
[2024-11-12T12:01:43.006Z] Exception: TypeError: Object of type datetime is not JSON serializable
[2024-11-12T12:01:43.006Z] Stack:   File "/usr/lib/azure-functions-core-tools-4/workers/python/3.11/LINUX/X64/azure_functions_worker/dispatcher.py", line 345, in _handle__functions_metadata_request
[2024-11-12T12:01:43.006Z]     fx_metadata_results = self.index_functions(function_path)
[2024-11-12T12:01:43.006Z]                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-12T12:01:43.006Z]   File "/usr/lib/azure-functions-core-tools-4/workers/python/3.11/LINUX/X64/azure_functions_worker/dispatcher.py", line 622, in index_functions
[2024-11-12T12:01:43.007Z]     fx_metadata_results = loader.process_indexed_function(
[2024-11-12T12:01:43.007Z]                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-12T12:01:43.007Z]   File "/usr/lib/azure-functions-core-tools-4/workers/python/3.11/LINUX/X64/azure_functions_worker/loader.py", line 142, in process_indexed_function
[2024-11-12T12:01:43.007Z]     raw_bindings=indexed_function.get_raw_bindings(),
[2024-11-12T12:01:43.007Z]                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-12T12:01:43.007Z]   File "/usr/lib/azure-functions-core-tools-4/workers/python/3.11/LINUX/X64/azure/functions/decorators/function_app.py", line 161, in get_raw_bindings
[2024-11-12T12:01:43.007Z]     return [json.dumps(b.get_dict_repr(), cls=StringifyEnumJsonEncoder)
[2024-11-12T12:01:43.007Z]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-12T12:01:43.007Z]   File "/usr/lib/azure-functions-core-tools-4/workers/python/3.11/LINUX/X64/azure/functions/decorators/function_app.py", line 161, in <listcomp>
[2024-11-12T12:01:43.007Z]     return [json.dumps(b.get_dict_repr(), cls=StringifyEnumJsonEncoder)
[2024-11-12T12:01:43.007Z]             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-12T12:01:43.007Z]   File "/usr/lib/python3.11/json/__init__.py", line 238, in dumps
[2024-11-12T12:01:43.007Z]     **kw).encode(obj)
[2024-11-12T12:01:43.008Z]           ^^^^^^^^^^^
[2024-11-12T12:01:43.008Z]   File "/usr/lib/python3.11/json/encoder.py", line 200, in encode
[2024-11-12T12:01:43.008Z]     chunks = self.iterencode(o, _one_shot=True)
[2024-11-12T12:01:43.008Z]              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-12T12:01:43.008Z]   File "/usr/lib/python3.11/json/encoder.py", line 258, in iterencode
[2024-11-12T12:01:43.008Z]     return _iterencode(o, 0)
[2024-11-12T12:01:43.008Z]            ^^^^^^^^^^^^^^^^^
[2024-11-12T12:01:43.008Z]   File "/usr/lib/azure-functions-core-tools-4/workers/python/3.11/LINUX/X64/azure/functions/decorators/utils.py", line 175, in default
[2024-11-12T12:01:43.008Z]     return super().default(o)
[2024-11-12T12:01:43.008Z]            ^^^^^^^^^^^^^^^^^^
[2024-11-12T12:01:43.008Z]   File "/usr/lib/python3.11/json/encoder.py", line 180, in default
[2024-11-12T12:01:43.008Z]     raise TypeError(f'Object of type {o.__class__.__name__} '

Steps to Reproduce

Create an azure function with a cosmos db trigger
Add a start_from_time parameter to the trigger decorator
Start the function

Relevant code being tried
# Either
trigger_start_time = datetime.fromisoformat("2023-06-01T00:00:00Z")
# Or
trigger_start_time = "2023-06-01T00:00:00Z"

@app.cosmos_db_trigger(
    arg_name="redacted",
    container_name="redacted",
    database_name="redacted",
    connection="redacted",
    lease_container_name="ChangeFeed_Leases",
    max_items_per_invocation=200,
    start_from_time=trigger_start_time,  # type: ignore
    lease_container_prefix="redacted"
    ),
)

Relevant log output

requirements.txt file

Where are you facing this problem?
Local - Core Tools
Function app name
No response
Additional Information
No response

The type is supposed to be str. Can you try using slashes instead of dashes? For example: "2024/11/19T00:00:00Z"
I was able to repro that issue with both V1 and V2 models, so it doesn't look like it's an issue with the decorators. We don't do any parsing or altering of the value passed in the decorator, so it seems like the extension is expecting a particular format. A Node function app works similarly here.
Tbf, I'm not sure why the slashes would be the expected format here. If this also works for you, we can update the docs to mention this. If this format is difficult, we can look into adding some logic in the decorators that will convert a start_from_time input value of "2024-11-19T00:00:00Z" into "2024/11/19T00:00:00Z", but I'd have to confirm with the CosmosDB extension team what the expected format is.


optskip unknown col stats check on __internal_scheam and information_schema

Proposed changes
columns in __internal_scheam and information_schema do not have column stats
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


istioctl proxy-status reporting wrong version

Bug description
same old, same old issue of istioctl proxy-status not showing the correct proxy version.
As you can see here, i'm on 1.2.0, but these are being reported as 1.1.3:
❯ istioctl proxy-status
NAME                                                                       CDS        LDS        EDS               RDS        PILOT                            VERSION
e2e-982-purge-successful-6cd8cc745f-6jgzn.e2e-982-purge-successful         SYNCED     SYNCED     SYNCED (24%)      SYNCED     istio-pilot-85547496bb-fqdf4     1.1.3
e2e-983-purge-aborted-5d9c55b7c7-xc98g.e2e-983-purge-aborted               SYNCED     SYNCED     SYNCED (24%)      SYNCED     istio-pilot-85547496bb-fqdf4     1.1.3
e2e-983-purge-successful-865cdd4bd4-5j8cz.e2e-983-purge-successful         SYNCED     SYNCED     SYNCED (27%)      SYNCED     istio-pilot-85547496bb-8x86x     1.1.3

Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[x] Test and Release
[x] User Experience
[ ] Developer Infrastrcture
Expected behavior
istioctl proxy-status to show the correct sidecar version
Steps to reproduce the bug
Install 1.2.0 and observe 1.1.3 sidecars
Version (include the output of istioctl version --remote and kubectl version)
1.2.0
How was Istio installed?
Helm
Environment where bug was observed (cloud vendor, OS, etc)
GKE

Are you sure your are using istioctl 1.2? It should be fixed now.. maybe the pr didn't land in 1.2
I'll test it out in a bit, on phone right now

Not sure actually, travelling at the moment but will check tomorrow.

FWIW I don't have this exact bug (istioctl proxy-status is correct), but might have something similar:
$ istioctl proxy-status
NAME                                                   CDS        LDS        EDS               RDS          PILOT                            VERSION
details-v1-5cb65fd66c-twhj4.default                    SYNCED     SYNCED     SYNCED (50%)      SYNCED       istio-pilot-67d854888f-vp5gj     1.2.0
echoserver-58c989b9c9-r56b9.default                    SYNCED     SYNCED     SYNCED (50%)      SYNCED       istio-pilot-67d854888f-zrvkp     1.2.0

There are references to 1.1.3 in environment variables of the proxy image:
istio-proxy@echoserver-58c989b9c9-r56b9:/$ env | grep -E '1\.[12]\.'
ISTIO_META_ISTIO_VERSION=1.2.0
ISTIO_META_ISTIO_PROXY_VERSION=1.1.3

Via istioctl:
$ istioctl proxy-config bootstrap echoserver-58c989b9c9-r56b9
{
    "bootstrap": {
        "node": {
            "id": "sidecar~<IP_ADDRESS>~echoserver-58c989b9c9-r56b9.default~default.svc.cluster.local",
            "cluster": "echoserver.default",
            "metadata": {
                    "CONFIG_NAMESPACE": "default",
                    "INCLUDE_INBOUND_PORTS": "*",
                    "INTERCEPTION_MODE": "REDIRECT",
                    "ISTIO_META_INSTANCE_IPS": "<IP_ADDRESS>,<IP_ADDRESS>,fe80::ccc7:87ff:fe3c:9d28",
                    "ISTIO_PROXY_SHA": "istio-proxy:7767d3a6fd8def76b44f5c03283ba3f2f9dd74a9",
                    "ISTIO_PROXY_VERSION": "1.1.3",
                    "ISTIO_VERSION": "1.2.0",
                    "POD_NAME": "echoserver-58c989b9c9-r56b9",
                    "app": "echoserver",
                    "istio": "sidecar",
                    "kubernetes.io/limit-ranger": "LimitRanger plugin set: cpu request for container echoserver",
                    "pod-template-hash": "58c989b9c9",
                    "traffic.sidecar.istio.io/includeInboundPorts": "*"
                },

These aren't set in pod's spec AFAICS, they're baked into the proxy image:
$ docker run -it --entrypoint env docker.io/istio/proxyv2:1.2.0
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=f4e8438eac7c
TERM=xterm
DEBIAN_FRONTEND=noninteractive
ISTIO_META_ISTIO_PROXY_VERSION=1.1.3
ISTIO_META_ISTIO_PROXY_SHA=istio-proxy:7767d3a6fd8def76b44f5c03283ba3f2f9dd74a9
ISTIO_META_ISTIO_VERSION=1.2.0
HOME=/root

HTH

@howardjohn my mistake; i was on 1.1.9 istioctl, 1.2.0 sorts this.
@sublimino - does your finding actually cause any impact?

This is working as intended despite being a bit confusing. ISTIO_META_ISTIO_PROXY_VERSION is just referring to the capabilities of the proxy. In pilot we do checks like if proxy version > 1.1 { something} else {something }. It isn't tied to istio release versions.
:+1: good to hear @Stono I always forget to change my istioctl binary as well

I shall close this one then!  Thanks again

@Stono @howardjohn no impact except confusion : ] thanks for clarifying


[Event Change] T751 "Standard General Journal Line" - OnBeforeCreateDim

------------------ Change IntegrationEvent Attribute ----------------------
IncludeSender : true, GlobalVarAccess : true
-------------------------------------------------------------------------------

[IntegrationEvent(TRUE, TRUE)]
 local procedure OnBeforeCreateDim(var StandardGenJournalLine: Record "Standard General Journal Line"; var IsHandled: Boolean; CurrFieldNo: Integer)
begin
end;

GlobalVarAccess was deprecated in 16.x, there is concept of protected var instead. You can list here the global vars that have to be protected and accessible from extensions.
Please put the code surrounding the place, where you expect a new event call, as a text not as a screenshot.
It helps us finding the right place quickly if you put enough code to identify the unique place.


Top N Peaks not saved in search task .toml

The "Top N Peaks" setting in File Loading Parameters -> Peak Trimming is not saved in the search task toml

Cannot reproduce. Is this still an issue?


Compatibility with Gatling >= 3.8.0

Thanks for the great job.
As my tests are written in java, I use a custom 'gatlingImage' build using Gatling 3.9.2.
But the execution of this image gives an error:
gatling-waiter pod/gatling-sample01-runner-6jfz9 labeled
gatling-waiter 1/1 pods are ready
gatling-runner Wait until 2023-03-30 08:38:57
gatling-runner GATLING_HOME is set to /opt/gatling
gatling-runner Do you want to run the simulation locally, on Gatling Enterprise, or just package it?
gatling-runner Type the number corresponding to your choice and press enter
gatling-runner [0] <Quit>
gatling-runner [1] Run the Simulation locally
gatling-runner [2] Package and upload the Simulation to Gatling Enterprise Cloud, and run it there
gatling-runner [3] Package the Simulation for Gatling Enterprise
gatling-runner [4] Show help and exit
gatling-runner Exception in thread "main" java.util.NoSuchElementException: next on empty iterator
gatling-runner     at scala.collection.Iterator$$anon$19.next(Iterator.scala:973)
gatling-runner     at scala.collection.Iterator$$anon$19.next(Iterator.scala:971)
gatling-runner     at scala.io.BufferedSource$BufferedLineIterator.next(BufferedSource.scala:82)
gatling-runner     at scala.io.BufferedSource$BufferedLineIterator.next(BufferedSource.scala:67)
gatling-runner     at io.gatling.bundle.BundleIO$$anon$2.readInt(BundleIO.scala:33)
gatling-runner     at io.gatling.plugin.io.input.InputChoice.inputInt(InputChoice.java:59)
gatling-runner     at io.gatling.plugin.io.input.InputChoice.inputFromList(InputChoice.java:113)
gatling-runner     at io.gatling.plugin.io.input.InputChoice.inputFromStringList(InputChoice.java:144)
gatling-runner     at io.gatling.bundle.commands.RunCommand.run(RunCommand.scala:59)
gatling-runner     at io.gatling.bundle.GatlingCLI$.main(GatlingCLI.scala:97)
gatling-runner     at io.gatling.bundle.GatlingCLI.main(GatlingCLI.scala)
gatling-runner gatling.sh has failed!
Stream closed EOF for default/gatling-sample01-runner-6jfz9 (gatling-runner)
Stream closed EOF for default/gatling-sample01-runner-6jfz9 (gatling-waiter)

Since Gatling 3.8.0 (to be confirmed), gatling.sh requires a  run mode parameter
I tested by running my docker image and using the same args used by the gatling-runner container.
The test is executed if the '-rm' parameter is added:
gatling.sh -sf ${SIMULATIONS_DIR_PATH} -s com.example.gatling.TodoSimulation -rsf ${RESOURCES_DIR_PATH} -rf ${RESULTS_DIR_PATH} -nr -rm local

Done.
https://github.com/st-tech/gatling-operator/pull/96


Axis Label rotation

Need to calc a conservative width / axis, if we have too many axes, then rotate the label 90 degrees per spec.

Pushed :D


hydra train LAS 모델 수행중 에러문의

Environment info

Platform: ubntu anaconda
Python version: 3.8.11
PyTorch version (GPU?): 1.9.0 (No GPU)
Using GPU in script?: No

Information
Model I am using (ListenAttendSpell, Transformer, Conformer ...): I'm using ListenAttendSpell
The problem arises when using:

[x] the official example scripts: (give details below)
[x] my own modified scripts: (give details below)

To reproduce
Steps to reproduce the behavior:

Use tensorboard as logger rather than wandb

in configuration.py,  I modified like below.
logger: str = field(
    default="tensorboard", ...
)

execute a script

python ./openspeech_cli/hydra_train.py
dataset=ksponspeech
dataset.dataset_path=$DATASET_PATH
dataset.manifest_file_path=$MANIFEST_FILE_PATH \
dataset.test_dataset_path=$TEST_DATASET_PATH
dataset.test_manifest_dir=$TEST_MANIFEST_DIR
tokenizer=kspon_character
model=listen_attend_spell
audio=melspectrogram
lr_scheduler=warmup_reduce_lr_on_plateau
trainer=cpu
criterion=cross_entropy

Then, I can see an error

File: "(중략)openspeech/models/openspeech_encoder_decoder_model.py", line 92, in collect_outputs
self.info({
File: "(중략)openspeech/models/openspeech_model.py", line 82, in info
self.log(key, value, prog_bar=True)
File: "(중략)/lib/python3.8/site-packages/pytorch_lightning/core/lightning.py", line 399, in log
apply_to_collection(
File: "(중략)/lib/python3.8/site-packages/pytorch_lightning/utilities/apply_func.py", line 100, in apply_to_collection
return function(data, *args, **kwargs)
File: "(중략)/lib/python3.8/site-packages/pytorch_lightning/core/lightning.py", line 533, in __check_allowed
raise ValueError(f"'self.log({name}, {value})' was called, but '{type(v).name}' values cannot be logged")
ValueError:
self.log(val_cross_entropy_loss, None)' was called, but 'NoneType' values cannot be logged

Checking the code, i think that cross_entropy_loss value is None , which causes the error.
More detail,
file : openspeech/openspeech_encoder_decoder_model.py at main · openspeech-team/openspeech · GitHub
def collect_outputs(
            self,
            stage: str,
            logits: Tensor,
            encoder_logits: Tensor,
            encoder_output_lengths: Tensor,
            targets: Tensor,
            target_lengths: Tensor,
    ) -> OrderedDict:
        cross_entropy_loss, ctc_loss = None, None  // <------------ cross-entropy_loss 는 None 으로 초기화

.....
        elif get_class_name(self.criterion) == "LabelSmoothedCrossEntropyLoss" \
                or get_class_name(self.criterion) == "CrossEntropyLoss":
            loss = self.criterion(logits, targets[:, 1:])    // <------------ loss 만 value 할당
        else:

.....
        self.info({
            f"{stage}_loss": loss,
            f"{stage}_cross_entropy_loss": cross_entropy_loss,  // <---------- cross_entropy_loss 는 None
            f"{stage}_ctc_loss": ctc_loss,
            f"{stage}_wer": wer,
            f"{stage}_cer": cer,
        })

Expected behavior
No error

코드 수정해서 학습되는 것 확인했습니다. 다시 한번 해보시겠어요?

수정했는데, 혹시 한번 해보시고 또 에러 있으시면 말씀해주세요!
감사합니다.
-----Original Message-----
From: @.>
To: @.>;
Cc: @.***>;
Sent: 2021-08-25 (수) 13:18:55 (GMT+09:00)
Subject: [openspeech-team/openspeech] hydra train LAS 모델 수행중 에러문의 (#79)
Environment info
Platform: ubntu
Python version: 3.8.11
PyTorch version (GPU?): 1.9.0 (No GPU)
Using GPU in script?: No
Information
Model I am using (ListenAttendSpell, Transformer, Conformer ...): I'm using ListenAttendSpell
The problem arises when using:
[O] the official example scripts: (give details below)
my own modified scripts: (give details below)
To reproduce
Steps to reproduce the behavior:
execute a script
python ./openspeech_cli/hydra_train.py
dataset=ksponspeech
dataset.dataset_path=$DATASET_PATH
dataset.manifest_file_path=$MANIFEST_FILE_PATH
dataset.test_dataset_path=$TEST_DATASET_PATH
dataset.test_manifest_dir=$TEST_MANIFEST_DIR
tokenizer=kspon_character
model=listen_attend_spell
audio=melspectrogram
lr_scheduler=warmup_reduce_lr_on_plateau
trainer=cpu
criterion=cross_entropy
Then, I can see an error
File: "(중략)openspeech/models/openspeech_encoder_decoder_model.py", line 92, in collect_outputs
self.info({
File: "(중략)openspeech/models/openspeech_model.py", line 82, in info
self.log(key, value, prog_bar=True)
File: "(중략)/lib/python3.8/site-packages/pytorch_lightning/core/lightning.py", line 399, in log
apply_to_collection(
File: "(중략)/lib/python3.8/site-packages/pytorch_lightning/utilities/apply_func.py", line 100, in apply_to_collection
return function(data, *args, **kwargs)
File: "(중략)/lib/python3.8/site-packages/pytorch_lightning/core/lightning.py", line 533, in __check_allowed
raise ValueError(f"'self.log({name}, {value})' was called, but '{type(v).name}' values cannot be logged")
ValueError:
self.log(val_cross_entropy_loss, None)' was called, but 'NoneType' values cannot be logged
Checking the code, i think that cross_entropy_loss value is None , which causes the error.
More detail,
openspeech/openspeech_encoder_decoder_model.py at main · openspeech-team/openspeech · GitHub
 def collect_outputs( self, stage: str, logits: Tensor, encoder_logits: Tensor, encoder_output_lengths: Tensor, targets: Tensor, target_lengths: Tensor, ) -> OrderedDict: cross_entropy_loss, ctc_loss = None, None // <------------ cross-entropy_loss 는 None 으로 초기화 ..... elif get_class_name(self.criterion) == "LabelSmoothedCrossEntropyLoss" or get_class_name(self.criterion) == "CrossEntropyLoss": loss = self.criterion(logits, targets[:, 1:]) // <------------ loss 만 value 할당 else: ..... self.info({ f"{stage}_loss": loss, f"{stage}_cross_entropy_loss": cross_entropy_loss, // <---------- cross_entropy_loss 는 None f"{stage}_ctc_loss": ctc_loss, f"{stage}_wer": wer, f"{stage}_cer": cer, })
Expected behavior
No error
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

잘 되네요! 감사합니다!


tool and dictionary saving in itself with ambiguous parameters in method crashes editor

Godot version:
3.1.1 official

OS/device including version:
windows 10

Issue description:
I know the basic premise is not optimal, but i think the editor shouldnt behave the way it did:

I accidentally tried to save a method parameter in a dictonary, that had the same var-name as the dictionary. When i now access this method, the whole editor just dies (closes itself, without any error-message or anything)
I fixed it by changing the parameter-name:

So here i dont know exactly, if its because of:

the parameter having the same name and therefore the saving in the dictionary gets weird and loops or something
Saving a dictionary in itself
if its because of tool and/or the above

But im not sure why it crashes here, because when i try to build a reproduction project, its working just fine. Maybe it is in connection with the "tool" in the scripts. Im running this as part of a editor-plugin
The interesting thing here is also: If i start up the plugin (that uses that script) directly after the crash, it cant find any method in the script ("cannot find x method"). Then i have to change a line (add or remove free line) in the code (in the script that called the method that crashed) and save. Only then the script can be executed again. Restarting the editor doesnt change anything. I have to change the script.
If needed, i can try to provide a simple reproduction-Project, that behaves exactly as i described.
My expectation here would be:

dont let me name method-parameters the same as vars (fields) in the scripts
crash with an understandable error-message "There was some looping occuring" or something like that.
Not having to "fake"-change a script to somehow get it to build the scripts again or something.

Steps to reproduce:
Minimal reproduction project:
Will add if needed, if this is not a duplicate.

Can anyone still reproduce this bug in Godot 3.2.3 rc3 or any later release?
If yes, please ensure that an up-to-date Minimal Reproduction Project (MRP) is included in this report (a MRP is a zipped Godot project with the minimal elements necessary to reliably trigger the bug). You can upload ZIP files in an issue comment with a drag and drop.

This was a long time ago and i cant reproduce the premise. So im closing the ticket.

Ah, i could reproduce it now:
Tool and dictionary saving reproduction.zip
Tested it in 3.2.3 rc3:
But now only when i start the scene, only the scene/game is crashing, but the editor keeps working, stays alive and no weird compilation-errors (like described in the original post) pertain.
Very nice! 👍

This seems fixed in the master branch:

When running the scene, it depends the infinite recursion and errors out:

E 0:00:00:0653   _ready: Max recursion reached
  <C++ Source>   core/variant/variant.cpp:1674 @ stringify()
  <Stack Trace>  Control.gd:8 @ update_list()
                 Control.gd:13 @ _ready()

When adding a breakpoint, it recurses for 400 steps (printing 400 errors) before bailing out:

E 0:00:00:0872   _ready: Potential inifite recursion detected. Bailing.
  <C++ Error>    Condition "p_depth > Variant::MAX_RECURSION_DEPTH" is true. Returning: ERR_OUT_OF_MEMORY
  <C++ Source>   core/io/marshalls.cpp:1033 @ encode_variant()
  <Stack Trace>  Control.gd:8 @ update_list()
                 Control.gd:13 @ _ready()


How to actually run the examples (with Electron 1.1)

I did what the readme said and some other variations but kept getting this.

MacBook-Pro:repos robert$ npm install -g electron-prebuilt
/Users/robert/.nvm/versions/node/v6.1.0/bin/electron -> /Users/robert/.nvm/versions/node/v6.1.0/lib/node_modules/electron-prebuilt/cli.js

><EMAIL_ADDRESS>postinstall /Users/robert/.nvm/versions/node/v6.1.0/lib/node_modules/electron-prebuilt
> node install.js

/Users/robert/.nvm/versions/node/v6.1.0/lib
└──<EMAIL_ADDRESS>
MacBook-Pro:repos robert$ git clone https://github.com/hokein/electron-sample-apps.git
Cloning into 'electron-sample-apps'...
remote: Counting objects: 713, done.
remote: Total 713 (delta 0), reused 0 (delta 0), pack-reused 713
Receiving objects: 100% (713/713), 3.31 MiB | 1.45 MiB/s, done.
Resolving deltas: 100% (157/157), done.
Checking connectivity... done.
MacBook-Pro:repos robert$ electron electron-sample-apps/menus
MacBook-Pro:repos robert$ electron electron-sample-apps/menus/
MacBook-Pro:repos robert$ electron ./electron-sample-apps/menus/
MacBook-Pro:repos robert$ electron ./electron-sample-apps/menus

Same with webgl.

The samples use deprecated APIs, which are removed in v1.0.0. Currently, you can use v0.37.8 to run the sample.
Closing this in favour of #28 .

Thanks! I saw the referenced issue, it mentions deprecated rather than discontinued API functions that make it not run, so it's not a duplicate issue. Newcomers will scan open issues only if following the readme leads to errors.

Indeed the examples work with a former version, npm install -g<EMAIL_ADDRESS>did the trick.


refactor(transformer): export var_declarations module from common module

Tiny refactor. Export var_declarations module from common, rather than var_declarations::VarDeclarationsStore. Once we have more common transforms, the namespace of common module will become crowded.

#6186
#6185
#6184
#6183  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite

Tiny change, so merging without review.


Remove nbconvert pin to see what/where the error is

#45

The tests that fail here appear to pass when run individually, but not when run together. I have observed a similar problem in #42 and while working on nbval (https://github.com/computationalmodelling/nbval/pull/148#issuecomment-642666638). Hmm.

Coverage decreased (-4.1%) to 67.767% when pulling d8578d18258274540e66a996cf3cc633366bc70d on update_nbconvert into 3f8b76e2c1ff3af225c6ffb769b4dfc97c149c3d on master.


PhoneInput view cut

@freenow/wave version: 1.25.1

Relevant code
var your => (code) => here;

What was expected to happen?
After update of the Wave PhoneInput drop down displays cut (currently is not possible to solve via menuPortalTarget as this prop is not being passed)
Reproduction
Try to register a new driver on https://registration.prelive.free-now.com/ (e.g. Paris - Taxi) on contacts detail page PhoneInput is used.

We need to allow to set react portal as a target for the select list

@dani-walnut can you check the screenshot in the description please? I don't think it's uploaded correctly.

fixed


drop_duplicates() is dropping more than just duplicates in 0.17.0

When I upgraded from 0.16.2 to 0.17.0, I was met with a nasty surprise when dropping duplicates.  It looks like DataFrame.drop_duplicates() is not working as I would expect it to based on the previous version.  I have a dataframe
test_ids = df['test_id'].unique()
print('N test ids: {}'.format(test_ids.shape))
print('N tests: {}'.format(df[['test_id', <some other columns>]].drop_duplicates().shape))

the output is:
N test ids: (341334,)
N tests: (237426, 10)

when I run the same in 0.16.2 the output is:
N test ids: (341334,)
N tests: (341334, 10)

I don't think you should be able to get fewer rows than the number of unique entries in a single column.

Sorry about that.
Probably a dupe of https://github.com/pydata/pandas/issues/11376, fixed in https://github.com/pydata/pandas/pull/11403 which is in master.
If you're able could you build master and see if it's fixed for you? Thanks.


Lots of nops cause an error

Describe the bug
See the screenshot:

To Reproduce
Steps to reproduce the behavior:

Patch a part of a binary to have lots of nops
Load with ghidra
See error

Expected behavior
No error
Screenshots
See above
Attachments
Environment (please complete the following information):

OS: Win10
Java Version: 11.0.7
Ghidra Version: 10.1.2
Ghidra Origin: official GitHub distro

Additional context
Add any other context about the problem here.

this looks to be working as intended.  out of control disassembly is not a good thing, tons of repeated bytes typically are not valid instruction bytes, so user interaction should be required for cases like this.


Add listcmdletsInfo page support

@duzhen1996
CmdletManager.java#L544
Add page support for this method. Note that a new native class like CmdletGroup (quite like ActionGroup) is required for WebUI.

Already done. Issue closed.
Thanks @duzhen1996 .


function to put the enlarge image into a particular div

Thanks for forking and providing support for react-image-magnify!
I was using the enlargedImagePortalId prop with the old package, but it doesn't look like that prop exists in the current version anymore. I saw objects got changed after moving to typescript and was trying to look in code for it's equivilant but to no avail. Is the function to put the enlarge image into a particular div still supported? One of the examples seem to do it but i also may be mistaken.

Hi @kenny128! That prop doesn't exist anymore - the enlarged image is always rendered into a portal. Is this a feature you are looking for?

I removed this functionality when reimplementing the original approach due to the complexity it entailed. I'll look to adding this functionality


Add Events for Previous, Next, First, and Last Page Clicks

This PR adds events for different page events.
function(event, pageNumber)
onPrevPage | Function | | Will fire in addition to onChange if the previous page button is clicked.
onNextPage | Function | | Will fire in addition to onChange if the next page button is clicked.
onFirstPage | Function | | Will fire in addition to onChange if the first page button is clicked.
onLastPage | Function | | Will fire in addition to onChange if the last page button is clicked.

@vayser I believe this is essential and should make it into the next version.

@vayser PING

Why was this issue closed? @kevingilbert100

No response from OP

I'd recommend maybe trying another library or forking.

I agree with that. It definitely helps to be able to track page clicks accurately.


[PDI-13756] - ConcurrentModificationException in plugin registry

@mattyb149 - Could you review and merge this PR ?

@mbatchelor,
Unfortunately your PR partially solves the problem. It prevents CME on iterations through maps, but not on iterations through maps' lists.
Here is the test for checking:
https://github.com/akhayrutdinov/pentaho-kettle/commit/5865be658b22939143c710469238d146f2519287
Both cases fail with current master revision. One fails with your changes.
I'll send my approach later

My PR: https://github.com/pentaho/pentaho-kettle/pull/1325

Please rebase and reissue this pull request.


Feature/zero

@kurisusnowdeng @ver217 The model numel can be polished. We'd better not to write it in the config?


Fix util.format to take substitution parameters as an array passed as…

… second argument to make default localize function work with more than one substitution per string.

This fixes #85

hey @crispinus2, thanks for reporting and fixing this issue.
It looks good! Could you also add a test case for this?
Thanks!

Test case added. Also, fixed buggy test case for single JSON placeholder. You're welcome ;).

@stevey-p do you know what could have happened with Coveralls?

@crispinus2 one last thing before merging, could you bump the version to 5.1.1, please?

Of course :).

<EMAIL_ADDRESS>is now available.


面积堆叠图不正常展示

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Steps to reproduce
图表有些面积没展示出来

Environment
Info

g2
4.1.23

System
windows

Browser
chrome

chart.render()


Issue reporter: size exceeds maximum for empty performance report

On windows:

Open vscode workspace
Help>Report Issue
Select ´Performance Issue´
Enter minimal description

-> size exceeded

This is caused by a large process listing. We should look into making it more compact.

As a work around we could offer to copy the process list and tell the user to add it manually to the issue report.

Actually the process list differs from code-insiders --status and I also find the process list from code-insiders --status easier to read. The table formatting doesn´t add any value to me. How about just rendering the process list raw like this:
CPU %   Mem MB     PID  Process
    0      104   15108  code-insiders main
    0       72    2188     shared-process
    0       74   13488     shared-process
    0      324   13604     gpu-process
    0      177   18748     window (package.nls.json - npm - Visual Studio Code - Insiders)
    0       73    6592       extensionHost
    0       44    1876         electron_node jsonServerMain.js
    0       14    7400       watcherService
    0       10   21372         console-window-host (Windows internal process)
    0      189   19520     window (Running Extensions - vscode - Visual Studio Code - Insiders)
    0       14    7232       watcherService
    0       10   12228         console-window-host (Windows internal process)
    0       51   10024       extensionHost
    0       32   19896       terminal
    0        6   21088         winpty-process
    0       10    5152           console-window-host (Windows internal process)
    0        4   14024           C:\WINDOWS\System32\cmd.exe
    0       33   20384             electron_node cli.js
    0       52    5844               "C:\Program Files\Microsoft VS Code Insiders\Code - Insiders.exe" --status
    0       74    1788                 powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "& {& 'c:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\base\node\ps-win.ps1' -ProcessName 'Code - Insiders.exe' -MaxSamples 3}"
    0        7   13536                   console-window-host (Windows internal process)
    0       28    6780                 gpu-process

For addressing the size issue, I changed the behavior so that when the url is too long, the body of the issue gets copied into the clipboard and the issue preview opens with the text "We have written the needed data into your clipboard because it was too large to send. Please paste."


Update redeploy-to-new-node-windows.md

I found the following in an "update" related page. It should be clearly mentioned in the doc to inform the readers:
"A virtual machine can encounter issues caused by user configurations or host infrastructure. If you have exhausted all other options under the troubleshooting menu, we suggest redeploying your virtual machine to a new host. "
Source: https://azure.microsoft.com/en-us/updates/use-azure-redeploy-functionality-to-transfer-virtual-machines-to-a-new-host/
Pull request guidance
Thank you for submitting your contribution to our support content! Our team works closely with subject matter experts in CSS and PMs in the product group to review all content requests to ensure technical accuracy and the best customer experience. This process can sometimes take one or more days, so we greatly appreciate your patience.
We also need your help in order to process your request as soon as possible:

We won't act on your pull request (PR) until you type "#sign-off" in a new comment in your pull request (PR) to indicate that your changes are complete.

After you sign off in your PR, the article will be tech reviewed by the PM or SME if it has more than minor changes. Once the article is approved, it will undergo a final editing pass before being merged.

#sign-off

This PR is declined because we have had no comment on it by the triage. So, I close this PR.


fix for restoring signature

@sche I just want to make sure here, what was the problem before?

s.asString(withBase: 16) was producing a 63 length string and the signature calculation was incorrect.

I understand. Thank you 🙏🏻


Documentation Update - Azure Firewall, DDOS, WAF, and other Network Security services should be "recommended" instead of "optional"

Looking at the Enterprise-Scale deployment examples, the architecture diagram contain Azure Firewall, WAF, DDOS, and other Network Security services while the corresponding text has these as "optional". I think it is a better approach and delivers a different (stronger) message if "optional" were to be changed to "recommended" for any security services mentioned in the public docs.

Thanks @ataghiyev,
Could you provide some links and screenshots of this so we can consider?
However, we take the stance of optional from an "Azure" offering perspective as customers may choose to use 3rd party alternatives for these. Hence stating optional instead of recommended.
Hope that helps
Thanks
Jack

Thanks @jtracey93!
Here is just one example: https://github.com/Azure/Enterprise-Scale/blob/main/docs/reference/contoso/Readme.md
Under "What will be deployed?", the documentation states
An Azure Subscription dedicated for connectivity, which deploys core Azure networking resources such as:

Azure VWAN
VWAN Hub
ExpressRoute Gateway (optional)
VPN Gateway (optional)
Azure Firewall (optional)
Firewall Policies (optional)
Azure DDoS Standard protection plan (optional)

I completely understand your stance - customers may choose to go with the 3rd party but we either need to then add some clarification/note on that or we can say looking from an "Azure" perspective (without any visibility into customers' 3rd party alignment) we recommend these services to be deployed as a standard. I feel like "optional" carries a different meaning and can be misunderstood as "being nice to have" and it's different from "you need to have" (or have something similar aka 3rd party) if we are offering them best practices.
Hope this makes sense.

Thanks @ataghiyev, do you want to open a PR and contribute a suggestion on this wording. Now that you are aware of our perspective?

stale


bash: ./main.sh: cannot execute: required file not found

Using nixos i installed all the packages needed and enabled the extension and navigated to gnomintosh but when trying to run ./main.sh i get the following
bash: ./main.sh: cannot execute: required file not found

re clone the repo and run ./main.sh

The script now works parially but is there any way to autohide the dock or/and the top bar also the windows close minimize and maximize buttons arent the correct ones

Also my console has a weird spaced out font

thank you very much tell me if you find a fix for the uncolored maximize minimize close buttons

My fix for the messed up terminal font was to just change it manually in the terminal config^^

i also did that


Clarification needed for enabling previews with Cloudflare

The page src/pages/en/guides/integrations-guide/cloudflare.md mentions that you can enable previews with Wrangler and that "This will allow you run your entire application locally with Wrangler, which supports secrets, environment variables, KV namespaces, Durable Objects and all other supported Cloudflare bindings."  However, there is no documentation on how to access these variables that should be injected by Wrangler and accessible when running in Cloudflare Pages.  The environment variables and KV namespaces do not seem to be accessible from within Astro. Further insight into how to access these would be very helpful.

Thanks for this feedback, @jimjimovich!
I'm going to tag in @Ekwuno, who recently contributed to this documentation, and ask him to join the discussion to see what more could be included on our end to help with Cloudflare documentation, or to tell us whether this is something handled by Cloudflare's own documentation!

@timfee I hope you don't mind a ping here! I know that you most recently added some helpful node version info to our Cloudflate docs, and I was wondering whether you had any comment on accessing environment variables and KV namespaces within Astro?
I'm not familiar with Cloudflare personally, so I'm not sure whether this is getting into documentation that one would expect to find on Cloudflare's page, maybe re: Wrangler, or whether this is an Astro-specific issue that requires documentation one wouldn't be able to find from Cloudflare.  (We obviously try not to hold too much info here when good docs exist at the source, in no small part because of our maintenance costs of keeping updated when things change.)
Thanks for any comment you can provide here!

There have been a few updates to our Cloudflare deploy guide over the past months. Curious if it is still unclear or if we can close this issue?

It seems that the text causing the original confusion was simply removed. Apparently, the Cloudflare adapter does not allow the functionality that was originally advertised.

Thanks for checking @jimjimovich! I guess this is not really a documentation issue then, so I’ll close this for now. I don’t personally have any Cloudflare experience so don’t know exactly what’s needed here, but if there’s still an issue with something not working, an issue in the https://github.com/withastro/astro repo might help get that some visibility.


Handle Rich Format Pasting from inside or outside the editor

The editor need to catch the paste event, sanitize and produce proper operations to be applied to the article model to create a better pasting experience with good undo-redo processes.

Pull request #2 already addressed some basic pasting handling where all text is just pasted as one string where the cursor is.


Publish getting started for mac

do we expect this getting started guide for mac to start at version 0.62? If so, @jonthysell can we create a version folder for just one ahead of the version we're on so we can stage new site content before official release?

If I can get this done in the next couple of days, it will start with version 0.60.0 (which is the current Mac version). It is probably a good idea to have a "next" version staged as part of the process though.


L2announcement not creating lease

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Trying to use the new L2announcement on 1.14.0-rc1.  The 'lease' is not occurring also no 'status' is returned from describe l2announcement.   No arp occurring for the load balanced allocated IP address.  attached are the resource files used
l2-policy-1.yaml.txt
hello-world.yaml.txt
IP-Pool.yaml.txt
Cilium Version
cilium version
cilium-cli: v0.15.0 compiled with go1.20.4 on linux/amd64
cilium image (default): v1.13.4
cilium image (stable): v1.13.4
cilium image (running): 1.14.0-rc.1
Kernel Version
5.15.0-76-generic #83-Ubuntu SMP Thu Jun 15 19:16:32 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Kubernetes Version
kubectl version
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.  Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.3", GitCommit:"25b4e43193bcda6c7328a6d147b1fb73a33f1598", GitTreeState:"clean", BuildDate:"2023-06-14T09:53:42Z", GoVersion:"go1.20.5", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v5.0.1
Server Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.3", GitCommit:"25b4e43193bcda6c7328a6d147b1fb73a33f1598", GitTreeState:"clean", BuildDate:"2023-06-14T09:47:40Z", GoVersion:"go1.20.5", Compiler:"gc", Platform:"linux/amd64"}
Sysdump
sys dump is to large
Relevant log output
kubectl describe l2announcement
Name:         policy1
Namespace:
Labels:       <none>
Annotations:  <none>
API Version:  cilium.io/v2alpha1
Kind:         CiliumL2AnnouncementPolicy
Metadata:
  Creation Timestamp:  2023-07-19T15:30:01Z
  Generation:          9
  Resource Version:    4036052
  UID:                 f8d32830-df81-41a0-bb2f-e2d4d121cb8a
Spec:
  External I Ps:  true
  Interfaces:
    ^ens15
  Load Balancer I Ps:  true
  Node Selector:
    Match Labels:
      Role:  worker
  Service Selector:
    Match Labels:
      io.kubernetes.service.name:  hello-world
Events:                            <none>

 kubectl get leases -n kube-system
NAME                                   HOLDER                                                                      AGE
apiserver-e3su4tlnj5c2gybxwyy2uxzl3u   apiserver-e3su4tlnj5c2gybxwyy2uxzl3u_8bb736b9-28b3-4fd5-977a-7087d79f9cca   18d
apiserver-grmwtklhmp2qpbd6skynsk6cqa   apiserver-grmwtklhmp2qpbd6skynsk6cqa_7a4db58d-d8f0-466d-9300-677b3dd8e112   18d
apiserver-t7oqh2epnxkdslv4ib2kutibnm   apiserver-t7oqh2epnxkdslv4ib2kutibnm_0ba338f4-906d-492b-a55d-2dbe40fd1329   18d
cilium-operator-resource-lock          nj-r203-u37-38-k8.online-hosting.cloud-ucfKpCbwLf                           18d
kube-controller-manager                nj-k8-control-1.online-hosting.cloud_19481c7e-f38b-4381-be63-0447f954ec54   18d
kube-scheduler                         nj-k8-control-1.online-hosting.cloud_c787dbbf-c56c-4e55-aa30-e9978536c938   18d

Anything else?
work with Dylan Reimerink via slack on troubleshooting,
Code of Conduct

[X] I agree to follow this project's Code of Conduct

### Tasks

/cc @dylandreimerink

hi, I'm a beginner. Can i pick up this issue? i want  to learn cilium through this issue.
@aditighag @davehs30 @dylandreimerink

Hi @chaunceyjiang, this one seems like it might take pretty detailed knowledge of Cilium's internals to get started on, I recommend picking up a "good-first-issue"-labelled issue first (see https://github.com/cilium/cilium/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3Agood-first-issue  for the list.)

@davehs30, could you create a sysdump using the instructions at https://docs.cilium.io/en/stable/operations/troubleshooting/#reporting-a-problem? Once that's done, I'll mark this for further sig-datapath attention.

Can i pick up this issue? i want to learn cilium through this issue.

This seems to be a particularly difficult bug, the nature of which isn't yet clear to us, even after extensive attempts over OSS slack. So this one is better left to me as author of the feature.

sys dump is to large

The sysdump is likely going to be critical for debugging this one, given we tried everything without it already via slack. If it is to large, perhaps you could utilize a service such as WeTransfer or TransferXL to work around the upload limit of github.

cilium-sysdump-07242023.zip
reduced the node list to only one control plane node and one worker node.

I think I found the issue. The policy matches on the node label selector role: worker which is also present in the example: https://docs.cilium.io/en/latest/network/l2-announcements/#policies.
You would think this is correct because of the cli output:
kubectl get nodes -o wide
NAME                                     STATUS   ROLES           AGE   VERSION   INTERNAL-IP    EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION      CONTAINER-RUNTIME
nj-k8-control-1.online-hosting.cloud     Ready    control-plane   17d   v1.27.3   <IP_ADDRESS>   <none>        Ubuntu 22.04.2 LTS   5.15.0-76-generic   containerd://1.6.21
nj-k8-control-2.online-hosting.cloud     Ready    control-plane   17d   v1.27.3   <IP_ADDRESS>   <none>        Ubuntu 22.04.2 LTS   5.15.0-76-generic   containerd://1.6.21
nj-k8-control-3.online-hosting.cloud     Ready    control-plane   17d   v1.27.3   <IP_ADDRESS>   <none>        Ubuntu 22.04.2 LTS   5.15.0-76-generic   containerd://1.6.21
nj-r203-u33-34-k8.online-hosting.cloud   Ready    worker          10d   v1.27.3   <IP_ADDRESS>   <none>        Ubuntu 22.04.2 LTS   5.15.0-76-generic   containerd://1.6.21
nj-r203-u35-36-k8.online-hosting.cloud   Ready    worker          9d    v1.27.3   <IP_ADDRESS>   <none>        Ubuntu 22.04.2 LTS   5.15.0-76-generic   containerd://1.6.21
nj-r203-u37-38-k8.online-hosting.cloud   Ready    worker          9d    v1.27.3   <IP_ADDRESS>   <none>        Ubuntu 22.04.2 LTS   5.15.0-76-generic   containerd://1.6.21

But when we take a look at the actual node object:
- apiVersion: cilium.io/v2
  kind: CiliumNode
  metadata:
    creationTimestamp: "2023-07-10T20:07:12Z"
    generation: 24
    labels:
      beta.kubernetes.io/arch: amd64
      beta.kubernetes.io/os: linux
      kubernetes.io/arch: amd64
      kubernetes.io/hostname: nj-r203-u33-34-k8.online-hosting.cloud
      kubernetes.io/os: linux
      node-role.kubernetes.io/worker: worker
    name: nj-r203-u33-34-k8.online-hosting.cloud
 [...]

There is no role label, just the node-role.kubernetes.io/worker. For the control plane nodes there is the node-role.kubernetes.io/control-plane label.
So the policy doesn't match any nodes, thus no leases. The fix would be to change the policy to have the following node selector:
 nodeSelector:
    matchExpressions:
      - key: node-role.kubernetes.io/control-plane
        operator: DoesNotExist

or
 nodeSelector:
    matchExpressions:
      - key: node-role.kubernetes.io/worker
        operator: Exists

So lesson learned, never look at the pretty CLI output, its not the same as looking at the raw YAML :face_exhaling:.
I am also going to update the docs to avoid this confusion in the future. I believe the example in the docs was made this way due to confusion caused by kind configuration we regularly use during development https://kind.sigs.k8s.io/docs/user/configuration/#nodes. But the kind config obviously doesn't translate to the labels on the node.
Please confirm if this work for you.

Confirmation,  this was the problem!  it is working now,  Thank you!


When guzzle run from Laravel's "artisan tinker", Tinker exits with no message

Q
A

Bug?
Yes

New Feature?
No

Version
6.3.0

Actual Behavior
What is the actual behavior?
Tinker exits with no message
Expected Behavior
Guzzle should run properly
Steps to Reproduce
What are the steps to reproduce this bug? Please add code examples,
screenshots or links to GitHub repositories that reproduce the problem.
My code is calling GuzzleHttp\Client __call with arguments:
method: "post"
args: ["https://hooks.slack.com/services/PRIVATE/PRIVATE/PRIVATE",{"json":{"text":"MESSAGE","attachments":[]}}]
Tinker then exits with no message.  I'm not sure how to debug further.   The code works fine if not run from Tinker.  Maybe an issue with STDIN or STDOUT being redirected?  I'm running on a Mac with Laravel 5.4.
Possible Solutions
Any debugging help would be appreciated -- for example, how do I see the curl command-line being run, or where should I put a breakpoint to see what is happening?

Have you tried running tinker with -vvv option? Is error_reporting is configured to show errors (in PHP/Laravel)?

tmp.php is file that looks like this:
<?php

error_reporting(E_ALL);

$client = new GuzzleHttp\Client(['base_uri' => 'https://www.google.com/']);
$response = $client->request('GET', '/');
print "Finished\n";

If I run it from the command line like this:
screen:lms dsandber$ ./artisan script tmp.php

I get the output "Finished" and the request is made.
If I run it from tinker like this:
screen:lms dsandber$ php artisan tinker -vvvv

I get these results:
Psy Shell v0.8.11 (PHP 7.1.1 — cli) by Justin Hileman
>>> $client = new GuzzleHttp\Client(['base_uri' => 'https://www.google.com/']);
=> GuzzleHttp\Client {#893}
>>> $response = $client->request('GET', '/');
screen:lms dsandber$

No request is made and tinker has exited.

same issue here

Confirmed -- only happens w/HTTPS

Just saying this is still an issue


What is the default mappings?

Can't find it in readme

Same here did u find it yet?

For the same problem

Same Here


Dangling End of Message

Fix problem with a 'dangling' end of message after enabling chunked framing.
Also, add a comment to explain previous fix to address problem with data buffered in the pipe.

Pull Request Test Coverage Report for Build 11

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 72.113%

Totals

Change from base Build 10:
0.0%

Covered Lines:
331

Relevant Lines:
459

💛  - Coveralls


link scenarios correctly to cost surfaces after cloning [MRXN23-606]

Allow scenarios to be linked correctly to copies of cost surfaces within cloned projects.
Feature relevant tickets
https://vizzuality.atlassian.net/browse/MRXN23-606

Checklist before submitting

[ ] Meaningful commits and code rebased on develop.
[ ] If this PR adds feature that should be tested for regressions when
deploying to staging/production, please add brief testing instructions
to the deploy checklist (docs/deployment-checklist.md)
[ ] Update CHANGELOG file

another yolo merge, pending hexagonization of one method to use a mock in tests instead


CSS not being applied to Task Scene

Location: Task.fxml
Observed behaviour: CSS styling is not being applied to the popup scene
Operating System: Windows 11
Steps to reproduce:

Open the Task.fxml scene from the MainScreen.fxml scene.
Observe the lack of CSS style applied to the popup scene

Potential cause: This may be because the task.css file is not being applied to the popup window on the startup
Screenshots:

Just checked MainScreen.css and seems to work fine by adding<EMAIL_ADDRESS>to the root element (AnchorPane) in MainScreen.fxml. Not sure if can be applied to Task.fxml.
Approved by Ou-An


Need new cartographer_ros release to sync with cartographer 2.0.0

Since cartographer/common/mutex.h is deleted at https://github.com/cartographer-project/cartographer/commit/8d5bf2a5dd823624c574359ba20558c9f0ab0323, the current cartographer_ros release 1.0.0 cannot be compiled against cartographer 2.0.0. That is not the only problem, I guess.

Same issue here, I will try a quick PR


Improving Footer

What is the bug*
Improving the footer, fixing those social media icons in the footer.
Expected behavior
Want to add services , contact, and social media icons in footer

Screenshots
Additional context
Add any other context about the problem here.

What is the bug* Improving the footer, fixing those social media icons in the footer.
Expected behavior Want to add services , contact, and social media icons in footer
Screenshots
Additional context Add any other context about the problem here.

Please assign this issue to me under Hacktoberfest 2022.

I can do it too.
Till now i have solved 2 issues of this Repository, So i have good knowledge of my Tech Stack and Github contribution.

Thank you @asphalke07 and @Rashmisingh-18 for your interest
But this issue is alreday present and  has been assigned to someone else
Please create new issue or look for other issues presesnt.
Star the repo 🌟  to show your support.


Apply fixes from StyleCI

This pull request applies code style fixes from an analysis carried out by StyleCI.

For more information, click here.

obsolete with d14e9c56e26ecfd036a20c62a51e334380254266


Illegal instruction

Hello,
I have a python3 script on my computer that I can run with python3 motion_detection.py and that works, I tried to use it on my Raspberry and something fails with message Illegal instruction. The line that throws this error is: frame = imutils.resize(frame, width=500)
Here is the minimalist sample of code:
import imutils
import cv2
frame = cv2.imread('test.jpg')
frame = imutils.resize(frame, width=500)

I'm sure that frame is not None because I tried to save it and it worked.
I'm a bit confused because there is no more explaination that Illegal instruction
I checked the version of imutils that is the same on my computer that on the Raspberry (0.4.6)
Can someone help me please ?

I have tried this on a several of my raspberry pi 3 computers
1 running Jessie and Stretch
2  using opencv 3.4.2
3 using python2 and python3 per code below (just added imwrite to see that image was OK.
4 using latest imutils
No errors were reported and no illegal instructions reported.   You might try running dos2unix on the script file to make sure it is in unix format since there may be hidden character causing problem.   Just a thought.
import imutils
import cv2
frame = cv2.imread('test.jpg')
frame = imutils.resize(frame, width=500)
cv2.imwrite('test500.jpg', frame)

I don't think this is an imutils problem, it sounds like an OpenCV problem. If you want to confirm imutils vs. OpenCV, swap out the imutils.resize call with a cv2.resize call and that will tell you. But again, I'm 99% sure there is a problem with your OpenCV install so you may want to compile and re-install OpenCV.

If you are interested, I have a menu driven opencv 3.4.2  installation that automates most of the install process.  Allows customization of cv version and temporary file location.  Just added an Auto unprompted install menu pick.  See GitHub project here https://github.com/pageauc/opencv3-setup
Regards

Thanks for your replies
I tried to make a complete reinstallation of python3, pip3, opencv and imutils (but not the reinstallation of the Raspberry OS) and I still have the same problem.
I also tried:
$ python3
import imutils
import cv2
frame = cv2.imread('test.jpg')
frame = cv2.resize(frame, (0,0), fx=0.5, fy=0.5)
cv2.imwrite('testresize.jpg', frame)

and it worked, when replacing frame = cv2.resize(frame, (0,0), fx=0.5, fy=0.5) by frame = imutils.resize(frame, width=500) still throw a Illegal instruction
Thanks @pageauc for your install tool, i'll have a try.
I think that the next step for me is to completely reinstall my Raspberry

The only time I have seen illegal instruction is once when testing my menu driven opencv install.  I inadvertently added NEON directive on a RPI2.  NEON directive can only be used on RPI3's.  NEON is an ARM optimization for better video and media performance.
My menu driven install accommodates for this and detects if the RPI is a 2 or 3 and sets directory off if it is RPI2.  I updated the https://github.com/pageauc/opencv3-setup project to ver 3.1.  Now tells you what current opencv version you are running and warns you if you are trying to install the same version.
I would appreciate feedback on your experience with my menu driven opencv install from source project.
Regards
Claude ...

I'm currently trying to reinstall with your tool @pageauc
CMake is soooo long... Maybe I will completely reinstall the Raspberry

Do you know how I could get a stacktrace for this error ? I'm not expert in python, I tried with:
try:
    imutils.resize......
except:
    print("An error occured ...")
    traceback.print_exc()

But i can't get a stacktrace

Hello @jrosebr1 @pageauc
I have some news about this issue:
I completely reinstalled my Raspberry Pi Zero, reinstalled cv2 and imutils and I still have the error. Here are the steps I followed:

formatted the SD card in ext4
enabled ssh to connect from my computer
sudo pip3 install opencv-python imutils numpy scipy
sudo apt-get install libatlas-base-dev libjasper-dev libqtgui4 python3-pyqt5 libqt4-test
wget http://keenthemes.com/preview/metronic/theme/assets/pages/media/profile/profile_user.jpg
mv profile_user.jpg test.jpg
python3
>>> import cv2
>>> import imutils
>>> frame = cv2.imread('test.jpg')
>>> type(frame)   ==> <class 'numpy.ndarray'>
>>> frame = imutils.resize(frame, width=500) ==> Illegal instruction

As I called imutils.resize(frame, width=500) I tried to execute the same code as the resize method:
>>> import cv2
>>> import imutils
>>> frame = cv2.imread('bla.jpg')
>>> (h, w) = frame.shape[:2]
>>> h
750
>>> w
750
>>> r = 500 / float(w)
>>> r
0.6666666666666666
>>> dim = (500, int(h * r))
>>> dim
(500, 500)
>>> resized = cv2.resize(frame, dim, cv2.INTER_AREA)
>>> cv2.imwrite('blabla.jpg', resized)
True

And everything was ok...
I will use this in my code (not the imutils method) and I will close the issue, feel free to repopen if someone has the same problem but for the moment, it seems that I'm the only one to have this issue
Thanks for your help ! :)

Oh man, I wish I knew you were using a Pi Zero, @qlerebours. The Pi Zero can be a real pain to use OpenCV on as its a slightly different architecture which ends up causing massive issues. If at all possible you should try to use a Pi 3. I understand that in some situations you need the Zero, but the Pi 3 is my general recommendation.
If the interpolation is breaking the function call you may want to try a different interpolation. The value cv2.INTER_AREA is used by default. Do you still get an illegal instruction for cv2.INTER_CUBIC and the other interpolation methods?

I've got same error using Raspberry Pi model B and Debian Stretch. I compiled OpenCV 3.4.3. When I started OpenCV I get error Failed to load module "canberra-gtk-module", but OpenCV still works. But If I resize imshow window I'll get Illegal instruction error. Then I installed libcanberra-gtk-module and there were no errors anymore. Maybe this has some relation to your errors.

@jrosebr1 I can confirm that changing the interpolation from cv2.INTER_AREA to cv2.INTER_CUBIC on the Pi Zero appears to work.


As a user I would like to list my API with the exchange so that developers can find my API through the exchange listing service.

Users can list their API and the exchange listing service will allow the API to be discover-able.
Created by Paul
DOD

Users can list their API
The exchange listing service will act as a proxy service.
Users can be directed to the users API console.

Connect with Peter, Todd, Leo and Fred.

As a BC government API contributor I would like my API, that I have already listed in the BC Data Catalogue, to automatically appear in the BCDevExchange API list, so that I don't have to maintain information about my API in two places.

@gjlawran, bcdevx API listing service will require swagger url for each api. Can BCDC meet this requirement?

@f-w swagger definitions do not exist for most APIs - worldwide - however, of the APIs currently registered in BCDC a couple have partial Swagger definitions.  We don't have consistent  place to store  the swagger URL in BCDC - the requirement for a swagger definition was not raised by contributors or consumers in requirements - however we could easily appropriate the more info URL element for that purpose.
@paulroberts68  is there a requirements doc / story for the API list? Perhaps there are other things that we should be referencing / capturing.
raised as APIdoes not have swagger dewe do not have swagger definitions is there a list of requirements for the API exchange listing service?

@gjlawran, I am trying to make bcdevx API listing service beyond the capability of shallow referring-only so that developers can go straight to the consistent API "try it out" console UI without jumping the hoops. I see Swagger is the means to achieve this ends.

@f-w absolutely, having a console UI for developers to more quickly, and more likely, engage with the API should be encouraged.
Just not sure if DevEx wants to bar the door to entry for those APIs that can't yet provide a valid swagger definition.
Certainly highlighting those APIs that can provide one, and giving them incentive via a rich console experience, and even providing them with an easy editor are all great ways to encourage that - but not allowing them in the door in the first place seems like an opportunity lost.
We try to do the same thing with data. We don't turn away data if it isn't just available via an API. Having it available via an API may be great, but having the data first and foremost is the objective.

@gjlawran , does or can BCDC capture swagger URL in registration form, even if the field is optional? Otherwise if BcDevX includes BCDC data, then the API provider will tend to manually register the API swagger to BCDevX, resulting in duplicated entries.

BCDC can capture swagger URL in registration form. BCDC could also store
the YAML/JSON itself vs. hosted at an external location - e.g. GitHub,
GitLabs.  Not sure what the best practice might be in this regard.
On Mon, Nov 30, 2015 at 11:41 AM, Fred<EMAIL_ADDRESS>wrote:

@gjlawran https://github.com/gjlawran , does or can BCDC capture
swagger URL in registration form, even if the field is optional? Otherwise
if BcDevX includes BCDC data, then the API provider will tend to manually
register the API swagger to BCDevX, resulting in duplicated entries.
—
Reply to this email directly or view it on GitHub
https://github.com/BCDevExchange/BCDevExchange-app/issues/203#issuecomment-160736717
.

@gjlawran There are a couple of stories that have materialized as a result of some research (201 and 200). Ideally we need to conduct a UX workshop to determine/refine/confirm the features that the exchange users actually want from a listing service and @ragbay @lmullane would be able to help us create this. The API listing service is not a priority for this sprint but we could attempt some research between the 18th Dec through 24th (or before capacity permitting).

I'm closing this issue as much of the acceptance criteria is complete. I'm going to open a new issue to capture Paul's final comment.


Dalco networking issues

pending

The incident report has been created here: https://git.speag.com/oSparc/osparc-infra/-/issues/35. Following this incident, will be added tests that will test dns resolution and floating IP allocation to automatically detect network issues that occurred recently.

The tests that check the issues that have occurred during this incident: https://github.com/ITISFoundation/osparc-ops-environments/issues/379

The only task left is to write a helper Readme that will help to discover / trace / identify / debug network issues that have occurred during this incident and ideas how to test network that appeared during this incident

This instructions describing how to trace / debug / resolve issues can be found here:
https://git.speag.com/oSparc/osparc-infra/-/issues/35#lessons-learned

It will be closed once we fix Dalco 6 and 13 machines

Dalco13 is with IT Support atm

To-Do: Ping Andrea, get status update

We decided to give up on Dalco 13. In case we need it back we can reopen this issue.


pushtotalk.py throws an error when no voice command is given

Basically if you press enter while running pushtotalk.py and don't say anything for several seconds, this error gets thrown:
Traceback (most recent call last):   File "pushtotalk.py", line 435, in <module>     main()   File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/click/core.py", line 722, in __call__     return self.main(*args, **kwargs)   File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/click/core.py", line 697, in main     rv = self.invoke(ctx)   File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/click/core.py", line 895, in invoke     return ctx.invoke(self.callback, **ctx.params)   File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/click/core.py", line 535, in invoke     return callback(*args, **kwargs)   File "pushtotalk.py", line 424, in main     continue_conversation = assistant.assist()   File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/tenacity/__init__.py", line 214, in wrapped_f     return self.call(f, *args, **kw)   File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/tenacity/__init__.py", line 295, in call     start_time=start_time)   File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/tenacity/__init__.py", line 252, in iter     return fut.result()   File "/usr/local/lib/python3.6/concurrent/futures/_base.py", line 398, in result     return self.__get_result()   File "/usr/local/lib/python3.6/concurrent/futures/_base.py", line 357, in __get_result     raise self._exception   File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/tenacity/__init__.py", line 298, in call     result = fn(*args, **kwargs)   File "pushtotalk.py", line 169, in assist     self.conversation_stream.stop_playback()   File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/googlesamples/assistant/grpc/audio_helpers.py", line 288, in stop_playback     self._source.stop()   File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/googlesamples/assistant/grpc/audio_helpers.py", line 221, in stop     self.flush()   File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/googlesamples/assistant/grpc/audio_helpers.py", line 211, in flush     self._audio_stream.write(b'\x00' * self._flush_size)   File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/sounddevice.py", line 1202, in write     _check(err)   File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/sounddevice.py", line 2563, in _check     raise PortAudioError(errormsg, err) sounddevice.PortAudioError: Can't write to an input only stream [PaErrorCode -9974]
It seems like as soon as you start speaking, the stream becomes writable. How can I close this stream wihle it is input-only?

Same as #155

@spenceco can you give a try to #188

still getting the same error:
Traceback (most recent call last):
File "pushtotalk.py", line 435, in
main()
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "pushtotalk.py", line 424, in main
continue_conversation = assistant.assist()
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/tenacity/init.py", line 214, in wrapped_f
return self.call(f, *args, **kw)
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/tenacity/init.py", line 295, in call
start_time=start_time)
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/tenacity/init.py", line 252, in iter
return fut.result()
File "/usr/local/lib/python3.6/concurrent/futures/_base.py", line 398, in result
return self.__get_result()
File "/usr/local/lib/python3.6/concurrent/futures/_base.py", line 357, in __get_result
raise self._exception
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/tenacity/init.py", line 298, in call
result = fn(*args, **kwargs)
File "pushtotalk.py", line 169, in assist
self.conversation_stream.stop_playback()
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/googlesamples/assistant/grpc/audio_helpers.py", line 288, in stop_playback
self._source.stop()
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/googlesamples/assistant/grpc/audio_helpers.py", line 221, in stop
self.flush()
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/googlesamples/assistant/grpc/audio_helpers.py", line 211, in flush
self._audio_stream.write(b'\x00' * self._flush_size)
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/sounddevice.py", line 1202, in write
_check(err)
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/sounddevice.py", line 2563, in _check
raise PortAudioError(errormsg, err)
sounddevice.PortAudioError: Can't write to an input only stream [PaErrorCode -9974]

throws this error:
Traceback (most recent call last):
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/grpc/_channel.py", line 187, in consume_request_iterator
request = next(request_iterator)
File "pushtotalk.py", line 123, in iter_assist_requests
for c in self.gen_assist_requests():
File "pushtotalk.py", line 201, in gen_assist_requests
for data in self.conversation_stream:
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/googlesamples/assistant/grpc/audio_helpers_fixed.py", line 313, in
return iter(lambda: self.read(self._iter_size), b'')
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/googlesamples/assistant/grpc/audio_helpers_fixed.py", line 295, in read
return self._source.read(size)
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/googlesamples/assistant/grpc/audio_helpers_fixed.py", line 189, in read
buf, overflow = self._audio_stream.read(size)
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/sounddevice.py", line 1107, in read
_check(err)
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/sounddevice.py", line 2563, in _check
raise PortAudioError(errormsg, err)
sounddevice.PortAudioError: Stream is stopped [PaErrorCode -9983]
Traceback (most recent call last):
File "pushtotalk.py", line 435, in
main()
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "pushtotalk.py", line 424, in main
continue_conversation = assistant.assist()
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/tenacity/init.py", line 214, in wrapped_f
return self.call(f, *args, **kw)
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/tenacity/init.py", line 295, in call
start_time=start_time)
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/tenacity/init.py", line 252, in iter
return fut.result()
File "/usr/local/lib/python3.6/concurrent/futures/_base.py", line 398, in result
return self.__get_result()
File "/usr/local/lib/python3.6/concurrent/futures/_base.py", line 357, in __get_result
raise self._exception
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/tenacity/init.py", line 298, in call
result = fn(*args, **kwargs)
File "pushtotalk.py", line 131, in assist
self.deadline):
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/grpc/_channel.py", line 347, in next
return self._next()
File "/home/pi/Projects/virtual_envs/spence.codes_venv/lib/python3.6/site-packages/grpc/_channel.py", line 341, in _next
raise self
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with (StatusCode.CANCELLED, Cancelled)>

@spenceco can you give it another try, I fixed a typo :)

looks like its fine now! thanks!

actually, while this fixes the aforementioned issue, now it the code seems to hang whenever I actually DO give some voice input. The input is printed out in the terminal, but the code never finishes my audio request and continues execution.

I have got the same issue with using the #188
Any solution for this please?

I have same behavior as @spenceco.
With fresh installed 0.4.4 SDK the error occure like described in the beginning (#185).
After update audio_helpers.py from #188 (with Typo fixing) hanging without answer (as described by @spenceco three lines above).
Running audio_helpers.py stand alone, also hanging after recording.
So what is the solution?


added charmm ff files

Description
Created Folder with CHARMM FF files and input scripts. First try of adapting it to OpenMM Syntax.
Todos

[x] check options of createSystem Class
[x] check options for integration methods
[x] setting up dynamics

Questions

[x] How are Drude particles/Lone Pairs managed? (Had Problems with the Modeller class)
[x] Did I try the right way to set up the PBC?

Status

[x] Ready to go

LGTM --- we can go ahead and merge this branch.


Update Pages “WhereDoTermitesComeFromPage”

Automatically generated by Netlify CMS

👷 Deploy Preview for chic-shortbread-66a66b processing.

Name
Link

🔨 Latest commit
633e8e8bd99449a6a8ba6d6ba4447e379305fd7e

🔍 Latest deploy log
https://app.netlify.com/sites/chic-shortbread-66a66b/deploys/655d8ae856791300080cf1c2


select: type(sum(l.amount),ModuleName) raises exception

Environment

Elixir master and 1.6.4
Mac OSX High Sierra

Current behavior
iex> q = from l in Ledger, select: type(sum(l.amount), Money.Ecto.Composite.Type)
** (UndefinedFunctionError) function :__aliases__.type/1 is undefined (module :__aliases__ is not available)
    :__aliases__.type({:__aliases__, [line: 8, counter: -576460752303421118], [:Money, :Ecto, :Composite, :Type]})
    (ecto) lib/ecto/type.ex:243: Ecto.Type.match?/2
    (ecto) lib/ecto/query/builder.ex:374: Ecto.Query.Builder.assert_type!/3
    (ecto) lib/ecto/query/builder.ex:235: Ecto.Query.Builder.escape/5
    (ecto) lib/ecto/query/builder/select.ex:119: Ecto.Query.Builder.Select.escape_with_type/5
    (ecto) lib/ecto/query/builder/select.ex:204: Ecto.Query.Builder.Select.build/5
    (ecto) expanding macro: Ecto.Query.select/3
    iex:8: (file)

Where amount is a custom ecto type that supports a Postgres composite type. There are no known issues with this part which has been around for a while.
Source of the error
The error surfaces with a select containing an aggregate function inside a type expression with a custom Ecto type.  In this case the aggregate is sum(l.amount) and the custom type module is Money.Ecto.Composite.Type.
The issue appears to be in Ecto.Query.Builder
  defp assert_type!(expr, type, actual) do
    if Ecto.Type.match?(type, actual) do   <<---- type is quoted
      :ok
    else
      error! "expression `#{Macro.to_string(expr)}` does not type check. " <>
             "It returns a value of type #{inspect actual} but a value of " <>
             "type #{inspect type} is expected"
    end
  end

because type in this case is the quoted form of the module Money.Ecto.Composite.Type
Possible fix
The fix appears to be a simple one (tested on master with mix test) and all tests pass.  Simply expanding the type before calling Ecto.Type.match?/2.
  defp assert_type!(expr, type, actual) do
    if Ecto.Type.match?(Macro.expand(type, __ENV__), actual) do
      :ok
    else
      error! "expression `#{Macro.to_string(expr)}` does not type check. " <>
             "It returns a value of type #{inspect actual} but a value of " <>
             "type #{inspect type} is expected"
    end
  end

Future work
I took a look at the test suite but its not clear to me where to add tests and how best to test this.  Suggestions welcome.  Also fine to submit a PR.
Expected behavior
When testing with this change the correct result is returned:
iex> q = from l in Ledger, select: type(sum(l.amount), Money.Ecto.Composite.Type)
#Ecto.Query<from l in Ledger,
 select: type(sum(l.amount), Money.Ecto.Composite.Type)>
iex> Repo.all q
[debug] QUERY OK source="ledgers" db=6.0ms
SELECT sum(l0."amount")::money_with_currency FROM "ledgers" AS l0 []
[#Money<:USD,<PHONE_NUMBER>0>]

I wonder if select: type(sum(l.amount), ^Money.Ecto.Composite.Type) would also work?

@kipcole9 beautiful. Could you please send a PR with tests? We have some custom types already in ecto test suite you could use. Thanks!

Closing since this is working as expected on master.

I just came to the same issue and I cannot use a source.field notation as I'm querying a dynamic field:
select: type(sum(field(x, ^field)), Money_Composite)
select: type(sum(field(x, ^field)), ^Money_Composite)
select: type(sum(field(x, ^field)), :money_with_currency)
select: type(sum(field(x, ^field)), field(x, ^field))

Neither of the above seem to work.

Can you please open up a new issue with Ecto version, sample queries,
letting us know if this a regression or not and so on? Thank you.
José Valimwww.plataformatec.com.br
http://www.plataformatec.com.br/Founder and Director of R&D


InvocationOptions enum in JS and iOS code doesn't match

In JS:

https://github.com/Instabug/instabug-reactnative/blob/master/index.js#L1169-L1172
https://github.com/Instabug/instabug-reactnative/blob/master/modules/BugReporting.js#L218-L221

In iOS:

https://github.com/Instabug/instabug-reactnative/blob/master/ios/RNInstabug/InstabugReactBridge.m#L628-L631

Because of this issue, adding any invocationOption parameter causes an error if the invokeWithInvocationModeAndOptions method is called.

Thanks for the report. This is due to the same root cause as #179, and we're working on a fix that addresses it.
Closing this for now and keeping the discussion at #179.


Plotting set lines on the chart

Is there a way to plot a set line on the chart? For example like oversold/undersold levels on an RSI indicator.

Yes... that's just been added a couple of weeks back.
Here's an example:
const plotData = {
    // Data for the chart.
    values: data,

    // Anotations for the chart.
    annotations: {
        timestamp: [
            {
                value: "2020-01-16",
                style: "buy",
            },
            {
                value: "2020-02-24",
                style: "sell",
            },
        ],
        close: [
            {
                value: 188.70,
                text: "Peak value",
                style: "info",
            },
        ],
    }
};

// Style and configuration for the chart.
const plotConfig = {
    y: {
        max: 200,
    },
    annotations: {
        buy: {
            lineColor: "green",
            label: {
                text: "Buy",
                backgroundColor: "green",
                font: {
                    color: "white",
                },
            },
        },
        sell: {
            lineColor: "red",
            label: {
                text: "Sell",
                backgroundColor: "red",
                font: {
                    color: "white",
                },
            },
        },
        info: {
            lineColor: "blue",
            label: {
                offsetX: "60px",
                position: "left",
                backgroundColor: "blue",
                font: {
                    color: "white",
                },
            },
        },
    },
};

plot(plotData, plotConfig, { x: "timestamp", y: "close" })
    .renderImage("chart.png");

If you haven't already, please star this repository.

Ah thanks, I tried looking through source and didn't notice these options. Thanks a lot :)

Just to clarify, is this the same for data-forge-plot?

Just to clarify, does this work the same way in df notebook?

Yes that's right. In fact look at charts.notebook for an example.
This should definitely work:
display.plot(data.toArray())
The DFP version might not work:
display(data.plot())
Because I think DFN is on an old version of DFP. I'll have to check that and update.


[BUG] d8.tv /c8.fr broken ?

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.09.08. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.09.08

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)

$ youtube-dl -v http://www.d8.tv/d8-docs-mags/pid5198-d8-en-quete-d-actualite.html?vid=1390231
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.d8.tv/d8-docs-mags/pid5198-d8-en-quete-d-actualite.html?vid=1390231']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.09.08
[debug] Proxy map: {}
[Canalplus] 1390231: Downloading video JSON
ERROR: An extractor error has occurred. (caused by StopIteration()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 347, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/canalplus.py", line 119, in _real_extract
fmt_url = next(iter(media.get('VIDEOS')))
StopIteration
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 691, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 353, in extract
raise ExtractorError('An extractor error has occurred.', cause=e)
ExtractorError: An extractor error has occurred. (caused by StopIteration()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Thank you for your help.

Duplicate of #10577.