cci: how to change conected inverter (surplus)

For some reason fronius told me (intersolar) they will not provide an API Description. They were amazed that someone is able to use the API and WS. But anyway there are realy not using there one product since there is no idea to change the inverter from one wattpilot to the next if the car is on one of two or three wp full. they will bring a solution for loadsharing for up to three.
Anyway, I would like to have a logic to switch the cci to the next wattpilot where is a car connected and after the car is full switch to the next one, which is connected and waiting for surplus.
For a start we should have the possibility to change the cci parameter to the surplus inverter. Is there a solution to get the parameter for setting cci to the right one, since if the inverter is not set the web api don´t show anything (cci: null). Once the inverter is set, the parameter to move from on wp to the next are clear, but where get the app these values?
Could we integrate a solution to set the cci value(s) on mqtt?
Maybe with a drop down to select inverter(s) ?
To change surplus from one to another wp decoupling and coupling (next wp to the surplus inverter) is nessesary.

cci seems to be read-only and does only contain the currently connected inverter. I have not seen a property which contains any/all available inverter nor a command send by the client to WP to couble/decouble the inverter.
However, there are ClearInverters and UpdateInverters commands which are send by the WP to the WebSocket Client were i do not know which information or purpose these commands serve. This library currently receives these commands but does not store or process the received data (it simple ignores them at the moment).
It might be possible that multiple UpdateInverters commands are send if multiple inverters are detected in the network and that the contained inverter ID is used to couble a inverter with an yet unknown command send by the client.
It should be possible to reverse engineer / sniff this commands. Unfortunatly I have no network dump of traffic were i coubled/decoubled an inverter and have only one inverter at hand.
You have one inverter and multiple Wattpilots and want to couble/decouble the inverter to the currently "active" wattpilot dynamically to allow multiple cars to perform eco-charge?
Alternatively you could also perform the surplus charge on your own by utilizing HA, reading the data of current load and producion from the inverter and then set the max load parameter on the wattpilots by using the existing mqtt commands. This would also allow to charge two times at the same time when enough surplus is available. (Or two cars with surplus/2).

ah already found it. Fortunately i had my sniffer setup still working:
To pair with an inverter the client sends a Message of Type "pairInverter" to the Wattpilot with the serialnumber of the inverter to pair with as an parameter:
{"type":"securedMsg","data":"{"type":"pairInverter","inverterId":"240.123456","requestId":"2"}","requestId":"2sm","hmac":"xxxxx"}
Same is done to decouble an inverter, This is done through a "unPairInverter" Command:
{"type":"securedMsg","data":"{"type":"unpairInverter","inverterId":"240123456","requestId":"1"}","requestId":"1sm","hmac":"xxxxx"}
I assume the UpdateInverter Info from the Wattpilot is send multiple times if multiple inverters are detected.
How is the App reacting if you try to couble a inverter which is already coubled to another wattpilot? Is this inverter "greyed out" in the app or do you receive some kind of error? (Cannot thest this as i, unfortunatly only have one wattpilot and one inverter ;) )

I added an UpdateInvert pair|unapir  command to the library and to the commandline shell and tested this on my device without problems so far.
inverter ID is the number shown in () in the app and normally in the form 123.456789.
I have not added this as an mqtt/ha command yet as i am not deep into the mqtt implementation. Will look into this on the weekend eventually.
INFO:wattpilot.wattpilotshell:Automatically connecting to Wattpilot ...
INFO:wattpilot:Wattpilot None initilized
INFO:wattpilot:Wattpilot connected
INFO:wattpilot:Connected to WattPilot Serial 99999999
INFO:wattpilot:Authentication successful
Wattpilot: Wattpilot_999999999
Serial: 999999999
Connected: True
Car Connected: complete
Charge Status True
Mode: Default
Power: 16
Charge: 0.00kW ---- 232V/232V/231V -- 0.00A/0.00A/0.00A -- 0.00kW/0.00kW/0.00kW

Welcome to the Wattpilot Shell 0.2.   Type help or ? to list commands.

wattpilot> UpdateInverter unpair 240.123456
wattpilot> UpdateInverter pair 240.123456
wattpilot>

I tried to pair & unpair the WP´s. But this is crasy, with FW 36.3 (WP) it is reproducable to pair all WP´s to the GEN24.
Question is how this will work, every WP get 1/2 or 1/3 surplus ?


[Doc] Information is not clear on setting up IWA in linux page.

In step 04 under Setting up IWA section in [1],
The following statement is not clear what it is asking to do.  Please clearly mentioned
1) How we can use the DNS tool to find the hostname (pointed link is not explaining it)
2) As per my understanding DNS tool should run on windows server which AD is exist and
WSO2 IS is running on linux machine. Please explain clearly what needs to be done in order to achieve this step.
3) why we are having two domain names as idp.wso2.com and idp.is.local. Earlier we are asking to have same domain name in AD and WSO2 IS.

Register WSO2 IS using the same hostname (idp.wso2.com) in Active Directory. To do this, use the DNS tool on the machine that is running WSO2 IS to add an entry for the hostname (idp.is.local), and map it to the local ip address.

[1] https://docs.wso2.com/display/IS540/Configuring+IWA+on+Linux

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


iOS Safari: Doesn't change value of , shows console errors

