"No matching workspace symbols" since 2020.11

Issue Type: Bug
After upgrading to 2020.11 (with the latest Pylance language server) I no longer find any workspace symbols. Downgrading to 2020.10 fixes it for me. No details in the python or pylance output panes.
Extension version: 2020.10.332292344
VS Code version: Code - Insiders 1.52.0-insider (050a123750e4ef4009930d0da1ff7a1a6441d4f3, 2020-11-12T05:43:04.852Z)
OS version: Windows_NT x64 10.0.19042
Remote OS version: Linux x64 5.4.72-gentoo
Remote OS version: Linux x64 5.4.72-gentoo
Remote OS version: Linux x64 5.4.72-gentoo

System Info

Item
Value

CPUs
AMD Ryzen 7 2700X Eight-Core Processor          (16 x 3693)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.93GB (18.17GB free)

Process Argv
--crash-reporter-id c6195c38-5aa8-4897-b60d-c88b99231d15

Screen Reader
no

VM
0%

Item
Value

Remote
SSH: eluvian

OS
Linux x64 5.4.72-gentoo

CPUs
AMD Ryzen 5 3600X 6-Core Processor (12 x 3599)

Memory (System)
31.35GB (3.99GB free)

VM
0%

Item
Value

Remote
SSH: eluvian

OS
Linux x64 5.4.72-gentoo

CPUs
AMD Ryzen 5 3600X 6-Core Processor (12 x 3599)

Memory (System)
31.35GB (3.99GB free)

VM
0%

Item
Value

Remote
SSH: eluvian

OS
Linux x64 5.4.72-gentoo

CPUs
AMD Ryzen 5 3600X 6-Core Processor (12 x 3599)

Memory (System)
31.35GB (3.99GB free)

VM
0%

Can you set "python.analysis.indexing": true and reload to see if that fixes your issue?
But, I'm not certain how downgrading the Python extension would be fixing it...

"python.analysis.indexing": true, doesn't change anything, but that setting is also showing up as "Unknown Configuration Setting"...

Yes, it's hidden.
I don't know if Pylance did anything to cause this, if downgrading the extension fixes it... If you use the latest Python extension but use MPLS, do workspace symbols work? Or is it exclusive to Pylance?

Pylance also updated yesterday, so I'd check if downgrading that works, but if you said downgrading the Python extension fixed it then that shouldn't work either.

I'm also having the same issue...python.analysis.indexing did not fix. Downgrading python worked, thanks!

Downgrading Pylance was actually the first thing I tried even before downgrading this extension and it didn't help.
When switching to the Microsoft language server, the download seems to gets stuck at whatever step comes before 100% (not a connection issue, wget works fine), so I can't try that one.

@karthiknadig I'm not entirely certain that this is a Pylance bug, if downgrading us doesn't fix anything, but downgrading the core extension does. No clue what would have changed; doc symbols goes directly from Pylance to the editor via the LSP client.

@ThiefMaster
can you set this in setting.json
"python.trace.server": "verbose",
"python.analysis.logLevel": "Trace",
and provide us logs? it will show us whether we (Pylance) got request or not.

sure:

language server output - it receives the query and finds the symbol
nothing shows up in the python output

@ThiefMaster thank you for the log ThiefMaster!
so it looks like Pylance get the request and respond to it correctly. there seems to be a bug in python extension side. @judej @jakebailey reroute the bug? or should we fix it in python extension repo ourselves?


Segfault with Ctrl + D

needed to check in the lexer if the input is NULL so it doesnt continue with the process.


Project Idea: Clifford Attractors

This would be a fun data visualization project. see ie clifford attractors

Might be fun to include a section on setting up a large instance on amazon, run a visualization with lots of points to get really high resolution, download the image, and tear down the instance. Include a nice caveat that if you accidentally leave the instance running, your wallet will be unhappy.


Crash when opening an encrypted Realm

Goals
Open an encrypted Realm file.
Expected Results
Realm file can be opened.
Actual Results
Crash when opening the Realm file.
Steps to Reproduce
I have sent you the offending Realm file including the encryption key privately.
Version of Realm and Tooling
Realm version:  0.97.1, 0.100.0
Xcode version: 7.3
iOS/OSX version: 9.3.1
Dependency manager + version: Cocoapods 0.39.0

Let's continue this conversation privately since it deals with privately encrypted material.


iPhone Bluetooth Connection Issue

Hi team,
I've built your fogStringSearch project, and tested successfully with one single iPhone 6s (iOS 9). However, I failed to set up Bluetooth connection between 2 or more iOS devices (have tried 2 iPhone 6s, 1 mac + 1 iPhone 6s, 2 macs), thus failed to test fogStringSearch in parallel.
Are you using Bluetooth to connecting multiple devices? If so, have you ever run into any issues setting up the connection?
Thanks in advance for your response!

Hi @sayo33,
Sorry for the delay.  Where you able to get fogStringSearch running on more than one device?
Out team has not seen the issues you describe.  The communication relies on a Wi-Fi or Bluetooth chipset and is built on Apple's Multipeer Connectivity framework.  Please double check that all devices you want to connect are actively running fogStringSearch and that each device has bluetooth and/or wifi are enabled.
Please let me know if you are still having issues.
Thanks,
Scott


Deprecation warning in rails 3.2, with potential fix

Rails 3.2 rc1 gives the following message when using mongoid:
DEPRECATION WARNING: ActionDispatch::ShowExceptions.rescue_responses is deprecated. Please configure your
exceptions using a railtie or in your application config instead. (called from <top (required)> at
/Users/*snip*/config/environment.rb:5)"