iOS 10.3
Safari
Given I import rangetouch using a script tag in the HTML page
And I interact with my <input type="range>" The thumb` moves but the position doesn't update after releasing
And I get console errors
Without rangetouch:

With rangetouch:

Console after interacting:

Error:
TypeError: e is not a function. (In 'e(e.target,e.type===l.events.end?"change":"input")', 'e' is an instance of TouchEvent)
c — rangetouch.js:1:1405

Damn. Sorry about this. Looking now.

Thanks for reporting this. Should be resolved in v1.0.5

Wow, thanks for the really fast fix.


SegFault with nightly build for Python 3.8

I am using the nightly build for Python 3.8 from AMD's ML CI:
http://ml-ci.amd.com:21096/job/tensorflow-rocm-nightly/281/
I run into this issue:
https://gitlab.com/pfasdr/code/decoder/-/jobs/534125689
Python 3.6 and Python 3.7 work fine with tensorflow-rocm from PyPI:
https://gitlab.com/pfasdr/code/decoder/-/jobs/534125688
https://gitlab.com/pfasdr/code/decoder/-/jobs/534125685
The stacktrace for googleability:
Fatal Python error: Segmentation fault
 Current thread 0x00007f1a2ef8e740 (most recent call first):
   File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
   File "<frozen importlib._bootstrap_external>", line 1101 in create_module
   File "<frozen importlib._bootstrap>", line 556 in module_from_spec
   File "<frozen importlib._bootstrap>", line 657 in _load_unlocked
   File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
   File "<frozen importlib._bootstrap>", line 991 in _find_and_load
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/tensorflow/python/pywrap_tensorflow.py", line 64 in <module>
   File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
   File "<frozen importlib._bootstrap_external>", line 783 in exec_module
   File "<frozen importlib._bootstrap>", line 671 in _load_unlocked
   File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
   File "<frozen importlib._bootstrap>", line 991 in _find_and_load
   File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
   File "<frozen importlib._bootstrap>", line 1042 in _handle_fromlist
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/tensorflow/python/__init__.py", line 50 in <module>
   File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
   File "<frozen importlib._bootstrap_external>", line 783 in exec_module
   File "<frozen importlib._bootstrap>", line 671 in _load_unlocked
   File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
   File "<frozen importlib._bootstrap>", line 991 in _find_and_load
   File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
   File "<frozen importlib._bootstrap>", line 961 in _find_and_load_unlocked
   File "<frozen importlib._bootstrap>", line 991 in _find_and_load
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/tensorflow/__init__.py", line 41 in <module>
   File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
   File "<frozen importlib._bootstrap_external>", line 783 in exec_module
   File "<frozen importlib._bootstrap>", line 671 in _load_unlocked
   File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
   File "<frozen importlib._bootstrap>", line 991 in _find_and_load
   File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
   File "<frozen importlib._bootstrap>", line 961 in _find_and_load_unlocked
   File "<frozen importlib._bootstrap>", line 991 in _find_and_load
   File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
   File "<frozen importlib._bootstrap>", line 961 in _find_and_load_unlocked
   File "<frozen importlib._bootstrap>", line 991 in _find_and_load
   File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
   File "<frozen importlib._bootstrap>", line 961 in _find_and_load_unlocked
   File "<frozen importlib._bootstrap>", line 991 in _find_and_load
   File "/builds/pfasdr/code/decoder/test/pfasdr/neural/test_ze_discriminate_pd_np.py", line 3 in <module>
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/_pytest/assertion/rewrite.py", line 152 in exec_module
   File "<frozen importlib._bootstrap>", line 671 in _load_unlocked
   File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
   File "<frozen importlib._bootstrap>", line 991 in _find_and_load
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/py/_path/local.py", line 701 in pyimport
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/_pytest/python.py", line 513 in _importtestmodule
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/_pytest/python.py", line 445 in _getobj
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/_pytest/python.py", line 263 in obj
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/_pytest/python.py", line 461 in _inject_setup_module_fixture
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/_pytest/python.py", line 448 in collect
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/_pytest/runner.py", line 264 in <lambda>
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/_pytest/runner.py", line 244 in from_call
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/_pytest/runner.py", line 264 in pytest_make_collect_report
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/pluggy/manager.py", line 84 in <lambda>
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/_pytest/runner.py", line 382 in collect_one_node
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/_pytest/main.py", line 681 in genitems
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/_pytest/main.py", line 684 in genitems
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/_pytest/main.py", line 490 in _perform_collect
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/_pytest/main.py", line 452 in perform_collect
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/_pytest/main.py", line 257 in pytest_collection
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/pluggy/manager.py", line 84 in <lambda>
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/_pytest/main.py", line 246 in _main
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/_pytest/main.py", line 191 in wrap_session
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/_pytest/main.py", line 240 in pytest_cmdline_main
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/pluggy/manager.py", line 84 in <lambda>
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/lib/python3.8/site-packages/_pytest/config/__init__.py", line 124 in main
   File "/builds/pfasdr/code/decoder/.tox/neural-py38/bin/pytest", line 8 in <module>

This issue seems to affect the nightly build against all Python versions:
https://gitlab.com/pfasdr/code/decoder/-/jobs/534166539 (CPython 3.6)
https://gitlab.com/pfasdr/code/decoder/-/jobs/534166540 (CPython 3.7)
Let me guess: I am using too old of a base image.

Let's try upgrading the base images:
https://gitlab.com/pfasdr/code/decoder/pipelines/141597985

All other issues sorted out, it works. Thanks for your attention, I am closing this issue. For reference:
https://gitlab.com/pfasdr/code/decoder/pipelines/141611444


PWA

Fully develop offline as progressive web app

[ ] Need to add fallback for about page when offline.


[TC-IDM-2.1] and [TC-IDM-2.2]--TH "fails" to send a report data action with the attribute value to the DUT with the attribute value from all the clusters for specific endpoint.

Problem
When TH sends the Read Request Message to the DUT to read a specific attribute and specific endpoints from all clusters.
On receipt of this message, DUT should send a report data action with the attribute value to the TH. But Currently DUT "fails" send a report data action with the attribute value and endpoints from all the clusters to the TH.
actual behavior:- 0x80 (INVALID_ACTION)

expected behavior:-On the TH, DUT should send report data message has all the right attribute values.

steps to reproduce:-

sudo ./chip-tool any read-by-id 0xFFFFFFFF 0x0 1 0
sudo ./chip-tool any read-by-id 0xFFFFFFFF 0x0 1 1
system configuration:-
Chip-Tool: RPI
DUT: RPI
Platform : IP and Wifi
Commit-ID:4d50b1084284018c4a628f919b0d2e01ea2a39f8
Dut: all-cluster-app
PFA log:-
[TC-IDM-2.2].txt
Test-Plan reference
https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/interactiondatamodel.adoc#tc-idm-2-1-read-request-action-from-dut-to-th-dut-controller

This is a expected behavior, 0xFFFFFFFF is not a valid cluster id

relates to #17994, closing.


[Don't Merge] test for generating cache

Description
Created to test:

https://github.com/autowarefoundation/autoware-github-actions/pull/303

Tests performed

Not applicable.
Effects on system behavior

Not applicable.
Interface changes

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

https://github.com/autowarefoundation/autoware-github-actions/pull/303#issuecomment-2176121219


Minor CLI fix to save parquet

Changes done in order to resolve the issue #258 .

Can one of the admins verify this patch?

Hello @Arun-George-Zachariah, thank you for submitting this pull request!
I don't believe this change fixes the issue correctly though, Freebayes is a transformation from AlignmentDataset to VariantContextDataset, as shown here
https://github.com/bigdatagenomics/cannoli/blob/6e637008d780e4680feb3db47ab8e6ab6a2de1d5/core/src/main/scala/org/bdgenomics/cannoli/Freebayes.scala#L77
This change would write out a VariantDataset to disk in Parquet format, not a VariantContextDataset.  The difference is
https://javadoc.io/static/org.bdgenomics.adam/adam-core-spark2_2.11/0.32.0/org/bdgenomics/adam/sql/Variant.html
vs
https://javadoc.io/static/org.bdgenomics.adam/adam-core-spark2_2.11/0.32.0/org/bdgenomics/adam/sql/VariantContext.html
Hope this helps!

Hi @heuermh,
Thank you so much for the details. It's more clear now.


Drone giveaway 1,500 not 2,000

I believe ibm is giving away 1,500 drones not 2,000.
Reuben

They upped it - I don't think it's announced yet 😆


9.1.0 requires "node-fetch", but not specify it as a dependency

Expected Behaviour
npm test works
Actual Behaviour
 FAIL  src/index.spec.js
  ● Test suite failed to run

    Cannot find module 'node-fetch' from 'node_modules/testcontainers/dist/http-wait-strategy.js'

    Require stack:
      node_modules/testcontainers/dist/http-wait-strategy.js
      node_modules/testcontainers/dist/wait.js
      node_modules/testcontainers/dist/reaper.js
      node_modules/testcontainers/dist/generic-container/generic-container.js
      node_modules/testcontainers/dist/index.js
      src/localstack.test.js
      src/index.spec.js

    > 1 | const {GenericContainer, Wait} = require('testcontainers')
        |                                  ^
      2 |
      3 | let container
      4 |

      at Resolver._throwModNotFoundError (node_modules/jest-resolve/build/resolver.js:425:11)
      at Object.<anonymous> (node_modules/testcontainers/dist/http-wait-strategy.js:18:38)
      at Object.<anonymous> (node_modules/testcontainers/dist/wait.js:5:30)
      at Object.<anonymous> (node_modules/testcontainers/dist/reaper.js:20:16)
      at Object.<anonymous> (node_modules/testcontainers/dist/generic-container/generic-container.js:20:18)
      at Object.<anonymous> (node_modules/testcontainers/dist/index.js:4:27)
      at Object.require (src/localstack.test.js:1:34)
      at Object.require (src/index.spec.js:6:20)

Testcontainer Logs
n/a (no containers are start)
Steps to Reproduce
Example project: https://github.com/artamonovkirill/ninshubur/pull/221
Environment Information

Operating System: macOs Ventura 13.1
Docker Version: 20.10.20
Node version: v19.2.0
Testcontainers version: 9.1.0

@artamonovkirill Thanks! Fixed in 9.1.1

@cristianrgreco thanks, 9.1.1 works fine! 🙌


GUI: alternative NodePage for nodes with high degrees

In ISI's CSKG nodes that have been merged (via sameAs) from multiple datasources have high degrees, and take a long time to load.
See note in tetherless-world/mowgli-etl#144 re: alternative views.
@stouffers Good second issue. This will depend on tetherless-world/mowgli-etl#135 (edge list paging), which I will implement ASAP.
May want to pull in edges dynamically (all from a datasource, for example) rather than all at once like the current NodePage.

This became less pressing now that we're using PageRank.


ZEVA - Vehicle suppliers first MY Report default

Description
The task is to investigate and modify the system logic used in ZEVA for determining the year of MY Report creation for a supplier. The current system forces new suppliers to start with a 2020 report. However, this is not suitable for all suppliers, especially new ones or small ones, who may need to start at a later date. This task requires a deep dive into the existing logic, identifying potential areas for modification, and creating a flexible system that caters to the needs of all suppliers.
We need to support suppliers creating their first report in the year they started selling vehicles in.
Purpose
The purpose of this task is to enhance the system flexibility and accuracy to better accommodate the unique needs of new and small suppliers. This will allow suppliers to start their reporting in years other than 2020.
Acceptance Criteria

[ ] Successfully identify and understand the current logic used in ZEVA for determining the year of MY Report creation for suppliers.
[ ] Design a flexible system that allows new suppliers to create their first report for a year other than 2020, as per their needs.
[ ] The new logic should be backward compatible, i.e., it should work seamlessly for the existing suppliers who have started from 2020 and will continue to add reports yearly.
[ ] Conduct extensive testing to ensure that the new logic works as intended without introducing any new bugs or conflicts with other system functionalities.

Hey team! Please add your planning poker estimate with Zenhub @AlexZorkin @JulianForeman @tim738745

Waiting for wireframe from @airinggov

The drop down should have years 2020 to current year. It is displaying years 2017, 2018, 2019 in error.
The drop down should be locked once the supplier has a report created in any status. Above it stated to be locked when Submitted or Assessed but it should be locked if they have a report in any status.


Crash on double clicking on another connection while a query is executing

Steps to reproduce:
1.Run a relatively long running query in connection1(db2 luw) so that you see the "Read data - xx secs" message
2. Double click another connection (db2 luw) in the  database pane
(v 3.7.3 , jre1.8.0_101, Win 7 Enterprise)

What do you mean under "crash" exactly? Any error messages, logs?

The whole window becomes unresponsive. No error messages are displayed.
No entry corresppoding to this timestamp in /.metadata/.log or dbeaver-debug.log
I checked ${HOME}/.dbeaver and /configuration and no files are last modified with timestamp as the crash time.

Yes, logs are useless in case of UI freeze.
Could you make a thread dump (https://github.com/serge-rider/dbeaver/wiki/Making-a-thread-dump) and post it here?

I tried to make the thread dump, but the UI freeze stopped after a few seconds (while I was opening the task manager for PID etc) and issued an error message saying query cancelled. I guess I was being impatient earlier and must have killed it soon after it stopped responding.
Below are the logs.
!ENTRY org.jkiss.dbeaver.model 4 0 2016-09-29 15:05:37.394
!MESSAGE Unexpected error while processing SQL
!SUBENTRY 1 org.jkiss.dbeaver.model 4 0 2016-09-29 15:05:37.394
!MESSAGE
!STACK 0
java.lang.NullPointerException
at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.executeSingleQuery(SQLQueryJob.java:354)
at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.extractData(SQLQueryJob.java:719)
at org.jkiss.dbeaver.ui.editors.sql.SQLEditor$QueryResultsContainer.readData(SQLEditor.java:1535)
at org.jkiss.dbeaver.ui.controls.resultset.ResultSetDataPumpJob.run(ResultSetDataPumpJob.java:139)
at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:103)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!ENTRY org.jkiss.dbeaver.model 2 0 2016-09-29 15:05:37.505
!MESSAGE SQL Warning (DataSource: 40D; Code: 4223; State: null): Origination unknown: [10228][11541][4.16.53] Security exceptions occurred while loading driver. ERRORCODE=4223, SQLSTATE=null
!ENTRY org.jkiss.dbeaver.model 4 0 2016-09-29 15:05:38.031
!MESSAGE org.jkiss.dbeaver.model.exec.DBCException
!SUBENTRY 1 org.jkiss.dbeaver.model 4 0 2016-09-29 15:05:38.031
!MESSAGE
!STACK 0
java.lang.NullPointerException
at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.executeSingleQuery(SQLQueryJob.java:354)
at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.extractData(SQLQueryJob.java:719)
at org.jkiss.dbeaver.ui.editors.sql.SQLEditor$QueryResultsContainer.readData(SQLEditor.java:1535)
at org.jkiss.dbeaver.ui.controls.resultset.ResultSetDataPumpJob.run(ResultSetDataPumpJob.java:139)
at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:103)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Well, these errors aren't directly related to UI freeze. Although NPE is definitely a bug and I've fixed it.
Maybe UI issues was a side-effect of NPE.


./weights/aux/densepose_model.pkl not found!

I can't find the models here

Hi, we uploaded our pretrained weights together with other incooporated models here, so you may simply do
git clone https://huggingface.co/HVSiniX/RawVideoDriven && ln -s RawVideoDriven/weights weights

hopefully that would come helpful


[BUG] Initate Instance fail

Describe the bug
Initate Instance fail
I got a fail on init instance of the anchor money market contracts.
To Reproduce
id: 18465
{
"owner_addr": "terra1tt3yrvuc7aq4lnyl0rykz97vvz8j6jhrv6qa99",
"stable_denom": "uusd",
"aterra_code_id": 5,
"anc_emission_rate": "0.05",
"max_borrow_factor": "0.95"
}
and 1 UST to deposit.
Context & versions
the latest code

(if applicable) suggested solution

Hello there, can I have the raw transaction?

I met the other error now.
now the terra is stable now?

It is not a bug, here is the successful init on Bombay. https://finder.terra.money/bombay-12/tx/F6DEDB44BA93A3E74D2B0D20EBBA3C49465555E789E053C0E2E4962D6D6DE373.
if you are instantiating on Bombay, please use the 1572 for aterra_code_id, 5 code_id is not cw20 contract for instantiation. That's why you got Null.

Yeah. I changed it to 1572, and got a fail on the creation of the contracts. the fee calculation has potential problems, it seems.

Please increase the gas and follow the example I provide. I recommend terra.js for this.

@ChunHuCui can I close this issue?

How can I increase the gas fee on terra station, and Can I create the terra.js to create the smart contracts?

Could you possibly share the terra.js code to create the contracts?

I tried to deposit UST to terra1z6hzu4fs9fhtfk02eev6eq42xwuct4u5ejhq8s which is you deployed, but got a fail.

I tried to deposit UST to terra15dwd5mj8v59wpj0wvt233mf5efdff808c5tkal which is described on anchorcliTestnet.json ("mmMarket": "terra15dwd5mj8v59wpj0wvt233mf5efdff808c5tkal"), got a success.

I think the latest money market contracts have some potential problems now.
Could you possibly check the latest code and test it?
Thank you.

we have a post_init step that I did not take for the example that I provide. https://github.com/Anchor-Protocol/money-market-contracts/blob/d2c5d089e1a34735e9483f9e54afb647bb00c13d/packages/moneymarket/src/market.rs#L31. I did not do that for that example, but you can try it yourself. after that step, you can use the contract.

Yeah. got a success.
thank you @MSNTCS .


Cleanup error handling in datastoresyncer

Propagate or log errors instead of calling Fatalf
Propagate errors for functions that return error
Improved logging messages where appropriate

Signed-off-by: Tom Pantelis<EMAIL_ADDRESS>

@skitt

There are some conflicts now, sorry.


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v5.14.15",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cc20226e218a2375d50dd9ac14fb4121b43375ff"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "cc20226e218a2375d50dd9ac14fb4121b43375ff",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "isdn: cpai: check ctr->cnr to avoid array index out of bound\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.14.15 by commit cc20226e218a2375d50dd9ac14fb4121b43375ff. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1002113


Wrong Limitation in Text for max. Teams Channels (old 200 | new 1,000)

In the last paragraph, it says: "The 30 private channel limit is in addition to the 200 standard channel limit per team."
Text Anker
This is the wrong limiation since Oktober 2023 or something: it is 1,000 now
Source: https://learn.microsoft.com/en-us/microsoftteams/limits-specifications-teams#teams-and-channels

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: ce34b12b-aa50-608b-bbfa-a1fb4bb79f8d
Version Independent ID: 9ddeb6f4-f30a-1e72-fc94-ae66def91f40
Content: IT Admins - Private channels in Microsoft Teams - Microsoft Teams
Content Source: Teams/private-channels.md
Service: msteams
GitHub Login: @MicrosoftHeidi
Microsoft Alias: heidip

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


Embedded Idp

A question about the difference between embedded Idp and Idp code included and built as part of the project.
We are using embedded mode for development only. But we deploy this to the Azure ASE. Are there any performance impacts ? Our performance team will run load tests even if Idp is embedded as part of their process.
If this is related to Azure/.NET and not really Idp I will research elsewhere.

I don't follow -- what does "embedded mode" mean?

This is my confusion. I see the IdentityServer3 source code being built as part of a project and deployed.
I use the nuget packages directly.
Can I ask if there are any performance metrics that I can refer ?

We recommend that you use IdentityServer via a NuGet reference.

Can I ask ? Which of these interfaces should I use ? IdentityServer3 is from nuget.
`
                  namespace IdentityServer3.Core.Services
                 {
                     //
                   // Summary:
                  //     This interface allows IdentityServer to connect to your user and profile store.
                  public interface IUserService
                    {
                           //
    // Summary:
    //     This method gets called when the user uses an external identity provider to authenticate.
    //     The user's identity from the external provider is passed via the `externalUser`
    //     parameter which contains the provider identifier, the provider's identifier for
    //     the user, and the claims from the provider for the external user.
    //
    // Parameters:
    //   context:
    //     The context.
    Task AuthenticateExternalAsync(ExternalAuthenticationContext context);
    //
    // Summary:
    //     This method gets called for local authentication (whenever the user uses the
    //     username and password dialog).
    //
    // Parameters:
    //   context:
    //     The context.
    Task AuthenticateLocalAsync(LocalAuthenticationContext context);
    //
    // Summary:
    //     This method is called whenever claims about the user are requested (e.g. during
    //     token creation or via the userinfo endpoint)
    //
    // Parameters:
    //   context:
    //     The context.
    Task GetProfileDataAsync(ProfileDataRequestContext context);
    //
    // Summary:
    //     This method gets called whenever identity server needs to determine if the user
    //     is valid or active (e.g. if the user's account has been deactivated since they
    //     logged in). (e.g. during token issuance or validation).
    //
    // Parameters:
    //   context:
    //     The context.
    Task IsActiveAsync(IsActiveContext context);
    //
    // Summary:
    //     This method is called prior to the user being issued a login cookie for IdentityServer.
    //
    // Parameters:
    //   context:
    //     The context.
    Task PostAuthenticateAsync(PostAuthenticationContext context);
    //
    // Summary:
    //     This method gets called before the login page is shown. This allows you to determine
    //     if the user should be authenticated by some out of band mechanism (e.g. client
    //     certificates or trusted headers).
    //
    // Parameters:
    //   context:
    //     The context.
    Task PreAuthenticateAsync(PreAuthenticationContext context);
    //
    // Summary:
    //     This method gets called when the user signs out.
    //
    // Parameters:
    //   context:
    //     The context.
    Task SignOutAsync(SignOutContext context);
}

}
`
`
                 namespace Thinktecture.IdentityServer.Core.Services
                 {
                             public interface IUserService
                             {
                             Task<AuthenticateResult> AuthenticateExternalAsync(ExternalIdentity externalUser, SignInMessage message);
                            Task<AuthenticateResult> AuthenticateLocalAsync(string username, string password, SignInMessage message);
                            Task<IEnumerable<Claim>> GetProfileDataAsync(ClaimsPrincipal subject, IEnumerable<string> requestedClaimTypes = null);
                            Task<bool> IsActiveAsync(ClaimsPrincipal subject);
                            Task<AuthenticateResult> PreAuthenticateAsync(SignInMessage message);
                            Task SignOutAsync(ClaimsPrincipal subject);
}

}
`

I have managed to implement the new methods. More specifically
`
     Task IsActiveAsync(IsActiveContext context);