It is shown when, for example, running rspec and makes the test output less clean than it would normally be. The line it points at is just Application.initialize! and since it's just a warning rather than an exception no stack trace is shown. I modified ActionDispatch temporarily to throw an exception and the offending code is ActionDispatch::ShowExceptions.rescue_responses.update({ in railtie.rb.
Modifying that line to config.action_dispatch.rescue_responses.update({, which is how ActiveRecord does it, makes the warning go away. With that change all tests still pass and there is no apparent change in behavior so that might be an easy fix, although I wouldn't know if there's a better solution.

That fix will be great for 3.2, will break 3.1 so we will just need to do a check.

I just bumped into this while upgrading Rails to 3.2 after yesterday's release. Is there a chance you could push out a patch release to rubygems in order to get rid of this?
The deprecation warning is quite mysterious in only pointing at your app's environment.rb (the app initialization call to be more specific), and I figured the actual source out by tapping into the actual deprecated method. I think this might confuse people, so having a new release out quickly would be great as people will probably start upgrading their apps next week. Thanks!

Yes this will be in 2.4.2, which I will release on Monday.

Ah great, thanks. I only had a look at your milestone listing and it said that deadline for 2.4.2 was in 9 days :)
Thanks a lot for all your work on this project!

Yeah I moved it up since there hasn't been the flurry of issues with 2.4.x as the other releases. I usually run in 2 week cycles for point releases.


Not hiding overlay with HUD

I have installed the Ping Plugin <IP_ADDRESS> via XLPlugins and whether I turn on or turn off "Hide overlays with HUD", the overlay does not hide when I press the hide HUD hotkey. Other overlays (like the FPS Overlay) do. It's quite bothersome because it also shows up in in-game screenshots.

Noted, I'll lift a fix for this from FPSPlugin when I'm back home in a few days.

Closed with v1.5.1, waiting for merge.

It looks like it is correctly hiding when I hide the HUD now but... now when I unhide the HUD, it remains hidden, it seems.

Waiting on another update merge, that bit of memory was updated this patch.

Should be available now.


doc(upgrade): grammatical fix. removed duplicate word 'our'

I signed the CLA

Hi, the pull request was closed without merging. Is this not a valid fix? Please let me know

You just didn't read the warning when creating a new pull request :)

Oh I am sorry, this was my first pull request so I am new to this. Do I have to create an issue first for this? Please let me know the correct way to do this

Ah my bad. I guess I have submitted to the wrong repository which is deprecated now. I will submit a pull request to angular repo. Thanks for pointing now the mistake


Different behaviour for CNP creation vs CNP update

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Description
The behaviour of a CiliumNetworkPolicy is not consistent.
Creating a policy then editing it will result in a different behaviour compared to creating the final policy from scratch when using the following functionalities:

toEndpoints/fromEndpoints
toCIDR/fromCIDR
toCIDRSet/fromCIDRSet
toEntities/fromEntities

This issue is related to https://github.com/cilium/cilium/pull/29608 .
Versions before 1.16 are not affected but it should be treated as a release blocker for 1.16.0.
How to reproduce
Create a pod:
kubectl run tmp-shell --rm -i --tty --image nicolaka/netshoot:v0.8 -- zsh

Apply the following policy:
apiVersion: "cilium.io/v2"
kind: CiliumNetworkPolicy
metadata:
  name: test
spec:
  endpointSelector:
    matchLabels:
      run: tmp-shell
  egress:
  - toCIDR:
    - <IP_ADDRESS>/32
    toPorts:
      - ports:
          - port: "80"

Inside the pod you can see that the result is as expected:
$ curl -m 1 <IP_ADDRESS>

<title>301 Moved Permanently</title>

301 Moved Permanently

cloudflare

$ curl -m 1 <IP_ADDRESS>
curl: (28) Connection timed out after 1002 milliseconds

Now update the policy and include an empty toEndpoints list:
apiVersion: "cilium.io/v2"
kind: CiliumNetworkPolicy
metadata:
  name: test
spec:
  endpointSelector:
    matchLabels:
      run: tmp-shell
  egress:
  - toCIDR:
    - <IP_ADDRESS>/32
    toEndpoints: [] # <-- this
    toPorts:
      - ports:
          - port: "80"

Nothing changed:
$ curl -m 1 <IP_ADDRESS>

<title>301 Moved Permanently</title>

301 Moved Permanently

cloudflare

$ curl -m 1 <IP_ADDRESS>
curl: (28) Connection timed out after 1002 milliseconds

Delete the policy:
kubectl delete cnp test

Apply the exact same policy again:
apiVersion: "cilium.io/v2"
kind: CiliumNetworkPolicy
metadata:
  name: test
spec:
  endpointSelector:
    matchLabels:
      run: tmp-shell
  egress:
  - toCIDR:
    - <IP_ADDRESS>/32
    toEndpoints: [] # <-- this
    toPorts:
      - ports:
          - port: "80"

The behaviour changed:
$ curl -m 1 <IP_ADDRESS>
curl: (28) Connection timed out after 1002 milliseconds

$ curl -m 1 <IP_ADDRESS>
curl: (28) Connection timed out after 1001 milliseconds

Expected
The behaviour should be consistent regardless of the order of operation on a policy.
Following result is what a user should experience at all times for above policy with toEndpoints: [] in 1.16:
$ curl -m 1 <IP_ADDRESS>
curl: (28) Connection timed out after 1002 milliseconds

$ curl -m 1 <IP_ADDRESS>
curl: (28) Connection timed out after 1001 milliseconds

Cilium Version
# cilium-dbg version
Client: 1.16.0-rc.0 14c2b3d0 2024-06-17T16:32:13+02:00 go version go1.22.4 linux/arm64
Daemon: 1.16.0-rc.0 14c2b3d0 2024-06-17T16:32:13+02:00 go version go1.22.4 linux/arm64

Kernel Version
aarch64 6.4.16
Kubernetes Version
$ kubectl version
Client Version: v1.30.0
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.27.3

Regression
The behaviour for empty slices changed between 1.15 and 1.16 as per https://github.com/cilium/cilium/pull/29608 .
In 1.15 the behaviour is consistent at all times, regardless of the policy being updated or created.
Sysdump
No response
Relevant log output
No response
Anything else?
This is likely due to the following snippet:
  if ((in.ToEndpoints != nil) && (other.ToEndpoints != nil)) || ((in.ToEndpoints == nil) != (other.ToEndpoints == nil)) {
    in, other := &in.ToEndpoints, &other.ToEndpoints
    if other == nil {
      return false
    }

    if len(*in) != len(*other) {
      return false
    } else {
      for i, inElement := range *in {
        if !inElement.DeepEqual(&(*other)[i]) {
          return false
        }
      }
    }
  }

Kudos to @JamesLaverack
Cilium Users Document

[ ] Are you a user of Cilium? Please add yourself to the Users doc

Code of Conduct

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

Here is a quick script that does not depend on interactive behaviour:
#!/usr/bin/env bash
set -e

kubectl run tmp-shell --image nicolaka/netshoot:v0.8 -- sleep infinity

kubectl wait --for=condition=Ready pod/tmp-shell

echo ""
echo "Create CNP WITHOUT empty toEndpoints ..."

cat <<EOF | kubectl apply -f -
apiVersion: "cilium.io/v2"
kind: CiliumNetworkPolicy
metadata:
  name: test
spec:
  endpointSelector:
    matchLabels:
      run: tmp-shell
  egress:
  - toCIDR:
    - <IP_ADDRESS>/32
    toPorts:
      - ports:
          - port: "80"
EOF

sleep 1

echo ""
echo "-----"
echo "Testing access to <IP_ADDRESS>:80 ..."
kubectl exec tmp-shell -- curl --silent -m 1 <IP_ADDRESS> > /dev/null && echo "Works" || echo "Failed"

echo ""

echo "Testing access to <IP_ADDRESS>:80 ..."
kubectl exec tmp-shell -- curl --silent -m 1 <IP_ADDRESS> > /dev/null && echo "Works" || echo "Failed"

echo "-----"

echo ""
echo "Updating CNP WITH empty toEndpoints ..."

cat <<EOF | kubectl apply -f -
apiVersion: "cilium.io/v2"
kind: CiliumNetworkPolicy
metadata:
  name: test
spec:
  endpointSelector:
    matchLabels:
      run: tmp-shell
  egress:
  - toCIDR:
    - <IP_ADDRESS>/32
    toEndpoints: [] # <-- this
    toPorts:
      - ports:
          - port: "80"
EOF

sleep 1

echo ""
echo "-----"
echo "Testing access to <IP_ADDRESS>:80 ..."
kubectl exec tmp-shell -- curl --silent -m 1 <IP_ADDRESS> > /dev/null && echo "Works" || echo "Failed"

echo ""

echo "Testing access to <IP_ADDRESS>:80 ..."
kubectl exec tmp-shell -- curl --silent -m 1 <IP_ADDRESS> > /dev/null && echo "Works" || echo "Failed"

echo "-----"

echo ""
echo "Deleting CNP ..."
kubectl delete cnp test

echo "Creating same CNP as before WITH empty toEndpoints ..."
cat <<EOF | kubectl apply -f -
apiVersion: "cilium.io/v2"
kind: CiliumNetworkPolicy
metadata:
  name: test
spec:
  endpointSelector:
    matchLabels:
      run: tmp-shell
  egress:
  - toCIDR:
    - <IP_ADDRESS>/32
    toEndpoints: [] # <-- this
    toPorts:
      - ports:
          - port: "80"
EOF

sleep 1

echo ""
echo "-----"
echo "Testing access to <IP_ADDRESS>:80 ..."
kubectl exec tmp-shell -- curl --silent -m 1 <IP_ADDRESS> > /dev/null && echo "Works" || echo "Failed"

echo ""

echo "Testing access to <IP_ADDRESS>:80 ..."
kubectl exec tmp-shell -- curl --silent -m 1 <IP_ADDRESS> > /dev/null && echo "Works" || echo "Failed"

echo "-----"

echo ""
echo "Performing cleanup ..."
kubectl delete pod tmp-shell
kubectl delete cnp test

Executing the script should produce the following output:
$ /tmp/bug.bash
pod/tmp-shell created
pod/tmp-shell condition met

Create CNP WITHOUT empty toEndpoints ...
ciliumnetworkpolicy.cilium.io/test created

-----
Testing access to <IP_ADDRESS>:80 ...
Works

Testing access to <IP_ADDRESS>:80 ...
command terminated with exit code 28
Failed
-----

Updating CNP WITH empty toEndpoints ...
ciliumnetworkpolicy.cilium.io/test configured

-----
Testing access to <IP_ADDRESS>:80 ...
Works

Testing access to <IP_ADDRESS>:80 ...
command terminated with exit code 28
Failed
-----

Deleting CNP ...
ciliumnetworkpolicy.cilium.io "test" deleted
Creating same CNP as before WITH empty toEndpoints ...
ciliumnetworkpolicy.cilium.io/test created

-----
Testing access to <IP_ADDRESS>:80 ...
command terminated with exit code 28
Failed

Testing access to <IP_ADDRESS>:80 ...
command terminated with exit code 28
Failed
-----

Performing cleanup ...
pod "tmp-shell" deleted
ciliumnetworkpolicy.cilium.io "test" deleted

Ideally the test results should be the same after updating the policy and recreating it (as is the case pre-1.16).
Feel free to adapt script for E2E usage.


1657394: 17th batch of 20 files with new SEO descriptions.

Summary
For User Story 1657394: SEO OKR: [ms.prod(dotnet-framework)] Missing description issue (513).

@tdykstra @adegeo @BillWagner Can you please review and approve?


Extending the rotate utility and adding .prettierrc file / .jshintrc file

Hey
Saw that the rotate utility was missing the x and y specific rotates and that the scale/skew was missing the combined versions, since we use them we added them by hand, but would be nice to add to tailwind!
Also noticed that some of the RC files where missing to make VScode run out of the box without issues (jshint is preinstalled on vscode on windows for example)

Hey @danielkoek! Right now we only support basic rotations by design because we don't have any built in 3D transforms currently, and left out translate without x or y because it's very uncommon to need that in my experience and increases the CDN build size without adding much benefit.
Open to reconsidering some of this in the future but right now going to say no 😞  Sorry, really appreciate the contribution regardless.


Select All by Keyboard Shortcuts Results in Unexpected Behaviours

As far as I know Substance wraps selections in various browsers, however it seems the use of keyboard shortcuts for Select All (Ctrl-A/Cmd-A/Meta-A) results in various unexpected behaviours. For example in Firefox/Gecko, pressing Ctrl-A won't result in highlighting of any of the text. However in Chrome/Webkit, pressing Ctrl-A highlights all of the text, but any further keystrokes append text after one of the paragraphs, instead of removing all text nodes.
Edit: Highlighting using mouse is fine either case.

Also as a side note, it seems currently Firefox/Gecko has quite a number of strange behaviors too. May I ask if an official support on the latest version of Firefox is anticipated? Thanks.

Oh! Thanks for reporting.
Yes, Firefox is totally on our list. We are actually running our test-suites against Chrome and FF. However, we don't know yet how to test top-level native interactions, i.e. doing a real 'Select All', not just emulating it.
So these are regressions. We will try to fix it ASAP.

It seems that we have a regression which prevents that we receive any keyboard events in FF.
Investigating.

Fixed this via e3d61738e223f3019d3d0347a36bd204ca526a66.
Still I want to investigate if we can improve the situation regarding test-suite.

@michael shall we roll this out for beta 2?

Yes I can totally understand that - testing browser default interactions is tricky. I personally am interested in knowing if there are existing solutions out there for that, too.
Although it still couldn't replace an automated test, I think we might want to dogfood more on the intended browsers - often it feels like being a second-class using Firefox ;)

@michael can u check this on OSX?
I check my Windows and linux browsers.

Working under Windows Chrome, FF, and Edge.

Works on OSX Chrome/Safari/FF. Tested in Lens and pressed cmd+a in title editor / abstract editor and body editor.

Also under Ubuntu Chrome / FF no probs.

Tested substance/examples@4fd41f0ab27b57ae0f5efaaea764969a1b6d175e on Elementary OS(an Ubuntu fork). Firefox and Chromium work well (thanks!). Midori (the default browser that runs on Webkit and looks like Safari) doesn't, but I guess we can probably leave that one out.


Accept some views as regular plain arrays

A.k.a correctly handle strides with dimensions 0 or 1
Fix #1864

Thanks for addressing the issue. I think there may still be some issues with zero-sized arrays with this patch. If an array has no elements, then any of the strides can be arbitrary, not just the stride for the axis with length 0 (contrary to what I said in https://github.com/serge-sans-paille/pythran/issues/1864 ).  For example, I believe np.random.random((0, 2, 3))[:, :, :2] would still cause pythran to throw an error despite numpy considering it C-contiguous (I am unfortunately not a a computer to test this).

What a nice cornercase :-)

Updated with test case! Thanks for the follow-up


Integration of Angular X-Editable

I didn't experiment yet with your lib, but it looks promising: how hard would you say it is to integrate editing features with  http://vitalets.github.io/angular-xeditable/#overview ?

Same things here, could anybody find a workaround?
I can't use editable-form :(

Hello,
I'm trying to use x-editable on the latest version of trNgGrid but the tag editable-form throws a "Cannot read property '$data' of null" exception, before version 3 it was working fine, does somebody know how to make it work on version 3 too?
Thanks in advance.

What exactly is $ data ?
The sooner someone posts a fiddle/plunke/anything, the quicker it's gonna get solved.

Here's a quick example of the problem.
http://jsfiddle.net/cj9o2Lq5/

So it looks like that X-Editable waits for scope.$form.$data which was provided by earlier versions of trNgGrid, what do you think?

That might be it!

@SecondChance How is that sample suppose to work when forms with the same name get created, one for each individual item?

@MoonStorm Yes one for each row.
Check out the sample from x-editables site
http://vitalets.github.io/angular-xeditable/#editable-row
or their fiddle
http://jsfiddle.net/NfPcH/93/

Hi MoonStorm,
Do you think you can solve the issue in the next release?
otherwise is there any workaround you can suggest?
Thanks a lot for your hard work!

I'm trying to figure out when it was removed, to check if I could port it back to at least to my local branch, but I am unable to find the moment when it was removed.

Nothing was removed. You're looking at an example inspired from one of the samples from xeditable. For data binding, they use a ''$data'' variable, trNgGrid uses ''gridItem'' internally, so just replacing ''$data'' with ''gridItem'' you'll get SOMETHING working. But that's not the problem. The wrong form gets activated when you press on the ''edit'' button.

Perfectly clear now, thanks a lot for taking the time to explain it!

I added ids to each of the row forms (per row) to get rid of the '$data' of null" error:

                                {{gridItem.first}}

                                {{gridItem.last}}

                            <form editable-form name="rowForm_{{gridItem.id}}" ng-show="rowForm.$visible" class="form-buttons form-inline">
                                <button type="submit" ng-disabled="rowForm.$waiting" class="btn btn-primary btn-xs">
                                    Save
                                </button>
                                <button type="button" ng-disabled="rowForm.$waiting" ng-click="rowForm.$cancel" class="btn btn-default btn-xs">
                                    Cancel
                                </button>
                            </form>

                                <button class="btn btn-default btn-xs" ng-click="displaySaveForm">Edit</button>
                                <button class="btn btn-danger btn-xs" ng-click="deleteUser($index)">Delete</button>

I need to do the same with the .$visible, $waiting, $cancel variables.  How do I do that?

To be honest with you, I don't know. It looks like too much hacking for my taste. I'd just open up a  dialog, hook up nicely the editor to the entity over there:
http://angular-ui.github.io/bootstrap/
The moment we got support for multiple rows in the grid defintion, another option would be to display the editor on its own, on an expanded row with colspaned cells.

@MoonStorm so for now the best way would be the one you are suggesting I think.
Do you know if there will be full support for x-editable, and if so, do you have any timeframe for that? Not to pressure you of course, just to optimize my development.
Thank you for all the help you have provided so far!

I won't have time to look into making it x-editable friendly until finishing up the next release, which will allow for DOM modifying directives inside the table definition, and this alone requires a huge effort.

+1 for this feature!

+1!

+1 from me too.
As usual thank you @MoonStorm.

same here, +1. thanks

+1!!!!!!

I just pushed a change to the grid that allows for limited support of directives on the TR elements, enough to allow us to use X-Editable. The code is on the master branch. Here is the fiddle.

Hi @MoonStorm,
thanks for the MUCH appreciated update!!!!
I'm right now working on the integration and testing, I've seen that directives like ng-* are not supported, what about the e-ng-options? I'm trying to create an editable row that has a select box but I get the "TypeError: Cannot read property '$data' of null" error. Is that unsupported too?
Thank you!!


Fix config

This PR modifies the logic of SigmaMap. Now the value of it can be

"file_name". Then no scale factor is needed.
["median_file_name", "upper_file_name", "lower_file_name"]. The scale factor is needed in parameters, with "_sigma" suffix as before.
["median_file_name", "upper_file_name", "lower_file_name", "scaler_name"]

needed_parameters in component is also refined. Removed unnecessary parameters.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

28 of 38 (73.68%)  changed or added relevant lines in 2 files are covered.
29 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.08%) to 83.738%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

appletree/component.py
7
8
87.5%

appletree/config.py
21
30
70.0%

Files with Coverage Reduction
New Missed Lines
%

appletree/component.py
13
79.0%

appletree/config.py
16
81.25%

Totals

Change from base Build<PHONE_NUMBER>:
-0.08%

Covered Lines:
1931

Relevant Lines:
2306

💛  - Coveralls

Any idea why the doc fails? :) @dachengx


etcdhttp: reset serve and watch timeout

it is changed to make it more reasonable.
ServerTimeout doesn't need to be 5min that long, and watch is supposed to exist forever.
from #2023

lgtm


GetOrders is missing symbols parameter

GetOrders is missing symbols parameter.
See here for reference: https://alpaca.markets/docs/api-documentation/api-v2/orders/

That's odd, is this a new feature?

Not sure, but you can see the parameter in the link above and I tested, it
works.
On Tue, 23 Feb 2021, 01:28 Master Chief<EMAIL_ADDRESS>wrote:

That's odd, is this a new feature?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/117/alpaca/issues/59#issuecomment-783799501, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAI5PLGWJN23GCLBI7GBUPLTAMAE7ANCNFSM4YBOIHVQ
.


Partial export after additive import

Prof. Pruim: "I added in the CS schedule to look at things and then made some edits to the Math/Stat schedule.  Of course, now they are merged into one schedule, which I don't really want.  I don't have a proposed solution to this, but the ability to export just part of a schedule could be handy.  It seems like a common use case for adding in additional schedule would be to look at how that part one chair edits/controls interacts with another department's schedule, which they want handy on screen, but are not really editing."

This is a function/feature that we want to use when comparing Constraint type Conflicts across multiple department schedules.

The use case would be importing the CS department schedule.
Next, you would import the MATH department schedule.
Next, you would import your Constraint file and check if there are any Conflicts that arise.
You would then resolve the Conflicts.
At this point you want to save the changes, however only for either department schedule whether that be CS or MATH.

The current idea to implement this is just have an export function/button that filters on the Department field as that should be the same for every meeting in the CS or MATH departments respectively. Then you can save your changes after resolving conflicts across departments.

That would get us most of the way.  But there are some odd things.  For example:

I have someone in my department who teaches an EDUC course and two people who teach IDIS
I'm teaching DATA 303, but it is connected to CS

What we really need is a departmental home for each instructor, but that isn't in the current data.  But we could add a marker to an auxiliary input that would allow us to not export that part when doing an export.  Basically, on import there would be three options:

import as a replacement of whatever is current
import and merge (so the two schedules become one)
import but keep separate (and perhaps make uneditable?)

Seems like deciding this at the time of import and adding a column to track a row of the schedule as "primary" or "secondary" could be useful.
Another use case would be to compare this year's schedule to last year's schedule.  That is something my old schedulizer app did and it was very handy.

Currently when you click to add a section there is a Department box and a Prefix box. A Department string example could be "Computer Science" or "Math" and a Prefix string example could be "CS" or "MATH".
In your example:

I have someone in my department who teaches an EDUC course and two people who teach IDIS
I'm teaching DATA 303, but it is connected to CS
Would the Department all be "MATH" and just the Prefix strings are different?

Thanks for the idea of importing, but keeping separate too, I'll ask David his thoughts to solve this as well!
"Another use case would be to compare this year's schedule to last year's schedule. That is something my old schedulizer app did and it was very handy."
Was this a previous feature that existed that is something that would be nice to have again? Or was there a way in which you used the website to get this functionality, but that usage case no longer works?
Thanks again for ideas!

Regarding departments: In the current system, the departments are associated with courses, not instructors.  Here is the CSV row for Data 303:
Computer Science,22/SP,1/10/2022,2021,DATA-303-A,DATA,303,A,300,3.00,3.00,0,,24,30,44,NH 276,MWF,2:30PM - 3:20PM,1/10/2022,4/28/2022,NH,276,2:30PM,14:30:00,3:20PM,15:20:00,M,,W,,F,Modeling & Visualization,Randall Pruim,Active,LEC

Regarding the additional use case, that was something I had in my old shiny app version of Schedulizer.  I can check if it is still alive, but it might not be since I haven't been monitoring it in the last year or so.


Complete the Design of Partnership Page

Please review the page. I have made all the required changes and fixes.

I have an overall question. Do those pictures require any license or attribution we need to add to the page?


Download and list any charm artifact when running the integration tests

Overview
Use all charm artifacts for a given pull-request in the integration test.
Rationale
The current workflow requires that to test with a given charm artifact, there should be only one and it should be in the charm-file input.  That's fine for repos with a single charm, but when the repo contains multiple charms -- the tox command args should contain multiple --charm-file arguments.
Workflow Changes
the Download charm artifact step is changed to download all artifacts that match the *-charm pattern and merge into them into working-directory. (See download-artifact for details)
If the input.charm-file doesn't exist in the working-directory, look for all the charms downloaded  as charm_artifacts and add those to the args.
Checklist

[x] The contributing guide was applied
[ ] The PR is tagged with appropriate label (urgent, trivial, complex)

@arturo-seijas what do you think about just downloading all the artifacts with the pattern *-charm and uses each one as an arg to tox -e integration -- .

I think we currently only upload one charm artifact https://github.com/canonical/operator-workflows/blob/main/.github/workflows/integration_test.yaml#L254C14-L261, so I wonder if these changes would make sense in the current state of the workflow.

@cbartz I understand there's only one charm uploaded by this workflow.  I created a PR a while back to handle a situation where multiple charms in a repo would be built on a PR -- all with one integration test.
That PR didn't land, because there were some fatal flaws.  Much of these workflows expect a single charm artifact for a single architecture/base.  I hoped the change in this PR would be so slight that it wouldn't impact anyone who continues to use these workflows for a single charm.
I have a repo with two charms, which I build via a matrix, then store into k8s-charm and k8s-worker-charm artifacts.  I'd like to integration test them together -- but ATM, the integration run job can't find them.

@addyess  Ok understood, is your repo public, can you provide a link to it please?

@addyess Ok understood, is your repo public, can you provide a link to it please?

@cbartz I'll give you one better -- a link to an integration test run.  Two charm-builds, one integration test run (which right  now -- rebuilds the charms because it doesn't find them locally downloaded)
https://github.com/canonical/k8s-operator/actions/runs/7792451588


hamed/improve_connectivity_flow

I think there is a problem with connectivity_plus packages(or with my simulator).
Its onConnectivityChanged listener is sending wrong connectivity info.
Would you double check on real device?
https://user-images.githubusercontent.com/75987594/178471984-b27a8254-be08-4db0-910e-7d664fdffde5.mov

I think there is a problem with connectivity_plus packages(or with my simulator). Its onConnectivityChanged listener is sending wrong connectivity info, and app would stuck on loading. Would you double check on real device?
Screen.Recording.2022-07-12.at.2.38.52.PM.mov

this is not related to connectivity_plus package, connectivity package returns same result.
I think this should be a simulator issue.


🧪 PIC-2290: Replace broken Pact test with working one

and minor change to LegacyCourtCaseRestClient to prevent errors being swallowed

These changes are merged with another branch so closing this.


declaring mx:methods in one mx:RemoteObject make other RemoteObjects fail

In this example: https://github.com/apache/royale-asjs/tree/develop/examples/mxroyale/RemoteObjectAMFTest
serviceResp fails with the following error:
 [Error] TypeError: undefined is not an object (evaluating
    'this.serviceResp.getProperty')
    sendEcho (App.js:269)
    $EH3 (App.js:321)
    (función anónima)
    fireListener (events.js:744)
    fireListenerOverride (HTMLElementWrapper.js:61)
    handleBrowserEvent_ (events.js:870)
    (función anónima) (events.js:289)

But if comment the mx:method section of the "service" RemoteObject like this:
<!-- <mx:method name="echo">
    <mx:arguments>
    <symbol>{name_txt.text}</symbol>
    </mx:arguments>
    </mx:method>
    <mx:method name="getObjectArray1">
    </mx:method>
    <mx:method name="getSomeProduct">
    </mx:method> -->

Then serviceResp works right.
I figure the problem is in compiler and once a RO has mx:method declared the rest must have the same. But I can ensure this is the real problem.

For some reason, when Operations are declared in MXML, the next RemoteObject doesn't appear in the output at all.


Add a filesystem service

This PR adds a filesystem service and changes AHCI to use IPC buffers.

@roblabla Removing the code duplication entirely isn't possible at all as most of the type needed by this code depends on libuser that cannot be used in the host std context.
I can still move th gpt part but that's it.