`
was
`
              Task<bool> IsActiveAsync(ClaimsPrincipal subject);

`
The code was returning 'bool' but now the return type is Task.

I believe we need to do this.
           `

     public Task IsActiveAsync(IsActiveContext context)
    {
        context.IsActive = true;
        return Task.FromResult(0);
    }

`

You're asking lots of fundamental questions that can be answered by reading the docs, or watching the intro video. https://identityserver.github.io/Documentation/


Alpha matting issue

The command:  backgroundremover -i "cute-ferret-is-sleeping.jpg" -o "test.png" works fine.
But if I try turning on alpha matting with the command: backgroundremover -i "cute-ferret-is-sleeping.jpg" -a -ae 15 -o "test.png" it fails.
I installed via pipx rather than pip, but I also tested in a virtual box (Ubuntu and Manjaro) using pip getting the same error as below:
Traceback (most recent call last):
File "/home/sde/.local/bin/backgroundremover", line 8, in
sys.exit(main())
File "/home/sde/.local/pipx/venvs/backgroundremover/lib/python3.10/site-packages/backgroundremover/cmd/cli.py", line 239, in main
remove(
File "/home/sde/.local/pipx/venvs/backgroundremover/lib/python3.10/site-packages/backgroundremover/bg.py", line 188, in remove
cutout = alpha_matting_cutout(
File "/home/sde/.local/pipx/venvs/backgroundremover/lib/python3.10/site-packages/backgroundremover/bg.py", line 131, in alpha_matting_cutout
structure = np.ones((erode_structure_size, erode_structure_size), dtype=np.int)
File "/home/sde/.local/pipx/venvs/backgroundremover/lib/python3.10/site-packages/numpy/init.py", line 305, in getattr
raise AttributeError(former_attrs[attr])
AttributeError: module 'numpy' has no attribute 'int'.
np.int was a deprecated alias for the builtin int. To avoid this error in existing code, use int by itself. Doing this will not modify any behavior and is safe. When replacing np.int, you may wish to use e.g. np.int64 or np.int32 to specify the precision. If you wish to review your current use, check the release note link for additional information.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'inf'?

You should be able to change the np.int to np.int64

That should do the work.

Thanks, changing np.int to np.int64 fixed it.

If anyone wants to make a pr for this..
El mié, 24 de may de 2023 14:30, LLdotcom @.***>
escribió:

Thanks, changing np.int to np.int64 fixed it.
—
Reply to this email directly, view it on GitHub
https://github.com/nadermx/backgroundremover/issues/78#issuecomment-1561886375,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYACXAMC2UQWI55T3KKN63XHZVURANCNFSM6AAAAAAYKS4ZXA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

If anyone wants to make a pr for this.. El mié, 24 de may de 2023 14:30, LLdotcom @.> escribió:
…
Thanks, changing np.int to np.int64 fixed it. — Reply to this email directly, view it on GitHub <#78 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYACXAMC2UQWI55T3KKN63XHZVURANCNFSM6AAAAAAYKS4ZXA . You are receiving this because you are subscribed to this thread.Message ID: @.>

I have make a pr for this:
https://github.com/nadermx/backgroundremover/pull/79


REST: add support for Trailers

Currently, no GCP service sends trailers. Defer adding support for trailers until there's a need for them.

Let's close this, it seems unlikely we will need it.


MacOS updating webdrivers fails on geckodriver

When running $ webdriver-manager update, it tries to reach

https://github.com/mozilla/geckodriver/releases/download/v0.21/geckodriver-v0.21-macos.tar.gz

Which is the incorrect URL. It should point to

https://github.com/mozilla/geckodriver/releases/download/v0.21.0/geckodriver-v0.21.0-macos.tar.gz

Output:
(env) gorm:test Graham$ webdriver-manager update
INFO updating chromedriver
INFO got chromedriver_2.41
INFO updating geckodriver
ERROR there was a 404 error trying to reach https://github.com/mozilla/geckodriver/releases/download/v0.21/geckodriver-v0.21-macos.tar.gz
This probably means the requested version does not exist.

The URL is missing .0 in the version number.

Known issue: https://github.com/lucianopuccio/webdriver-manager/pull/1 is created by @filiprichtarik

This has been fixed.
Run pip install --upgrade py-webdriver-manager to get the latest version.


text color equal to background color

Some labels are rendered in the same color as the console background. Making them only readable after selecting the text.
Looking through the issues, I realize that can be because most of my labels don't have a background color.
Console: Cmder (ConEmu) @ Windows 10. The console does support 24bit color mode.
hub --version
git version 2.20.1.windows.1
hub version 2.11.2

From left to right, ConEmu, CMD, Powershell:

Repo from: https://github.com/github/hub/pull/1980#issuecomment-451015117

Hi thank you for reporting! This is how it should look like (iTerm2 on macOS):

Out detection of color compatibility in terminals isn't great https://github.com/github/hub/blob/dcdf56167c38eacef96ad5ef88575e7f74f9a6f2/utils/color.go#L113-L132
Do any of these terminals advertise TERM_PROGRAM among environment variables?

Sorry, lost track of this issue. None of the terminals have the TERM_PROGRAM env variable. What should it's value be?
Shouldn't the purpose of adding --color be to ignore all kinds of terminal detection and force output in the 24bit color mode?

Setting it to Apple_Terminal to force the "broken 24 bit mode" add's some color to it. As I understand it, setting it to anything else, would force render in 24bit mode. Correct? If that's the case, 24bit mode doesn't work on Windows. Which is strange, because ConEmu should support it.
set TERM_PROGRAM=Apple_Terminal
hub issue labels --color

Cygwin and thereby ConEmu do expose the TERM env variable. It contains the value cygwin. Cmd and Powershell do not.

Thank you for exploring. Since these programs don't set TERM_PROGRAM, is there something else from the environment that we can detect and opt these shells into the "broken 24 bit mode"?


boards: add initial support for adi_sdp_k1

can you add the board to the "ADI Platforms" section in the maintainers file? (suggested on discord by @MaureenHelm)


dotnet\PorcupineDemo\MicDemo.Release: [ERROR] failed to parse AccessKey

I have been trying to get started with Porcupine for .NET but no matter what I try, I can't get my access key to work. I ended up resorting to cloning the dotnet\PorcupineDemo sample but when running the command below (obviously with '[redacted]' replaced by the correct portion of the key) I still get the "failed to parse AccessKey":
dotnet run -c MicDemo.Release -- --access_key F4w4sE[redacted]Ug== --keywords porcupine

I've tried various formats of access key, delimiting it in quotes and curly braces, etc. all to no avail. I can confirm internet access and that I'm able to use wake word detection in Picovoice Console.
Any suggestions? This is driving me nuts...
Expected behaviour
MicDemo.Release should run
Actual behaviour
PS :> dotnet run -c MicDemo.Release -- --access_key F4w4sE[redacted]Ug== --keywords porcupine
[ERROR] failed to parse AccessKey 'F4w4sE[redacted]Ug=='

Steps to reproduce the behaviour

Generate an access key in the Picovoice Console
Attempt to run dotnet\PorcupineDemo\MicDemo.Release using the new access key.

Environment
Installed Dotnet SDKs: 2.1.811, 2.2.207, 3.1.100, 3.1.404, 5.0.201, 5.0.404, 6.0.101
Nuget Package: 2.0.1
Other Info

Same error while trying to instantiate Rhino:Rhino rhino = Rhino.Create("F4w4sE[redacted]Ug==", "${ContextFile}");

Forcing the use of .netcore 3.1[.404] (via global.json) results in same error.

@ibebbs silly question - are you sure you copied it correctly from Picovoice Console? I see an AccessKey in our database that contains the partial string you posted, but starts with a different character.

Hope that solved your problem! Closing due to inactivity.

Hey @laves ,
Firstly, my most profound, humble and abject apologies for the red herring; the access key I was using above was indeed wrong. However, even with the correct access key, both my own project and MicDemo still fail to run.
In the first instance, by following the steps in the .NET Quick Start I created a new (.NET 6.0) project and added a reference to the Porcupine package as shown below:
mkdir PicoVoiceSpike
cd PicoVoiceSpike
dotnet new console
dotnet add package Porcupine

I then modified Program.cs to:
using Pv;

Porcupine porcupine = Porcupine.FromBuiltInKeywords("VF4w4sE[redacted]Ug==", new List<BuiltInKeyword> { BuiltInKeyword.PORCUPINE, BuiltInKeyword.BUMBLEBEE });

Console.WriteLine("Successfully instantiated Porcupine");

Then:
dotnet build
dotnet run
No Instance(s) Available.
Unhandled exception. Pv.PorcupineActivationException: Porcupine init failed.
   at Pv.Porcupine..ctor(String accessKey, IEnumerable`1 keywordPaths, String modelPath, IEnumerable`1 sensitivities)
   at Pv.Porcupine.FromBuiltInKeywords(String accessKey, IEnumerable`1 keywords, String modelPath, IEnumerable`1 sensitivities)
   at Program.<Main>$(String[] args) in S:\Source\Spikes\PicoVoiceSpike\Program.cs:line 3

Similarly, with fresh clone of the Porcupine Repository, the MicDemo fails with the same exception:
dotnet run -c MicDemo.Release -- --access_key VF4w4sE[redacted]Ug== --keywords porcupine
Pv.PorcupineActivationException: Porcupine init failed.
   at Pv.Porcupine..ctor(String accessKey, IEnumerable`1 keywordPaths, String modelPath, IEnumerable`1 sensitivities)
   at Pv.Porcupine.FromKeywordPaths(String accessKey, IEnumerable`1 keywordPaths, String modelPath, IEnumerable`1 sensitivities)
   at PorcupineDemo.MicDemo.RunDemo(String accessKey, String modelPath, List`1 keywordPaths, List`1 sensitivities, Int32 audioDeviceIndex, String outputPath) in S:\Source\External\porcupine\demo\dotnet\PorcupineDemo\MicDemo.cs:line 56
   at PorcupineDemo.MicDemo.Main(String[] args) in S:\Source\External\porcupine\demo\dotnet\PorcupineDemo\MicDemo.cs:line 291

So, am I doing something else crazy silly?
Thanks for your help.

@ibebbs - we looked into this and it could be related to issue #617, which we're currently working on fixing in the upcoming release.  In rare cases, we've seen Windows devices failing to activate. Could you run the following command in Powershell and tell us if it returns a valid UUID or something else?
(Get-CimInstance -Class Win32_ComputerSystemProduct).UUID

Hi @laves,
Apologies for the delay in getting back to you.
So, interesting development: On my development machine the command you supplied returns nothing when run from Powershell:
PS C:\> (Get-CimInstance -Class Win32_ComputerSystemProduct).UUID
PS C:\>

But on my laptop it does indeed return a GUID:
PS C:\> (Get-CimInstance -Class Win32_ComputerSystemProduct).UUID
[<A valid GUID>]
PS C:\>

Hope that helps. Is there anything I can do (additional settings / environment variables) to work around this issue?
Thanks!

Thanks for getting back to us - this is helpful. Can you try the recently released Porcupine v2.1? Nuget package should be version 2.1.0. We may have already addressed your issue with this release, however, we're still planning on releasing a Windows specific patch in the coming weeks.

I'm afraid I am already using v2.1[.0] and encountering the error (I also tried downgrading to 2.0.1 - no joy).
Let me know if you need testers for a pre-release package.

@ibebbs - we're currently in the process of rolling out the patch. Can you try the Porcupine NuGet package v2.1.1 and let us know if it's addressed your issue?

Worked like a charm @laves thanks. Coupled with PvRecorder I now have wake word detection working...


Authorization API not working

Home Assistant release with the issue:

0.84.6
Last working Home Assistant release (if known):
0.83.3
Operating environment (Hass.io/Docker/Windows/etc.):

RaspBian
Component/platform:
WebSocket API and Authorization API
Description of problem:
There are several issues with the authorization API.
If I try to authenticate to the websocket API providing a api_password I get the error reported in the "stacktrace" section below (more info here)
If I use an acess_token it works, but it's impossible to retrieve access tokens because after you get an authorization code, if you try to call /auth/token to get an access token you get as error unsupported_grant_type.
  const res = await fetch(`${instanceUrl}/auth/token`, {
    method: 'POST',
    headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
    body: JSON.stringify({
      grant_type: 'authorization_code',
      code: authCode,
      client_id: CLIENT_ID,
    }),
  });

{
   "error": "unsupported_grant_type",
}

Stacktrace:
Dec 22 10:59:28 home-assistant hass[16749]:   File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/websocket_api/connection.py", line 66, i
Dec 22 10:59:28 home-assistant hass[16749]:     handler(self.hass, self, schema(msg))
Dec 22 10:59:28 home-assistant hass[16749]:   File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/websocket_api/commands.py", line 161, in
Dec 22 10:59:28 home-assistant hass[16749]:     entity_perm = connection.user.permissions.check_entity
Dec 22 10:59:28 home-assistant hass[16749]: AttributeError: 'NoneType' object has no attribute 'permissions'

Also, the auth/long_lived_access_token websocket command doesn't work, it says it's invalid.

I assume my issue is related to this. After upgrade to 0.84 my Post commands from my Flic buttons never get through to HA. I use long-lived access token.

@JanHG I just tried long lived access tokens and they seem to work fine.

@FezVrasta, you are right. My issue was with the Flic Hub itself.

Maybe can be the same issue that I have with my iAlarm component called by Webhook? https://github.com/home-assistant/home-assistant/issues/19528

It looks like the problem is around components/websocket_api/auth.py:72:
        if 'access_token' in msg:
            self._logger.debug("Received access_token")
            refresh_token = \
                await self._hass.auth.async_validate_access_token(
                    msg['access_token'])
            if refresh_token is not None:
                return await self._async_finish_auth(
                    refresh_token.user, refresh_token)

        elif self._hass.auth.support_legacy and 'api_password' in msg:
            self._logger.debug("Received api_password")
            if validate_password(self._request, msg['api_password']):
                return await self._async_finish_auth(None, None)

The first parameter of _async_finish_auth() should not be None, but instead a valid user derived similarly how it's done for the REST API.

@petersohn would you be able to send a PR to fix it?

I can possibly try to make a fix. It looks like it should be fixed along with #19637.