Create AP in genesis

Resolves #223

[x] AP will have the same standard settings from OC (like escrow amount, voting quorum, etc) and also a few custom ones for the dispute resolution contract. init-msg

[x] In genesis, create a trusted circle like with OC. Then create a voting contract like tgrade-oc-voting but using a new custom contract: tgrade_ap_voting.wasm
embed and store on chain

[x] Currently migrator is valset, like all other poe contracts example

[x] The addresses of both contracts should be query-able just like OC. Add new contract type and store in bootstrap

Codecov Report

Merging #314 (b8ec6cd) into main (2c62cae) will increase coverage by 0.46%.
The diff coverage is 78.07%.

@@            Coverage Diff             @@
##             main     #314      +/-   ##
==========================================
+ Coverage   56.67%   57.14%   +0.46%
==========================================
  Files          73       73
  Lines        5069     5159      +90
==========================================
+ Hits         2873     2948      +75
- Misses       1921     1929       +8
- Partials      275      282       +7

Impacted Files
Coverage Δ

x/poe/bootstrap.go
63.01% <65.75%> (+1.44%)
:arrow_up:

x/poe/types/genesis.go
95.98% <100.00%> (+0.74%)
:arrow_up:

x/poe/types/test_fixtures.go
33.33% <100.00%> (+1.33%)
:arrow_up:

Good work. Thank you 💐


Cant set dim level on z-wave fibaro dimmer 2

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.59.2
Python release (python3 --version):
n/a (running hass.io)
Component/platform:
z-wave
Description of problem:
When trying to set the dimmer level of the fibaro dimmer 2 (z-wave) without turning on the lights, nothing happens in the latest release. It used to work fine earlier
Expected:
Dim level changes so that lights are turned on to that level next time they are turned on.
Additional info:
OZW log: https://hastebin.com/ujezurupic.sql

Cannot confirm that. 0.59.2 move the slider (lights off) lights turn on to set level. 9 fibaro dimmers ver 2 here all the same. But not hass.io

This issue is for the second slider that does not turn the light on if
toggled. This slider was earlier used to set dim lever when lights were
off. This is not possible anymore. If you can turn the lights on with the
slider, it's the wrong one. There are two per dimmer, it's the second.
On 16 Dec 2017 10:19 pm, "moskovskiy82"<EMAIL_ADDRESS>wrote:

Cannot confirm that. 0.59.2 move the slider (lights off) lights turn on to
set level. 9 fibaro dimmers ver 2 here all the same. But not hass.io
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/11154#issuecomment-352212501,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFceL_gcsYqkX6DBY_wyMqErkNnPJM86ks5tBDPbgaJpZM4RDTAh
.

Maybe you should evaluate further on the problem. As i have never seen 2 sliders for the fibaro dimmer. There are 2 entities although. Maybe you are running some custom UI component which stopped working?
light.zwave_bedroom_level
light.zwave_bedroom_level_2

I am running stock hassio without any other components installed than ssh
and Z-wave. There has always been two sliders per dimmer, pointing to the
two entities you mentioned. I can add some screenshots.
On 17 Dec 2017 8:29 am, "moskovskiy82"<EMAIL_ADDRESS>wrote:

Maybe you should evaluate further on the problem. As i have never seen 2
sliders for the fibaro dimmer. There are 2 entities although. Maybe you are
running some custom UI component which stopped working?
light.zwave_bedroom_level
light.zwave_bedroom_level_2
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/11154#issuecomment-352237362,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFceL-45UkGoC2kxc1rRqFRT9PytMWPzks5tBMLmgaJpZM4RDTAh
.

Here are some screenshots. https://imgur.com/a/NttGJ

It is very odd you have a dimmer slider for the second entity.  If i rembemer correctly this is for the S2 input on the dimmer. So you might have an association with some other z-wave dimmer on second channel?
Post the attributes which level_2 reports. Here is example of mine. As you can see the second level doesn't have brightness in attributes.
`

light.zwave_zal_small_level
on
max_mireds: 500 value_id:<PHONE_NUMBER>7294255 min_mireds: 154 icon: mdi:spotlight-beam assumed_state: false friendly_name: Зал малый value_instance: 1 brightness: 255 new_entity_id: light.zwave_zal_small_level value_index: 0 old_entity_id: light.zwave_zal_small_level_11_0 node_id: 11 power_consumption: 13.1 supported_features: 33

light.zwave_zal_small_level_2
off
value_instance: 2 new_entity_id: light.zwave_zal_small_level value_index: 0 old_entity_id: light.zwave_zal_small_level_11_0_2 value_id:<PHONE_NUMBER>65222155 node_id: 11 friendly_name: zwave zal small Level supported_features: 33

`

It was like that from the autodiscovery. Sure, I'll post them. Where can I
find the attributes?
On 17 Dec 2017 8:54 am, "moskovskiy82"<EMAIL_ADDRESS>wrote:
It is very odd you have a dimmer slider for the second entity. If i
rembemer correctly this is for the S2 input on the dimmer. So you might
have an association with some other z-wave dimmer on second channel?
Post the attributes which level_2 reports. Here is example of mine. As you
can see the second level doesn't have brightness in attributes.
`
light.zwave_zal_small_level on max_mireds: 500 value_id:<PHONE_NUMBER>7294255
min_mireds: 154 icon: mdi:spotlight-beam assumed_state: false
friendly_name: Зал малый value_instance: 1 brightness: 255 new_entity_id:
light.zwave_zal_small_level value_index: 0 old_entity_id:
light.zwave_zal_small_level_11_0 node_id: 11 power_consumption: 13.1
supported_features: 33
light.zwave_zal_small_level_2 off value_instance: 2 new_entity_id:
light.zwave_zal_small_level value_index: 0 old_entity_id:
light.zwave_zal_small_level_11_0_2 value_id:<PHONE_NUMBER>65222155 node_id: 11
friendly_name: zwave zal small Level supported_features: 33
`
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/11154#issuecomment-352238404,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFceLx6-MQ3PFs0aJLij5Ojfrr4_Jnyfks5tBMjBgaJpZM4RDTAh
.

i believe you should read through home assistant docs to get a grip on how it works.
And also check out the manual for Fibaro Dimmer 2 especially the part for controlling the load from a second input S2

Thanks for the suggestion, but I don't see how that helps on this bug.
There is no second input in use or configured, and everything is
autodiscovered my hass. As per the fibaro doc, this second value is to set
dim level without turning the lights on or off, and that exactly what hass
did before the 58.2 update.
On 22 Dec 2017 10:21 am, "moskovskiy82"<EMAIL_ADDRESS>wrote:
i believe you should read through home assistant docs to get a grip on how
it works.
And also check out the manual for Fibaro Dimmer 2 especially the part for
controlling the load from a second input S2
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/11154#issuecomment-353557470,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFceL8SwYISJydPmqAIa-CVUf4cb9TB0ks5tC3SrgaJpZM4RDTAh
.

BTW @moskovskiy82, looking at your comment from 5 days ago, you also have the two instances. Why you only see one slider might be because you have configured your UI or installed some custom component.

The bug is still present in latest release.

I don't believe there is a bug.
Fibaro dimmer provides one dimmer channel to control the light.
Secondary channel depends on the set_up of the dimmer itself and is supposed to control other associated dimmers.
My 15+ fibaro dimmers (ver 2 and 1) work as expected. @sveip i believe you should close this issue and start the discussion on the HA community forum so people will recommend you the proper set up of the dimmer itself.

Thanks for the response, but that does not explain why I worked different
in the earlier versions though.
On Sun, 4 Mar 2018, 09:41 moskovskiy82<EMAIL_ADDRESS>wrote:

I don't believe there is a bug.
Fibaro dimmer provides one dimmer channel to control the light.
Secondary channel depends on the set_up of the dimmer itself and is
supposed to control other associated dimmers.
My 15+ fibaro dimmers (ver 2 and 1) work as expected. @sveip
https://github.com/sveip i believe you should close this issue and
start the discussion on the HA community forum so people will recommend you
the proper set up of the dimmer itself.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/11154#issuecomment-370211988,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFceL-YgxL54Yk2smwII_AfSRvcUNzYUks5ta6jIgaJpZM4RDTAh
.

@moskovskiy82, while I have you here and given that you have the same dimmers, can you set the dim lever without turning the lights on or off? According to the fibaro manual, it's possible and was what the second dimmer slider did earlier. Don't focus too much on that second dimmer, the goal and this report is about being able to set the dim lever separate from switching the lights on or off.

I wonder if this the same issue I am having?
Only controlling the dimmer 2 from Home Assistant / HomeKit. When turning it off and on it always comes back at 100% regardless of dimmer setting before turning it off. Dimmer is set to store and go back to last brightness level on power loss. Can’t seem to find any other related setting on the dimmer itself.
Any idea?


Next version?

Has been two months since the last npm published version.
Multiple PRs have been merged.
When do you plan the next one?
Can this pushes be related to PR merges?

This weekend. I'm wrapping up a few updates :)


libbluray: fix withJava

It builds okay without this, but doesn’t actually work. Was removed in 616f7e3b7e9287ac309f1d397d76aebe22b02d4e.
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Sorry about this!
I'll try to be more careful when removing code that seemingly doesn't do anything.


QGIS "Manage and Install Plugins" load error

I installed the plugin using the "Manage and Install Plugins" dialog, then received the error below (which also locked up the QGIS UI until I found the error window hidden beneath).
After dismissing the error window, I clicked the button to reinstall the experimental version, reopened QGIS and it appears to be working, but I thought I'd report the error here in case its helpful.
Plugin Version: 0.0.6 (Nov 9th)
Error:
Couldn't load plugin 'speckle-qgis' due to an error when calling its classFactory() method

ModuleNotFoundError: No module named 'specklepy'
Traceback (most recent call last):
  File "C:/PROGRA~1/QGIS3~1.16/apps/qgis/./python\qgis\utils.py", line 334, in _startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "//dname/users$/user/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\speckle-qgis\__init__.py", line 43, in classFactory
    from .speckle_qgis import SpeckleQGIS
  File "C:/PROGRA~1/QGIS3~1.16/apps/qgis/./python\qgis\utils.py", line 792, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "//dname/users$/user/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\speckle-qgis\speckle_qgis.py", line 31, in
    from specklepy.api import operations
  File "C:/PROGRA~1/QGIS3~1.16/apps/qgis/./python\qgis\utils.py", line 792, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'specklepy'

Python version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
QGIS version: 3.16.1-Hannover Hannover, b381a90dca

Python Path:
C:/PROGRA~1/QGIS3~1.16/apps/qgis/./python
//dname/users$/user/AppData/Roaming/QGIS/QGIS3\profiles\default/python
//dname/users$/user/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/PROGRA~1/QGIS3~1.16/apps/qgis/./python/plugins
C:\PROGRA~1\QGIS3~1.16\apps\Python37
C:\PROGRA~1\QGIS3~1.16\apps\Python37\Scripts
C:\Program Files\QGIS 3.16\bin\python37.zip
C:\PROGRA~1\QGIS3~1.16\apps\Python37\DLLs
C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib
C:\Program Files\QGIS 3.16\bin
C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages
C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages\win32
C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages\win32\lib
C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages\Pythonwin
//dname/users$/user/AppData/Roaming/QGIS/QGIS3\profiles\default/python

===========================================

Visit https://download.qgis.org to get your copy of version 3.16.14

Thanks for pinging us on this. In theory, specklepy should be automatically installed for you on the first time the plugin runs, but it looks like we may not have covered all cases.
I'll test with your version specifically, as I'm using QGIS 3.20 in my machine to develop it.

Hey @gouldingken!
We'll be releasing a new version sometime today that should also do a better job at installing the dependencies.
Closing this, but feel free to re-open if you bump into this again.

Hi there, just tried to install the plugin on QGIS 3.20.1, the same error occurs
Couldn't load plugin 'speckle-qgis' due to an error when calling its classFactory() method

ModuleNotFoundError: No module named 'specklepy'
Traceback (most recent call last):
  File "C:\PROGRA~1/QGIS32~1.1/apps/qgis/./python\qgis\utils.py", line 335, in _startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "C:\Users/a.ghensi/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\speckle-qgis\__init__.py", line 43, in classFactory
    from .speckle_qgis import SpeckleQGIS
  File "C:\PROGRA~1/QGIS32~1.1/apps/qgis/./python\qgis\utils.py", line 799, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/a.ghensi/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\speckle-qgis\speckle_qgis.py", line 31, in
    from specklepy.api import operations
  File "C:\PROGRA~1/QGIS32~1.1/apps/qgis/./python\qgis\utils.py", line 799, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'specklepy'

Python version: 3.9.5 (tags/v3.9.5:0a7dcbd, May  3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)]
QGIS version: 3.20.1-Odense Odense, 1c3c5cd6

Python Path:
C:\Users/a.ghensi/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\contour
C:/PROGRA~1/QGIS32~1.1/apps/qgis/./python
C:/Users/a.ghensi/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/a.ghensi/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/PROGRA~1/QGIS32~1.1/apps/qgis/./python/plugins
C:\Program Files\QGIS 3.20.1\bin\python39.zip
C:\PROGRA~1\QGIS32~1.1\apps\Python39\DLLs
C:\PROGRA~1\QGIS32~1.1\apps\Python39\lib
C:\Program Files\QGIS 3.20.1\bin
C:\PROGRA~1\QGIS32~1.1\apps\Python39
C:\PROGRA~1\QGIS32~1.1\apps\Python39\lib\site-packages
C:\PROGRA~1\QGIS32~1.1\apps\Python39\lib\site-packages\win32
C:\PROGRA~1\QGIS32~1.1\apps\Python39\lib\site-packages\win32\lib
C:\PROGRA~1\QGIS32~1.1\apps\Python39\lib\site-packages\Pythonwin
C:/Users/a.ghensi/AppData/Roaming/QGIS/QGIS3\profiles\default/python

The problem is a QGIS plugin doesn't carry its dependencies, and there's no way to declare pip dependencies for now (see this issue).
It is stated on the "Publishing a plugin" page:

If the plugin has an external dependency, this needs to be clearly stated in the About metadata field; you can include a short guide to install Python libs as needed, or point to existing guides, e.g. for Windows https://landscapearchaeology.org/2018/installing-python-packages-in-qgis-3-for-windows/

Another QGIS plugin, EnMAP-Box, solved this issue by providing a dependency installer (I didn't use nor test it).
Here the GLP v3 source code.

Sorry, I just saw that you already took care of the dependencies installation, but clearly it doesn't always work.

Hi @sanzoghenzo, thanks for reaching out!
We're still waiting for the version I released on Monday to be approved by the QGIS marketplace. If you installed it from there, it may just be that you got an older version that still had that issue.
That being said, I am aware of the QGIS limitation, which is why we're ensuring pip is installed, and any other dependencies such as specklepy; although I agree that since QGIS has multiple ways of being installed; there may be edge cases we haven't accounted for yet.
Let me know if you were installing the plugin straight form the repo, as that would mean there is still work to be done on that side. Thanks for the dependency installer suggestion though!

Hi @AlanRynne
I confirm that I was installing the version listed in the plugin manager!
I'll check the new version when it'll become available there (just to make sure my colleagues won't run into troubles :wink: )

Oh, then that's hopefully good news! Not sure whats going on with the QGIS Marketplace but it's been 9 days since we pushed and update and still haven't heard back from them. I'll ping you here once it's finally out so you can confirm it's working for you (afaik, it should!).

@AlanRynne sorry for the late reply, it's working! thanks


Correctly set limits in /etc/security/limits.conf

default.sh sets elasticsearch limits in a way that might not be quite right:
echo "elasticsearch soft nofile 128000\n
elasticsearch hard nofile 128000\n
root soft nofile 128000\n
root hard nofile 128000" | sudo tee --append /etc/security/limits.conf

The \ns appear in the final file, which is probably not correct.
Additionally, the Elasticsearch logs on startup show the following warnings, suggesting additional properties to set:
[2018-09-28 03:23:58,695][WARN ][bootstrap                ] Unable to lock JVM Memory: error=12,reason=Cannot allocate memory
[2018-09-28 03:23:58,695][WARN ][bootstrap                ] This can result in part of the JVM being swapped out.
[2018-09-28 03:23:58,695][WARN ][bootstrap                ] Increase RLIMIT_MEMLOCK, soft limit: 65536, hard limit: 65536
[2018-09-28 03:23:58,696][WARN ][bootstrap                ] These can be adjusted by modifying /etc/security/limits.conf, for example:
        # allow user 'elasticsearch' mlockall
        elasticsearch soft memlock unlimited
        elasticsearch hard memlock unlimited

The newlines are fixed in https://github.com/pelias/kubernetes/commit/59bf9d67e3742298dee8d9fd1fe9875bdabf1fbb, and I don't believe setting mlockall is required, since we don't configure our Elasticsearch instances with any swap at all.


Neogit Pull request link like in fugitive

I'm just wondering if there is a way to have the Remote URL shown after a push to a remote repository like it happens inside of Fugitive. That way I can navigate to the repository from inside from the terminal instead of having to go to the repository and then opening a PR. would be nice to have something like that.

Could you show me a screenshot with what you're describing? :)

Oh, if you follow the nightly branch, then b o (buffer popup, open action) will open your web browser to the right page to open a PR. Requires neovim nightly, though.

@CKolkey I was trying this with Gitea, but nothing happens when I do b o (even though I get a PR link when I push from the commandline). I saw something in the docs that it could be configured using git config, but I'm not sure how I would do this, considering git already seems to receive a PR link.

Are you on nvim nightly & the nightly branch?

@CKolkey Yes, I think I updated to latest yesterday on nightly.

And you pushed to upstream using Pu?

Yes

I can probably fork neogit next week and see why it fails, could be some weird gitea edge cade that I can debug. Github worked fine.

Oh, I forgot gitea was a forge, not a client. Gitea isn't configured out of the box:
https://github.com/NeogitOrg/neogit/blob/master/lua/neogit/config.lua#L188-L192

Oh awesome, thanks! I'll do that, and I'll look at the docs I found, since I'm not sure they referred to that config you sent (or maybe they did and I didnt read properly).

Going to close this as it's not an issue - but do open a PR if you like :)

@CKolkey Just to provide an update on this:
I'm not sure a general solution is possible in my case. My org uses a custom domain for our gitea instance, so I'm not sure this would fit in to a general discovery. There is no way of knowing for example that my domain is for Gitea, so I wouldn't be able to determine the PR format.
A solution/stopgap would be to use the PR link that is returned on push, but this doesn't fit in with the current model of being able to just open a PR any time.
It's not a big deal though, as I can of course configure my own domain and PR template in the config.


Incomplete declaration causes NullReferenceException

using the compiler in dotLess <IP_ADDRESS>,
div {
border-bottom:
}
will produce,
Compilation failed: Object reference not set to an instance of an object.
at dotless.Core.Parser.Parsers.Rule(Parser parser) in C:\dev\dotless\src\dotless.Core\Parser\Parsers.cs:line 1036
at dotless.Core.Parser.Parsers.Primary(Parser parser) in C:\dev\dotless\src\dotless.Core\Parser\Parsers.cs:line 76
at dotless.Core.Parser.Parsers.Block(Parser parser) in C:\dev\dotless\src\dotless.Core\Parser\Parsers.cs:line 962
at dotless.Core.Parser.Parsers.Ruleset(Parser parser) in C:\dev\dotless\src\dotless.Core\Parser\Parsers.cs:line 1000
at dotless.Core.Parser.Parsers.Primary(Parser parser) in C:\dev\dotless\src\dotless.Core\Parser\Parsers.cs:line 76
at dotless.Core.Parser.Parser.Parse(String input, String fileName) in C:\dev\dotless\src\dotless.Core\Parser\Parser.cs:line 133
at dotless.Core.LessEngine.TransformToCss(String source, String fileName) inC:\dev\dotless\src\dotless.Core\Engine\LessEngine.cs:line 58
at dotless.Core.ParameterDecorator.TransformToCss(String source, String fileName) in C:\dev\dotless\src\dotless.Core\Engine\ParameterDecorator.cs:line 29
at dotless.Compiler.FixImportPathDecorator.TransformToCss(String source, String fileName) in c:\dev\dotless\src\dotless.Compiler\FixImportPathDecorator.cs:line 18
at dotless.Compiler.Program.CompileImpl(ILessEngine engine, String inputFilePath, String outputFilePath) in c:\dev\dotless\src\dotless.Compiler\Program.cs:line 155
If this is by design, could the error be a bit more descriptive (line number / character number?)

This is fixed in the latest release. It now reports an incomplete rule.

I have the same problem using dotless <IP_ADDRESS>. When I'm trying to get the latest version with the fix (1.4.3. as I have read in a similar ticket) on the NuGet Console I get the following:
'dotless <IP_ADDRESS>' already installed.
Adding 'dotless <IP_ADDRESS>' to www.
Successfully added 'dotless <IP_ADDRESS>' to www.'
What am I doing wrong?
Thanks

Try specifying the version number, e.g. Install-Package dotless -Version <IP_ADDRESS>. You might also want to try out the latest released version, 1.5.1.

Thanks! Will try.

Thanks very much again for your quick response. This worked.


Remove the need to include the proxy role in superUserRoles

Fixes #124

I'm starting to doubt this change. In the Pulsar docs it says
"You must authorize both the proxy role and the original principal to access a resource to ensure that the resource is accessible via the proxy. "
in https://pulsar.apache.org/docs/en/security-authorization/#proxy-roles
I'd assume that as long as the proxy has been authorized to pass on the client's principal, the broker would trust that information for doing the authentication decision. Why would all resources need to contain the proxy role?


The "custom" theme no longer works

Describe the bug
Originally discovered while testing #2865 , however it's also reproducible on main.
If you attempt to run the DSpace UI with the "custom" theme. a lot of features will no longer work.  Here's what the homepage looks like:

To Reproduce
Steps to reproduce the behavior:

Enable custom theme:themes:
  - name: custom

Start UI in production mode:  yarn build:prod; yarn serve:ssr
Access the homepage and it will look like above. The header no longer works, no ability to login or browse the site, much of the homepage content no longer displays, etc. Individual item pages are no better.
Some SSR errors will also be thrown that look like this:ERROR TypeError: Cannot read properties of undefined (reading 'onDestroy')
at Object.ɵɵpipe (C:\dspace-angular\dist\server\main.js:1:4326830)
at template (C:\dspace-angular\dist\server\1210.js:1:3854)
at executeTemplate (C:\dspace-angular\dist\server\main.js:1:4182823)
at renderView (C:\dspace-angular\dist\server\main.js:1:4198373)
at renderComponent (C:\dspace-angular\dist\server\main.js:1:4198106)
at renderChildComponents (C:\dspace-angular\dist\server\main.js:1:4198794)
at renderView (C:\dspace-angular\dist\server\main.js:1:4198836)
at ComponentFactory.create (C:\dspace-angular\dist\server\main.js:1:4235830)
at R3ViewContainerRef.createComponent (C:\dspace-angular\dist\server\main.js:1:4239623)
at Object.next (C:\dspace-angular\dist\server\main.js:1:2265629)

Expected behavior
Obviously the custom theme should still work.
Related work
It's unclear to me when this issue began.  It might be a side effect of recent Angular upgrades (#2871 or #2934 ) or something else entirely.

@tdonohue we can work on this

For future reference: @artlowel and I discussed whether we could make another custom ESLint rule to check for this sort of thing in the future:

overall it should be doable to force import/provider lists to stay in sync, but a bit more complex than the rules in #2865
however, themed versions of components may also introduce new components/directives/... or remove some of the ones that were used in the unthemed component
we'd need to tell which imports/providers are actually used in the themed component

AFAIK this is something that should be checked during compilation, and that's how it used to work before.


Make FeedLink public.

Make the FeedLink component public so that it may be used by Ignite clients.

Thank you!


Fox Nation?

Anyone knows where I can watch Fox Nation streaming service? Went through the links but can't find anything

Disgusting, no.

How disgusting, someone likes to watch something different than you.


Upgrade to the next rustls version and issue a new release

This seems to have been done yesterday. Unfortunately, the release bumped only the patch version, and this has broken some dependent crates (e.g. https://github.com/libp2p/rust-libp2p/issues/1654) because async-tls exposes rustls through its public API.
I suggest re-releasing it as 0.8.0. Next time, please, be more considerate about the breaking nature of such changes.

Yanked v0.7.1, re-published as v0.8.0. Thanks for letting us know!


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-main" workflow

Codecov Report

Merging #175 (9d17cd4) into main (2974dfe) will increase coverage by 9.55%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #175      +/-   ##
==========================================
+ Coverage   83.33%   92.88%   +9.55%
==========================================
  Files           2        2
  Lines         126      478     +352
  Branches       31       49      +18
==========================================
+ Hits          105      444     +339
- Misses         21       33      +12
- Partials        0        1       +1

Impacted Files
Coverage Δ

example/src/main.ts
95.65% <100.00%> (+7.19%)
:arrow_up:

src/index.ts
91.76% <100.00%> (+9.76%)
:arrow_up:

Continue to review full report at Codecov.

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


Rule-based modeling with energy descriptions

Hello,
Currently, BioNetGen 2.2+ incorporate energy descriptions, in which models satisfy detailed balance constraints.
Will PySB officially support the energy-based modeling, e.g., energy pattern formulation, generating kinetic constants from baseline energies and rate distribution parameters, etc.?

I have a branch with energy modeling in progress at Pull Request #553 that you could try out. It should support all energy features that BNG supports. The documentation for the new features doesn't exist yet, but if you are familiar with the BNG energy syntax you should be able to get started.

Thank you very much!
I tried it and confirmed that EnergyPattern and  energy rules (setting energy in Rule to True) worked perfectly fine in it.
As reported in #551, it throws a TypeError when running a simulation with SymPy version 1.9 but worked without any problems with version 1.8.

Hi @himoto , I have a bunch of toy model examples on how to use Energy PySB in this repository:  https://github.com/lgerosa/rosa_webinar_20Jan2021
Feel free to contact me in case you have any questions, I am very happy to brainstorm/discuss usages of energy PySB in general.

Hello @lgerosa ,
Thank you very much for informing me of the repository. The model examples and slides really helped me learn how to incorporate thermodynamic factors into mechanistic models and write energy rules with PySB.
And I appreciate your kind support. I’ll let you know if I have any questions.


Add slow_start parameter to target group

what

Exposes the parameter slow_start which controls how the load balancer scales in new targets as they become healthy.

why

Some applications need time to warm up before they can start handling their full share of requests.

references

https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#slow-start-mode
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_target_group#slow_start

/test all

/test all

Any updates?

/test all

@plenkl Thanks for the contribution! Released as https://github.com/cloudposse/terraform-aws-alb/releases/tag/1.1.0


After detailer goes so slow

i think there is a bug with after detailer. If i do the following flow: txt2img > img2img > afterdetailer, it goes super super slow, but if i add ultimate after img, it goes fine... when i say slow i say 165sec for a it... (i'm using pose controlnet)

@tomboymad Are you using the Pose ControlNet on txt2img, img2img, and/or AfterDetailer?

In testing, I am seeing consistent times with both img2img -> AfterDetailer and Ultimate SD Upscale -> AfterDetailer. I am not using a ControlNet in any part of the flow during this test.

yes i was using controlnet pose when the thing goes slow... once i turned off, everything was ok..

@tomboymad Are you using the Pose ControlNet on txt2img, img2img, and/or AfterDetailer?

yes i was using controlnet pose when the thing goes slow... once i turned off, everything was ok..

@tomboymad Just tested with and without ControlNet. I found that with ControlNet enabled, there was a 50% time increase going from 2s/it -> 3s/it @ 195s total. This is expected as we are adding an unofficial ControlNet model into the mix. I also tested img2img -> Ultimate SD Upscaler, which ran at 2s/it (without ControlNet) for a total time of 285 seconds. To me, this seems within normal ranges for generation given that I am running a 3090 FE. I will be closing this as there does not appear to be an issue with the workflow itself.


Start using RHEL 8.6 GA for testing

I guess this can go in? @ondrejbudai what was the original reason you switched this to draft?


Update create-a-phone-system-auto-attendant.md

Typo for the anew

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@kenwith PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Support a catch-all modifier hook

I'd like to propose to add a way for a model class to provide a catch-all modifier for the case when a requested modifier isn't defined / found. Something along these lines:
class MyModel extends Model {
  ...

  static modifierNotFound(builder, modifier) {
    // Do something with the modifier and the query, and return the builder if it was
    // handled, nullish otherwise, indicating Objection should still throw an error.
    const { properties } = this.getJsonSchema()
    if (properties && modifier in properties) {
      return builder.select(modifier)
    }
  }
}

Optionally it could also just return a boolean.
I think this could open the door to many more creative uses of eager expressions and modifiers, and would be a pretty great feature that could be added with very little overhead. I'd be happy to create a PR for it.
@koskimas what do you think?

Yes, let's do it! A PR would be great!

Very cool! Do you like the naming?

I think returning boolean is cleaner probably?

I would have probably just added a default implementation that throws the error and overriding the method would automatically cause no error to be thrown. Boolean is fine too.

I can do that, yes! But what if my overriding implementation doesn't handle a given modifier and would like to throw the sam error?
I was thinking yesterday after doing this that instead of directly handling it, it could return a function if a given modifier should be handled.

In that case it can delegate to the default implementation super.noModifierFound(builder, modifier). Why would it return a function?

I can do that, yes! But what if my overriding implementation doesn't handle a given modifier and would like to throw the sam error?
I was thinking yesterday after doing this that instead of directly handling it, it could return a function if a given modifier should be handled.

Because it wouldn't necessarily receive the builder then, just the modifier, and somebody could do their own modifier store, similar to modifiers which are also functions... Just a thought for more flexibility. and you're right, delegation would solve that. I change it.

I've rewritten this now as discussed. I needed to move ModifierNotFoundError to model and things got a bit more complicated in result. I'm not sure I've done everything how you would address it. PTAL.


Allow to hide livestream recordings

Currently i've disabled the livestreams:

But seems like livestream recordings is still shown:

Would be nice if I can hide it too (probably via separate toggle)

Hello there!
It's two different things. Hiding livestreams hides current live streams, not the ones that have already finished. I'll make sure to have this information available, in order to avoid confusion 😄

Marking this as a new feature request ☺


RestSharp file transfer problem

It is detailed in the link below, but I am trying to find out if there is a compatibility issue between RestSharp and Nancy when it comes to file transfer.
I send byte arrays as files from RestSharp to a Nancy server.
nancy receives it well and the data is good except there is a carriage return and a linebreak added at the end of every byte array sent.
It seams that RestSharps adds a few characters and Nancy does not like that.
https://groups.google.com/d/topic/restsharp/SWr0DUe-xRQ/discussion
Could this be a compatibility issue?

We have native support for multipart encoded files, why are you grabbing the stream directly, or is that just so you can see the raw data for debugging?

Yes its just for debugging,
but I cannot find what is wrong here... I cloned nancy and wrote a test to see if it fails with various boundary keys, I thought I could be the problem but it works fine and I cannot make that test fail yet so I will keep looking.
This is a strange behavior it would mean that RestSharp adds 2 characters on every multipart post.
I will keep looking for the moment.

We have been looking deeper to see if we can find the cause of this behavior, but it seams it really is something with Nancy.
We intercepted the request with fiddler and it did not contain any additional characters.
As soon as nancy receives it, the File's byte array has 2 more bytes 10 and 13.
We are still trying to make a test fail to prove this point.
Here is the byte array we are trying to send: new byte[] { 4, 4, 4, 4, 4, 4, 4, 8, 8, 8 ,8 ,8 ,8 }
Here is the exact content of the request we are trying to send.
The content below has the byte array data even though it does not appear in a browser (so it looks blank right now).
POST http://<IP_ADDRESS>/data HTTP/1.1
Accept: application/json, application/xml, text/json, text/x-json, text/javascript, text/xml
User-Agent: RestSharp <IP_ADDRESS>
Host: <IP_ADDRESS>
Content-Type: multipart/form-data; boundary=-----------------------------28947758029299
Content-Length: 214
Accept-Encoding: gzip, deflate
Connection: Keep-Alive
-------------------------------28947758029299
Content-Disposition: form-data; name="streams"; filename="stream"
Content-Type: application/binary

-------------------------------28947758029299--

we managed to reproduce it by rebuilding a request based on the W3 spec.
Here is how to reproduce it
On client side:
    public void ReproduceBug()
    {
        var block = new byte[] { 4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 8, 8, 8 };
        const string URI = "http://<IP_ADDRESS>/data";

        var req = (HttpWebRequest)WebRequest.Create(URI);
        const string boundary = "-----------------------------28947758029299";
        req.ContentType = string.Format("multipart/form-data; boundary={0}", boundary);
        req.Method = "POST";
        req.KeepAlive = true;
        req.Credentials = CredentialCache.DefaultCredentials;

        var pre = string.Format("--{0}\r\nContent-Disposition: form-data; name=\"{1}\"; filename=\"{2}\"\r\nContent-Type: application/octet-stream\r\n\r\n", boundary, "streams", "stream");
        var post = string.Format("\r\n--{0}--\r\n", boundary);

        var bytes = Encoding.ASCII.GetBytes(pre).Concat(block).Concat(Encoding.ASCII.GetBytes(post)).ToArray();
        req.ContentLength = bytes.Length;

        var os = req.GetRequestStream();
        os.Write(bytes, 0, bytes.Length);
        os.Close();

        var resp = req.GetResponse();
    }

On server side
byte[] bytes;
var stream = Request.Files.First().Value;
using (var reader = new BinaryReader(stream)) { bytes = reader.ReadBytes((int)stream.Length); }
Now the byte array has the 2 bytes 10 and 13 which are not wanted.
We tried to make  a test fail by cloning Nancy but I couldn't do it easily since it looks like an integration issue.

So we created a failing test on the nancy project itself.
The thing here is that it is not clear in the W3 spec
http://www.ietf.org/rfc/rfc2046.txt  section 5.1
It is not clear weather the stream should include CR LF after the closing boundary or not.
So either Nancy is making a mistake or RestSharp is making one, in either case we would like to know what you think about this so we know if we are doing a pull request or not.


Adding namespace deletion/creation to requirements

The namespace was not getting cleaned up during ci tests. This would sometimes lead to things being stuck in pending states. This will now delete the namespace in wait_clean and also ensure its created in the operator_requirements.


Merge Engine Bug

Hi There
Everyday we create a distributed table and also we have a merge table(merge engine) to combine all the distributed tables.
so there is the query , and it works well for distribute table
select abc from distributed_table where id GLOBAL IN (select id from local_table table)
but when we query merge table , we got an exception
select abc from merge_table where id GLOBAL IN (select id from local_table table)
Code: 60. DB::Exception: Received from localhost:9000, ::1. DB::Exception: Received from xxx.xxx.xxx.xxx:9000. DB::Exception: Table default.local doesn't exist..
if i understand GLOBAL IN correctly , this query will execute the subquery first and send to all the remote servers(shards), it doesn't require local_table to be exists in all remote servers.  please correct me if i am wrong.
Thanks

Alex Zatelepin has confirmed its a bug

fix was released in v1.1.54245


resetFormState handler

Will be passed to the children and to the onSubmit handler, so the consumer can programatically reset the form state

hello @grsabreu , i only see the resetFormState handler in onSubmit handler, but not in the children. so i can't reset the form state when i click the cancel button in my form.

thanks for the suggestion @amythos , totally makes sense indeed to pass it for the children. Gonna ship this soon.

closed by #81


upgrade filter bug

Description
Previously, we didn't actually add filter type when loading old detector. This PR fixed that.
Testing done:

added a unit tes
verified e2et

Signed-off-by: Kaituo Li<EMAIL_ADDRESS>Issues Resolved
https://github.com/opensearch-project/anomaly-detection-dashboards-plugin/issues/403
Check List

[X] New functionality includes testing.

[X] All tests pass

[X] New functionality has been documented.
[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #402 (fea3456) into main (4ea29db) will increase coverage by 0.03%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #402      +/-   ##
==========================================
+ Coverage   51.93%   51.97%   +0.03%
==========================================
  Files         149      149
  Lines        5031     5031
  Branches      984      984
==========================================
+ Hits         2613     2615       +2
+ Misses       2159     2157       -2
  Partials      259      259

Impacted Files
Coverage Δ

...lugin/public/pages/DefineDetector/utils/helpers.ts
68.18% <0.00%> (+9.09%)
:arrow_up:

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


Fix JSON Marshaling of Custom Fields (EUIs, DevAddrs, Keys)

Use gogo/protobuf instead of golang/protobuf
Use modified Marshaler for gRPC proxy (one that uses gogo/protobuf)

Coverage remained the same at 74.79% when pulling 4adc7cc0d7a7967ec40fc01d5fb0a0a314f269a1 on fix/json-api into 205391d8fe90c11de11a4b650e2e7d4fa1e0c8db on develop.


FoundationEssentials: avoid a sharing violation on Windows

When trying to perform a move, we would encounter a sharing violation due to the file descriptor being open preventing the file from being moved. Perform an early close of the file descriptor before performing the move. This adds complexity to the defer, however, avoiding the defer complicates the code flow analysis for error propagation.

@swift-ci please test


SignalR server not able to send notification to SignalR client after idle the connection

Today I have disabled TLS1.0 and only enable TLS1.2 on the server. Before this activity my SignalR server & SignalR client working properly without any issue. But after this changes getting some different type of issue. SignalR server deployed with OWIN(.NET 4.6.1) in IIS. I am using .NET client and java client.
We have two method(PublisherTopic & SubscribeTopic) under the hub.
User 1 connect with server(Long Polling & Web Socket) and subscribe the topic-----Successful.
User 2 connect with server(Long Polling & Web Socket) and published the same topic----- User 1 is receiving publish data.
User 2 stop publishing and stop the connection.
Now after 1 hour again User 2 connect with SignalR and start to publish but User 1 not able to received published data.
I have enabled trace on the client side and server side but no any issue reported.
SignalR subscribe client does not received any error events and connection is exist.
Please help me to resolve this issue.
Mukesh

You should file this issue on github.com/SignalR/SignalR,  this repository is for SignalR on ASP.NET Core


Installing Instructions missing dhparam.pem entirely.

Installing instructions are not covering the generation of the dhparam at all, but it's refered to in step 6 when installing the certificate.

you can generate dhparam.pem with the following command. (Warning: It will take a long time)
openssl dhparam -out dhparam.pem 4096

Thanks @JonLundy for the instruction.


Get the basic docker setup working

Current dependencies on/for this PR:

main

PR #11

PR #12   👈

This stack of pull requests is managed by Graphite.

Merge activity

Dec 17, 11:57 PM: @@kadhirvelm started a stack merge that includes this pull request via Graphite.


Error on startup

I get an error, on startup

my init.vim

Should be fixed now :)

so :PlugUpdateshould do it (vim-plug)?

I guess so. I'm using Packer.

It works without conifguration
but if I add this:
lua << EOF
  require("twilight").setup {
    -- your configuration comes here
    -- or leave it empty to use the default settings
    -- refer to the configuration section below
  }
EOF    >>>

I get this:

(line 641 is >>> in the code)

Damn, should be fine now. I forgot to expose setup in init.lua

works now


Unable to launch Bluesky in Ubuntu

Hello,
I am trying to run Bluesky in Ubuntu 16.04. I have all the installation instructions and updated all the desired libraries. The Bluesky GUI does start but it is completely blank with a black screen. I would also like to mention that my BADA perfromance folder was empty as I could not find zip folder as mentioned in the readme file.  I am able to load the aircrafts using the command line but I do not see any change in the screen. However, I get the following error while running it:
Loading texture data/graphics/world.16384x8192.dds
Error while creating RadarWidget objects: <built-in method asArray of OpenGL_accelerate.arraydatatype.ArrayDatatype object at 0x7fe5ab8d68b8> returned a result with an error set
Failed to load BADA performance model
ND: Context not valid in create_objects, or shareWidget not yet initialized
Client b'\x00\xd1\xb01\n' connected to host b'\x00\xb0+gW'
ND: Context not valid in create_objects, or shareWidget not yet initialized
ND: Context not valid in create_objects, or shareWidget not yet initialized
Successfully loaded plugin AREA
Successfully loaded plugin DATAFEED
ND: Context not valid in create_objects, or shareWidget not yet initialized
ND: Context not valid in create_objects, or shareWidget not yet initialized
Can you please help me with it ? Thanking you in advance.

However, when I try to launch the BLuesky-pygame version, it does run without any issue. So may be my issue has something to do with the pyqt version.

Hello, and welcome to BlueSky!
Your error looks like an issue with PyOpenGL. It also seems like you are not running the most recent version of BlueSky, am I correct? The line "Error while creating RadarWidget" objects is no longer printed on construction errors in the current version.
There have been many problems with PyOpenGL (accelerate), which is why in the current version of BlueSky we try to rely only on the OpenGL functions provided by the PyQt library. You could try to run the current version of BlueSky to see if that resolves your error.

Thank you professor for your quick reply ! Indeed, I am using a old version of Bluesky from which I was able to run the Bluesky-pygame successfully.
Now coming to the Qtgl based Bluesky for the current version, I just pulled the repo from git today, and now I get the following error now :
Reading magnetic variation data
Traceback (most recent call last):
File "BlueSky.py", line 115, in
main()
File "BlueSky.py", line 105, in main
raise error
File "BlueSky.py", line 98, in main
from bluesky.ui import qtgl
File "/home/hemjyoti/Twente/reinforcement_learning/Python3_codes/bluesky/bluesky/ui/init.py", line 2, in
from bluesky.ui.qtgl.glhelpers import (gl, RenderObject, RenderTarget, RenderWidget,
File "/home/hemjyoti/Twente/reinforcement_learning/Python3_codes/bluesky/bluesky/ui/qtgl/init.py", line 2, in
from bluesky.ui.qtgl.gui import start
File "/home/hemjyoti/Twente/reinforcement_learning/Python3_codes/bluesky/bluesky/ui/qtgl/gui.py", line 9, in
from bluesky.ui.qtgl.mainwindow import MainWindow, Splash, DiscoveryDialog
File "/home/hemjyoti/Twente/reinforcement_learning/Python3_codes/bluesky/bluesky/ui/qtgl/mainwindow.py", line 21, in
from bluesky.ui.qtgl.radarwidget import RadarWidget
File "/home/hemjyoti/Twente/reinforcement_learning/Python3_codes/bluesky/bluesky/ui/qtgl/radarwidget.py", line 10, in
import bluesky.ui.qtgl.glhelpers as glh
File "/home/hemjyoti/Twente/reinforcement_learning/Python3_codes/bluesky/bluesky/ui/qtgl/glhelpers.py", line 5, in
from typing import OrderedDict
ImportError: cannot import name 'OrderedDict'

That seems to indicate that you are using a version of python that is too old. Could you check which version you are using? (python --version).

I am using Python 3.6.9 in Anaconda. Specifically, this is the output I get from python --version
Python 3.6.9 :: Anaconda, Inc.

Oh, and do another update, the from typing import OrderedDict should've been from collections import OrderedDict. Seems like smart IDE's don't always autocomplete imports correctly ;)

Now I get the following errors :
One related to ZMQError and the other being related to attribute 'ui'
*****   BlueSky Open ATM simulator *****
Distributed under GNU General Public License v3
Exception in thread Thread-1:
Traceback (most recent call last):
File "/home/hemjyoti/anaconda3/envs/MAHALO_RL_python3/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/home/hemjyoti/Twente/reinforcement_learning/Python3_codes/bluesky/bluesky/network/server.py", line 74, in run
self.fe_event.bind(f'tcp://*:{bs.settings.event_port}')
File "/home/hemjyoti/.local/lib/python3.6/site-packages/zmq/sugar/socket.py", line 172, in bind
super().bind(addr)
File "zmq/backend/cython/socket.pyx", line 540, in zmq.backend.cython.socket.Socket.bind
File "zmq/backend/cython/checkrc.pxd", line 28, in zmq.backend.cython.checkrc._check_rc
zmq.error.ZMQError: Address already in use
Loading palette bluesky-default
Found Qt-provided OpenGL functions for OpenGL (4, 1) Core
Traceback (most recent call last):
File "BlueSky.py", line 115, in
main()
File "BlueSky.py", line 98, in main
from bluesky.ui import qtgl
File "/home/hemjyoti/Twente/reinforcement_learning/Python3_codes/bluesky/bluesky/ui/init.py", line 2, in
from bluesky.ui.qtgl.glhelpers import (gl, RenderObject, RenderTarget, RenderWidget,
File "/home/hemjyoti/Twente/reinforcement_learning/Python3_codes/bluesky/bluesky/ui/qtgl/init.py", line 2, in
from bluesky.ui.qtgl.gui import start
File "/home/hemjyoti/Twente/reinforcement_learning/Python3_codes/bluesky/bluesky/ui/qtgl/gui.py", line 9, in
from bluesky.ui.qtgl.mainwindow import MainWindow, Splash, DiscoveryDialog
File "/home/hemjyoti/Twente/reinforcement_learning/Python3_codes/bluesky/bluesky/ui/qtgl/mainwindow.py", line 21, in
from bluesky.ui.qtgl.radarwidget import RadarWidget
File "/home/hemjyoti/Twente/reinforcement_learning/Python3_codes/bluesky/bluesky/ui/qtgl/radarwidget.py", line 10, in
import bluesky.ui.qtgl.glhelpers as glh
AttributeError: module 'bluesky' has no attribute 'ui'

The zmq error is caused by a zombie bluesky process that is still running from a previous session. Check with ps -aux | grep python to find the process ids, and kill them. The ui error might be caused by that as well. let's see :)

After killing the process, the zmq error is solved but not the ui error. I get the following error now:
Reading magnetic variation data
Found Qt-provided OpenGL functions for OpenGL (4, 1) Core
Traceback (most recent call last):
File "BlueSky.py", line 115, in
main()
File "BlueSky.py", line 98, in main
from bluesky.ui import qtgl
File "/home/hemjyoti/Twente/reinforcement_learning/Python3_codes/bluesky/bluesky/ui/init.py", line 2, in
from bluesky.ui.qtgl.glhelpers import (gl, RenderObject, RenderTarget, RenderWidget,
File "/home/hemjyoti/Twente/reinforcement_learning/Python3_codes/bluesky/bluesky/ui/qtgl/init.py", line 2, in
from bluesky.ui.qtgl.gui import start
File "/home/hemjyoti/Twente/reinforcement_learning/Python3_codes/bluesky/bluesky/ui/qtgl/gui.py", line 9, in
from bluesky.ui.qtgl.mainwindow import MainWindow, Splash, DiscoveryDialog
File "/home/hemjyoti/Twente/reinforcement_learning/Python3_codes/bluesky/bluesky/ui/qtgl/mainwindow.py", line 21, in
from bluesky.ui.qtgl.radarwidget import RadarWidget
File "/home/hemjyoti/Twente/reinforcement_learning/Python3_codes/bluesky/bluesky/ui/qtgl/radarwidget.py", line 10, in
import bluesky.ui.qtgl.glhelpers as glh
AttributeError: module 'bluesky' has no attribute 'ui'
Reading config from settings.cfg
Loading global navigation database...
Reading cache: data/cache/py3/navdata.p
Failed to load BADA performance model
Successfully loaded plugin AREA
Successfully loaded plugin DATAFEED

Hmm, I don't know why this goes wrong on your machine. I'll look into it when I have more time.

Ok, so it turns out that this is an issue with the importing system in python <= 3.6.x! I managed to work around it by changing some of the import statements, implemented in commit 63d0911. This should resolve your issue!

Thank so much professor! It worked with the latest commit.  Closing the issue now.


BAU - Whitelist rules for description field in Stripe notifications

We send the payment description to Stripe and they send it back in
webhooks.
We were blocking a webhook because the description contained ".." (rule
1200).
Whitelist all rules we allow for the description in payment creation
as the description could potentially violate any of these.

Could you also create a PR for the public API whitelist for description and add a comment there saying it needs to be kept in sync with the whitelist here?

Good idea, will do


[Feature] Graph match algorithm/ Assign residue name

But error reports, could you please to figure out the reason. @haodonLiu
To test the case, please use _tinkermodellor.py, and set control to 9.

I didn't find the problem you mention above , but another bug was reported

it seems that you don't assign the Tinker2PDB.init with more than one parameter and you give it two (three if include self), maybe you mistook it with call.

Moreover there is no parent's attribute AtomNum,but AtomNums
there are still bugs existing but I don't understand how does the function work ,maybe you can fix it yourself.
I recommended you that try to reinstall the tkm after changes , maybe a bash script can help you a lot and pylint package can provide you with typing check.
Hope I can help you!


plugins: add AWS Transcribe and Polly TTS plugin

This PR makes the following changes:

Support for AWS Polly Text-to-Speech (TTS)
Support for AWS Transcribe Speech-to-Text (STT)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

thanks for the PR. we'll review this week and hope to get it merged

Thank you @davidzhao .
Moving to Draft to until v0.8.0 changes are done

Any Updates on the AWS Plugin

Any Updates on the AWS Plugin, to merge it ?? I am planning to use livekit but i want to use the AWS plugin

+1
I'm using the plugin from months ago without issues

Hye folks, should we consider reviewing this and getting it merged? I am also looking into using AWS Polly

Hye folks, should we consider reviewing this and getting it merged? I am also looking into using AWS Polly

will have a look this week. hoping to getting it merged soon

Any Updates on the AWS Plugin, to merge it ?? I am planning to use livekit but i want to use the AWS plugin

+1 I'm using the plugin from months ago without issues

Did you modify anything in the implementation because when i used it it raised an error {"message": "unhandled exception while running the job task\nTraceback (most recent call last):\n  File "/Users/tarekswaidane/Desktop/WhiteStork/nevo/tests/s2t/transcribe_aws.py", line 40, in entrypoint\n    stt_impl = STT()\n               ^^^^^\nTypeError: Can't instantiate abstract class STT with abstract method _recognize_impl", "level": "ERROR", "name": "livekit.agents", "pid": 67147, "job_id": "AJ_UZqizXpe4jEn", "timestamp": "2024-12-14T09:01:45.740554+00:00"}
`import asyncio
import logging
from dotenv import load_dotenv
from livekit import rtc
from livekit.agents import (
AutoSubscribe,
JobContext,
WorkerOptions,
cli,
stt,
transcription,
)
from livekit.plugins import silero, deepgram
from aws.stt import STT
load_dotenv()
logger = logging.getLogger("transcriber")
async def _forward_transcription(
stt_stream: stt.SpeechStream, stt_forwarder: transcription.STTSegmentsForwarder
):
"""Forward the transcription to the client and log the transcript in the console"""
async for ev in stt_stream:
if ev.type == stt.SpeechEventType.INTERIM_TRANSCRIPT:
pass
elif ev.type == stt.SpeechEventType.FINAL_TRANSCRIPT:
print(" -> ", ev.alternatives[0].text)
elif ev.type == stt.SpeechEventType.RECOGNITION_USAGE:
logger.debug(f"metrics: {ev.recognition_usage}")
    stt_forwarder.update(ev)

async def entrypoint(ctx: JobContext):
logger.info(f"starting transcriber (speech to text) example, room: {ctx.room.name}")
# this example uses OpenAI Whisper, but you can use assemblyai, deepgram, google, azure, etc.
# stt_impl = openai.STT()
# stt_impl = deepgram.STT()
stt_impl = STT()
if not stt_impl.capabilities.streaming:
    # wrap with a stream adapter to use streaming semantics
    stt_impl = stt.StreamAdapter(
        stt=stt_impl,
        vad=silero.VAD.load(
            min_silence_duration=0.2,
        ),
    )

async def transcribe_track(participant: rtc.RemoteParticipant, track: rtc.Track):
    audio_stream = rtc.AudioStream(track)
    stt_forwarder = transcription.STTSegmentsForwarder(
        room=ctx.room, participant=participant, track=track
    )

    stt_stream = stt_impl.stream()
    asyncio.create_task(_forward_transcription(stt_stream, stt_forwarder))

    async for ev in audio_stream:
        stt_stream.push_frame(ev.frame)

@ctx.room.on("track_subscribed")
def on_track_subscribed(
    track: rtc.Track,
    publication: rtc.TrackPublication,
    participant: rtc.RemoteParticipant,
):
    # spin up a task to transcribe each track
    if track.kind == rtc.TrackKind.KIND_AUDIO:
        asyncio.create_task(transcribe_track(participant, track))

await ctx.connect(auto_subscribe=AutoSubscribe.AUDIO_ONLY)

if name == "main":
cli.run_app(WorkerOptions(entrypoint_fnc=entrypoint))
`
This is how i am using it since it's not in the official library

there's been quite a few changes since the PR is originally opened, and I think we'll need to bring it up to date before merging.
@dasxran could you give me write access to this repo? I'd be glad to fix up a few things before merging

@davidzhao I've already created a new branch from this branch https://github.com/livekit/agents/tree/aws-tts-stt

@davidzhao I've already created a new branch from this branch with latest changes https://github.com/livekit/agents/tree/aws-tts-stt

Is the version on this branch functional, because it seems to result in the same error !

@TarekWSw Not yet, we will soon merge it to main

@davidzhao @jayeshp19  please let me know if i can help in anything in order to merge this ASAP


[Feature Request] Drag and drop tags

I would like to request a feature where the tags in the multiselect are drag and droppable, in order to change the positions.
Are there any plans for this or can anyone suggest an already working solution?

This could be possible with v3 given you’re ready to implement your own drag and drop and connect it with the v3 API.

Any estimate on v3?

This could be possible with v3 given you’re ready to implement your own drag and drop and connect it with the v3 API.

Any estimate on v3?

Really hard to say. :( Could use some help from people trying to use it (might release a beta soon).

Can we open this back up so it can be worked on? Seems like an important feature to be able to sort and reorder the selected options.

I don’t think this is an important enough feature to be included in the core. But the v3 version already supports this indirectly. It means that you can replace the way the values/tags are displayed with a drag-n-drop functionality that you can the connect with Multiselect.


Hashing new folder with known duplicate files takes a long time

CC: @maxpiva
LOG FILE
https://www.dropbox.com/sh/mcyp1gevc6y6v29/AAD-p9h21fG7ps0wI07cXznLa?dl=0
Description
I wanted to scan some files and make sure they all got added correctly so I made a new folder and copied the files to it and added it to shoko server as a watched folder. Scanning these files takes a while, I expected it to go real fast since most of the files where known to shoko but it takes 1-2 min to start hashing the next file.

STEPS TO REPRODUCE

Make a new folder on a local drive
Copy in some files shoko knows about into it.
Add the folder to shoko as a watched folder.
Click "Run Import"

It should now hash these files with a large delay between them
Alternate shorter steps:

Copy some known files from one watched folder to another, also on local drives.

That explains a lot. Thanks

Fixed