WebP on iOS - vp8 status error for some files

Hi,
I'm trying to use CachedImage inside a ViewCell to open WEBP.
On iOS some lines don't open the image and output log pops an error "vp8 status error opening".
I tried to config ImageService with MaxParallesTasks = 1, but no lucky.
I tested only Webp.Touch decode and it give me the same error.
Please, could you help me here?
Thanks,
procopio

It's possible we need to update Webp.Touch project to use the newest webp lib  version. (http://downloads.webmproject.org/releases/webp/index.html)

@procopio  Did new 1.0.4 Webp package solved it for you?

@procopio Could you attach some example files which are not working? I'll try to debug it.

Hi @daniel-luberda  thanks a lot!
You can download it here: http://dropcanvas.com/i8h5r

Those files load fine for me. See this:

Hi @daniel-luberda,
One isolated image works, the problem is with a listview and inside the viewcell there is a ffimageloading.
I believe the problem is when you try to load many webp at same time.
If you could try it I appreciate!
Thanks alot,
Joao

Could you test the newest prerelease nuget? (2.2.11)

Hi Daniel,
I tried with 2.2.11pre486 but the erro still there. :(
This is how my listview looks when loading:

I won't be able to help you without reproduction. Can you do that?

Yes sure.
just give some time to build a project.
I get back to you soon.
Tks!

@procopio Any news?

Not yet, i just launched my app using PNG. I realy out of time, but I will create a project to test this issue.

Please reopen if you have a repro. Thanks


Micropython version

Hi, I am just wondering if I did something wrong.
I clone the 1.13 branch
git clone -b 1.13 --recursive https://github.com/OPHoperHPO/lilygo-ttgo-twatch-2020-micropython

and when I check the branch:
$ git branch
* 1.13

But after I compile and flashed, I got this:
MicroPython v1.9.4-2835-g25bbdc02f-dirty on 2021-11-14; LilyGO-TTGO-T-Watch-2020-V1 with ESP32-DOWDQ6

I was expecting for MicroPython v1.13 or am I wrong?
Thanks,

Hi i'm trying to do the same, but i didn't get that far.


Selecting date the first time doesn't always stick.

Depositor was creating a new item in a collection with the review workflow on. https://sul-h2-qa.stanford.edu/works/40

I'm glad I have a recording of this, as I have not found this to be consistently reproducible.

I'm unable to duplicate this. Can you tell me what browser you're using when you experience this?

That's what I'm using too.  Have you been able to duplicate this issue yourself?

@jcoyne Amanda has tested this with her Dashlane extension turned off and she didn't have any further trouble, so that may be the answer and may not be something you can do anything about. Noting it here, but leaving it to you to close this ticket if you don't plan to do any further work on it. Thanks.

This sounds like a bug with Dashlane and as such we have no power to fix it.


samples: boards: add sample to debug zephyr for KV260 RPU board from Xilinx

Enables usage of the Arm Cortex-R5 real-time processing unit (RPU) on
the Kria KV260 development board. Only the first R5 core is currently
supported.

Why is there a need for a board-specific "Hello, World" sample?

There doesn't seem to be anything special about the sample as it is today. Other than documentation, which can go in the boards folder, is there a reason the standard hello world sample can't be used instead?

Thanks for the comments @henrikbrixandersen @microbuilder , the problem here is to run a zephyr application to the R5 units on the KV260 is the strong dependency from Xilinx tools, that is it the scripts TCL present in this PR.
One thing I can do here, is to just remove the source files and point the cmake to import them from the generic hello world sample, does it sound reasonable?

This sample is more to demonstrate on how to debug a Zephyr application on the R5 units, the challenge here, is  Xilinx obligates the user to flash and run debug sessions through its own GDB which is behind of Vitis tool.

I cleaned up the PR and removed the debugging sample, the support of debug via vits will be added in another PR.
Please PTAL again.

@uLipe This looks much better w/o the debug support.
The board name is pretty long and there is no value in keeping starter_kit as part of the name.  The only kv260 one can order is the starter kit and everything you have done here applies equally as well to the kv260 with the production SOM (bought separately) as well.
Which UART are we using?  It says UART0 in the readme but the dts and config look like we are using the second one.
The readme should describe how to run it.  The suggestion now is to use the Linux kernel's remote proc to load & run.
Any petalinux (the Xilinx Linux distro) kernel should work as will any upstream kernel v6.1 or later.  Look at the scripts in the OpenAMP demo docker image for the details of the howto.
More comments inline

nit, but please adjust the commit message to start with a capital letter as well. Thanks.

nit, but please adjust the commit message to start with a capital letter as well. Thanks.

Please also fix the commit message, as requested. Thanks.

Ahh i just applied the capital letter on the commit header message. Please check if it is now correct.
Thanks.

The title of the PR is good. The title of the commit is not. Make it match the PR title. You can shorten it if needed.

I'd suggest both be changed to:
boards: arm: xilinx: Add initial KV260 board support

CI errors don't seem to be related to this PR contents.

Does anyone know what is the CI error cause?

@henrikbrixandersen Mind taking another look? The current code should resolve your change request.

Tested on HW with the Xilinx distro. Some additions to this platform are useful in the future, but current code looks good to me as a starting point.

CI failure has been fixed in main


0.26.* Releases not showing up on the terraform registry

Specifying the following :
terraform {
  required_version = "~> 1.0"

  required_providers {
    snowflake = {
      source  = "chanzuckerberg/snowflake"
      version = "~> 0.26.0"
    }
  }
}

Fails during terraform init -upgrade with the message:
│ Error: Failed to query available provider packages
│
│ Could not retrieve the list of available versions for provider chanzuckerberg/snowflake: no available releases match the given constraints ~>
│ 0.25.0, ~> 0.26.0

It looks like the last release on the terraform registry is 0.25.36
While the latest release here on github is 0.26.3

Is this by design? Is there a process that releases to the terraform registry, and the delay in releases is purposeful?
I'm waiting for this bugfix to land.
For now I can fallback to downloading the release / using a local path install with terraform.

There is another open issue here since two weeks: https://github.com/chanzuckerberg/terraform-provider-snowflake/issues/857

It'd be awesome to get this released properly. But in case others are hurting for the bugfixes, here's a snippet on how to get the binary installed / working locally:
curl -L https://github.com/chanzuckerberg/terraform-provider-snowflake/releases/download/v0.26.3/terraform-provider-snowflake_0.26.3_darwin_amd64.zip --output terraform-provider-snowflake_0.26.3_darwin_amd64.zip
unzip terraform-provider-snowflake_0.26.3_darwin_amd64.zip
export plugin_path=/usr/local/lib/terraform/registry.terraform.io/chanzuckerberg/snowflake/0.26.3/darwin_amd64
mkdir -p $plugin_path
mv terraform-provider-snowflake_v0.26.3 $plugin_path

Then add to ~/.terraformrc:
provider_installation {
  direct {
    exclude = ["chanzuckerberg/snowflake"]
  }
  filesystem_mirror {
    path = "/usr/local/lib/terraform"
    include = ["chanzuckerberg/snowflake"]
  }
}

Then do a terraform init -upgrade
Note - I saw a bunch of Error: 5 or 6 fields allowed errors when looking at the plan. Just blowing away those objects w a terraform rm state xxx was sufficient for my use case (since I wanted them recreated).

@alldoami hey, the recent releases have not been pushed to the registry. would you check it?

@alldoami the latest release version on Github is 0.27.0 but 0.25.36 on terraform registry.
https://github.com/chanzuckerberg/terraform-provider-snowflake/releases
https://registry.terraform.io/providers/chanzuckerberg/snowflake/0.25.36

@alldoami Would you check the release bot? This was failed https://github.com/chanzuckerberg/terraform-provider-snowflake/runs/5397870219?check_suite_focus=true

@alldoami @edulop91 Would you check the release bot? This was failed https://github.com/chanzuckerberg/terraform-provider-snowflake/runs/5397870219?check_suite_focus=true

You can use following script for your automation.
Create file <project path>/setup_latest_chanzuckerberg_snowflake.sh
#!/bin/bash

dir=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )

version=0.26.3

curl -L https://github.com/chanzuckerberg/terraform-provider-snowflake/releases/download/v${version}/terraform-provider-snowflake_${version}_darwin_amd64.zip --output /tmp/terraform-provider-snowflake_${version}_darwin_amd64.zip
unzip -o /tmp/terraform-provider-snowflake_${version}_darwin_amd64.zip -d /tmp
export plugin_path=$dir/terraform/registry.terraform.io/chanzuckerberg/snowflake/${version}/darwin_amd64
mkdir -p $plugin_path
mv /tmp/terraform-provider-snowflake_v${version} $plugin_path

provider_path=$dir/terraform

cat << EOF > ~/.terraformrc
provider_installation {
  direct {
    exclude = ["chanzuckerberg/snowflake"]
  }
  filesystem_mirror {
    path = "$provider_path"
    include = ["chanzuckerberg/snowflake"]
  }
}
EOF

Then run bash setup_latest_chanzuckerberg_snowflake.sh

https://github.com/chanzuckerberg/terraform-provider-snowflake/issues/893

@alldoami @edulop91  v0.28.3 has not been released in Terraform registry. 0.25.36 is still the latest in registry. Wou

Any updates on this?

fixed https://registry.terraform.io/providers/chanzuckerberg/snowflake/0.28.6

Thanks for calling this out, everyone. @alldoami worked on this on Friday and it appears to be releasing properly now. I'll close this for now, but let us know if you have issues using the latest provider version.

@jacobrheath only issue I have now is that #824 is breaking existing terraform deployments due to the change of resource id's


Casting NaN to Int32 should raise an exception

I was investigating an integer overflow, when I noticed that casting NaN to an integer actually returned a number. In my case I had a -NaN being casted as Int32::MIN.
I'm not sure what should actually happen, but since NaN doesn't have any possible integer representation, I think it should raise. I.e. that smells like undefined behavior, which seems to be confirmed by this stackoverflow answer.
On a larger extent, maybe float numbers that can't be represented by the destination integer should raise, since that's overflowing? Unless the developer accepts overflows with #to_i! of course. see #11105
To reproduce:
(0/0).to_i # => -2147483648

This likely affects other integer casts.

On a larger extent, maybe float numbers that can't be represented by the destination integer should raise, since that's overflowing?

That's already the case. Try this:
(Int32::MAX.to_f + 1).to_i

Note however that this isn't always the case because of a bug: https://github.com/crystal-lang/crystal/issues/11105

Duplicate of #10421.


auth-backend: Add Firestore as new key-store provider

Hey, I just made a Pull Request!

Adding support for Firestore as a storage provider for storing JWK in auth-backend.
Choosing which provider that will be used is done by adding a auth.keyStore section to the application config.
My intention was to make this a non-breaking change as it will default to the DatabaseKeyStore option unless otherwise specified.
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Cool! There's a conflict and a changeset will be needed.

Cool! There's a conflict and a changeset will be needed.


Right Mouse Button context menu

Add Right Mouse Menu button which provide access to object's verbs via context menu.
This is mostly admin/debug menu. More convenient radial RMB menu will be added later.

Implemented in 919e5c50dfd74c63cb35acb8d5203a92e4169ffc


Feature/profile page: Edit Profile

This pull request contains 2 new features:

edit personal information on your profile
edit your password

and some small fixes and updates in source code

Hello @Somebody666,
I found 1 problem while checking your pull request.
Problems:

The title Feature/profile page: Edit Profile is not the format I expected.

Rules:

There must be a title in this format: Feature|Bugfix|Hotfix|Chore|Release: Title
If applicable, add your issue ticket (e.g. Feature/CHE-420: Title) with a slash in the title
Use Feature for enhancements or new functionality
Use Bugfix only if you fixed a known bug
Use Hotfix for problems introduced by previous merges
Use Chore for updating grunt tasks etc; no production code change for problems introduced by previous merges
Use proper capitalization in your title
There must be a description


Accept HtmlString in Widget (Stat) second parameter $value

Package
filament/widgets
Package Version
v3.2.73
Laravel Version
v11.7.0
Livewire Version
v3.4.12
PHP Version
PHP 8.3.0
Problem description
When making a Stat-Widget, you can pass "any" value to the stat. There is no type-bound on that $value paramater:
public static function make(string | Htmlable $label, $value): static

In some cases you can wish for a HtmlString as a value, like:
Stat::make('Total volume', HtmlString(number_format($this->total_volume, 0, ',', '.') . ' m³'))

When you use this, the complete panel is not rendered
Expected behavior
State::make($label, $value) both parameters accept HtmlString as a type, and when the type is a HtmlString, it will be rendered
Steps to reproduce

Add a Stat widget: Stat::make('Total volume', HtmlString('100 m³'))
Load the page with the widget

Reproduction repository
https://github.com/filamentphp/filament/
Relevant log output
No response

While making a vanilla repo for this issue, the issue didn't appear. So probably my own mistake.


AttributeError: 'PrismaticVLM' object has no attribute '_supports_cache_class'

Hi,
I am using the sample inference code given in the Usage section of the README file but replace the model id with clip-224px+7b, and I am getting the following error:
AttributeError: 'PrismaticVLM' object has no attribute '_supports_cache_class'
I have followed the installation instruction to set up everything in a conda environment with python 3.10, including flash attention 2 and ninja.
What am I missing here?
Thank you!

I believe the transformers package just got updated to 4.42 which introduced this error, so if you keep using 4.38.1 it should work.

I believe the transformers package just got updated to 4.42 which introduced this error, so if you keep using 4.38.1 it should work.

Yes it works now, thanks a lot!


一键合成视频英文转中文的时候报错

一键合成视频英文转中文的时候报错:
2024-09-03 10:56:37.410 | INFO     | tools.step040_tts:generate_wavs:69 - Found 1 speakers
2024-09-03 10:56:37.410 | INFO     | tools.step043_tts_cosyvoice:load_model:29 - Loading CoxyVoice model from models/TTS/CosyVoice-300M
2024-09-03 10:56:40.355 | ERROR    | tools.do_everything:process_video:60 - Error processing video Ultimate Guide to Seamless AI Animations (Even on Low-End PCs!): There is no such entity as cosyvoice.utils.common.ras_sampling

这是另外一个错误:
2024-09-03 15:29:45.647 | INFO     | tools.step040_tts:generate_wavs:69 - Found 1 speakers
min value is  tensor(-1.0056)
max value is  tensor(1.0873)
2024-09-03 15:30:04.695313311 [E:onnxruntime:, sequential_executor.cc:516 ExecuteKernel] Non-zero status code returned while running Add node. Name:'/Add_2' Status Message: /onnxruntime_src/onnxruntime/core/providers/cpu/math/element_wise_ops.h:560 void onnxruntime::BroadcastIterator::Append(ptrdiff_t, ptrdiff_t) axis == 1 || axis == largest was false. Attempting to broadcast an axis by a dimension other than 1. 1500 by 77620

这看起来是使用CosyVoice出现的问题，使用XTTS有问题么


This is not working with windows

First of all, your sample is great. I followed as below,
a. I installed dockertoolbox on windows, opened the "Docker Quickstart Terminal: and went to git cloned location and run mvn clean install
b. eval "$(docker-machine env default)"
c. docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d
I am getting below error,
ERROR: for auth-mongodb  Container command '/init.sh' not found or does not exist.
ERROR: for notification-mongodb  Container command '/init.sh' not found or does not exist.
ERROR: for statistics-mongodb  Container command '/init.sh' not found or does not exist.
ERROR: for account-mongodb  Container command '/init.sh' not found or does not exist.
Traceback (most recent call last):
File "", line 3, in
File "compose\cli\main.py", line 63, in main
AttributeError: 'ProjectError' object has no attribute 'msg'
docker-compose returned -1
Can you tell me what is going on?

I have no windows machine to check it out, but your error message looks like a bug in docker compose:

File "compose\cli\main.py", line 63, in main
AttributeError: 'ProjectError' object has no attribute 'msg'

https://github.com/docker/compose/issues/3519

Anyway, try to start containers in a production mode (directly from Docker Hub)

Try to use docker beta client for windows.


Authentication failure

Started plugin "Connected Drive 2023.2.1"
   Connected Drive                 Starting Connected Drive
   Connected Drive                 MyBMW: Starting cdAccount Device
   Connected Drive Warning         MyBMW: get_account error: HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)
   Connected Drive                 MyBMW: 0 vehicles found.
   Connected Drive                 MyBMW X4: Starting cdVehicle Device
   Connected Drive Warning         MyBMW: get_account error: HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)

https://github.com/bimmerconnected/bimmer_connected/releases/tag/0.16.4

https://bimmer-connected.readthedocs.io/en/stable/captcha.html

This is going to be harder than I thought.  The entire authentication flow I was using with just username and password no longer works.  I'll need to add token (auth and refresh) management as well, as the captcha token only works once.  After that the tokens need to be refreshed or you need to start all over again.
Not happening anytime soon.

What region are you?  This change is NA only.

It looks like the errors only show when you have debugging errors turned on
in the log.   So I'm getting them too.
On Thu, Nov 14, 2024 at 4:52 PM Joe Keenan @.***> wrote:

What region are you? This change is NA only.
—
Reply to this email directly, view it on GitHub
https://github.com/FlyingDiver/Indigo-Connected-Drive/issues/31#issuecomment-2477480705,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANTBKMVRIN2HPOAZDKH5LT2AULTJAVCNFSM6AAAAABRY7XYLSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZXGQ4DANZQGU
.
You are receiving this because you commented.Message ID:
@.***>

That warning line should be always.  Hmm.

Mine started to fail 2024-11-18T13:17:33 UTC as well and I am not in NA (Rest of the World).

Hmm. They probably rolled out the changes to other regions.
I can’t work on the plugin until I can get their cli tool to work.  And I’m not having any luck with that.

Making good progress.  I'll probably have a beta test version today or tomorrow.
And yes, the CAPTCHA is now required outside North America.

https://github.com/FlyingDiver/Indigo-Connected-Drive/releases/tag/2024.0.1

Installed but I'm not able to edit the account device. The Model dropdown
is blank. I tried deleting and recreating the account device.  No model
dropdown
On Sat, Nov 23, 2024 at 2:02 PM Joe Keenan @.***> wrote:

https://github.com/FlyingDiver/Indigo-Connected-Drive/releases/tag/2024.0.1
—
Reply to this email directly, view it on GitHub
https://github.com/FlyingDiver/Indigo-Connected-Drive/issues/31#issuecomment-2495622584,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANTBKL3YZ6NUBLF6NSZAQL2CDGLNAVCNFSM6AAAAABRY7XYLSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJVGYZDENJYGQ
.
You are receiving this because you commented.Message ID:
@.***>

Log?

I can't get into the plugin config to change the log levels. This is error
only
Nov 23, 2024 at 2:32:21 PM
Enabling plugin "Connected Drive 2024.0.1" using API v3.1
Starting plugin "Connected Drive 2024.0.1" (pid 38114)
Processing requirements for plugin "Connected Drive 2024.0.1"
Requirements for "Connected Drive 2024.0.1" previously processed,
continuing startup
Error (client)                  timeout waiting for plugin response from
com.flyingdiver.indigoplugin.bmw-cd for request CalcDeviceFunc
Error (client)                  timeout waiting for plugin response from
com.flyingdiver.indigoplugin.bmw-cd for request CalcDeviceFunc
Error (client)                  timeout waiting for plugin response from
com.flyingdiver.indigoplugin.bmw-cd for request CalcDeviceFunc
On Sat, Nov 23, 2024 at 2:37 PM Joe Keenan @.***> wrote:

Log?
—
Reply to this email directly, view it on GitHub
https://github.com/FlyingDiver/Indigo-Connected-Drive/issues/31#issuecomment-2495632319,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANTBKLP6EORC4DUULEIHYT2CDKRPAVCNFSM6AAAAABRY7XYLSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJVGYZTEMZRHE
.
You are receiving this because you commented.Message ID:
@.***>

That's weird.  I can't reproduce.  I disabled the plugin, deleted both account and vehicle devices,  deleted the preferences file just in case, then enabled the plugin.  No errors.
Just found an error creating the account device.  Will roll a fix for it.  But that's not the problem you're having.

ok.  I was able to get to the device config.   When I press the Open Window
button it takes me here:
https://bimmer-connected.readthedocs.io/en/stable/captcha.html
On Sat, Nov 23, 2024 at 2:39 PM Ryan Buckner @.***> wrote:

I can't get into the plugin config to change the log levels. This is error
only
Nov 23, 2024 at 2:32:21 PM
Enabling plugin "Connected Drive 2024.0.1" using API v3.1
Starting plugin "Connected Drive 2024.0.1" (pid 38114)
Processing requirements for plugin "Connected Drive 2024.0.1"
Requirements for "Connected Drive 2024.0.1" previously processed,
continuing startup
Error (client)                  timeout waiting for plugin response
from com.flyingdiver.indigoplugin.bmw-cd for request CalcDeviceFunc
Error (client)                  timeout waiting for plugin response
from com.flyingdiver.indigoplugin.bmw-cd for request CalcDeviceFunc
Error (client)                  timeout waiting for plugin response
from com.flyingdiver.indigoplugin.bmw-cd for request CalcDeviceFunc
On Sat, Nov 23, 2024 at 2:37 PM Joe Keenan @.***>
wrote:

Log?
—
Reply to this email directly, view it on GitHub
https://github.com/FlyingDiver/Indigo-Connected-Drive/issues/31#issuecomment-2495632319,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANTBKLP6EORC4DUULEIHYT2CDKRPAVCNFSM6AAAAABRY7XYLSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJVGYZTEMZRHE
.
You are receiving this because you commented.Message ID:
@.***>

The issue was that a privacy popup came up on the server that I didn't
see.  I cleared that and it  continued.
On Sat, Nov 23, 2024 at 2:50 PM Joe Keenan @.***> wrote:

That's weird. I can't reproduce. I disabled the plugin, deleted both
account and vehicle devices, deleted the preferences file just in case,
then enabled the plugin. No errors.
Just found an error creating the account device. Will roll a fix for it.
But that's not the problem you're having.
—
Reply to this email directly, view it on GitHub
https://github.com/FlyingDiver/Indigo-Connected-Drive/issues/31#issuecomment-2495635384,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANTBKOG47VF2C6XB4IOA632CDMAJAVCNFSM6AAAAABRY7XYLSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJVGYZTKMZYGQ
.
You are receiving this because you commented.Message ID:
@.***>

OK, that's the right web page.  There's a link for each region.  But you won't be able to continue until I roll a fix.

Ok, thanks.
On Sat, Nov 23, 2024 at 2:53 PM Joe Keenan @.***> wrote:

OK, that's the right web page. There's a link for each region. But you
won't be able to continue until I roll a fix.
—
Reply to this email directly, view it on GitHub
https://github.com/FlyingDiver/Indigo-Connected-Drive/issues/31#issuecomment-2495636120,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANTBKNCLX7JEDQACLRYQLL2CDML5AVCNFSM6AAAAABRY7XYLSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJVGYZTMMJSGA
.
You are receiving this because you commented.Message ID:
@.***>

https://github.com/FlyingDiver/Indigo-Connected-Drive/releases/tag/2024.0.2

It's not working for me. I open the link, click on Rest of the World, select I am a human, submit.  This is what I get:
`   Connected Drive Error           Error in plugin execution UiAction:
File "plugin.py", line 158, in get_tokens
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/init.py", line 231, in dumps
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/encoder.py", line 199, in encode
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/encoder.py", line 257, in iterencode
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/encoder.py", line 179, in default
type: Object of type Task is not JSON serializable
`

Hmm.  Maybe the upload was corrupted.  I just replaced the zip file on GitHub.  Try again.

Note I am in Indigo 2023.1 so not moved to 2024 yet. But tried installing httpcore[asyncio] and it seems to be installed already:
pip3.10 install httpcore[asyncio]
Requirement already satisfied: httpcore[asyncio] in /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages (0.17.2)
WARNING: httpcore 0.17.2 does not provide the extra 'asyncio'
Requirement already satisfied: h11<0.15,>=0.13 in /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages (from httpcore[asyncio]) (0.14.0)
Requirement already satisfied: sniffio==1.* in /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages (from httpcore[asyncio]) (1.3.0)
Requirement already satisfied: anyio<5.0,>=3.0 in /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages (from httpcore[asyncio]) (3.6.2)
Requirement already satisfied: certifi in /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages (from httpcore[asyncio]) (2022.12.7)
Requirement already satisfied: idna>=2.8 in /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages (from anyio<5.0,>=3.0->httpcore[asyncio]) (2.8)
[notice] A new release of pip is available: 24.1.2 -> 24.3.1
[notice] To update, run: pip install --upgrade pip

I'm using Python3.11, since that's what Indigo 2024 installs.  I don't think there's any significant difference with 3.10.
Disable, remove the plugin completely, then install the latest.  Something is weird with your Python install.  Check the Packages folder afterwards for any error in the log file.

Packages folder IN the plugin wrapper.  That's where plugin specific packages get installed.

Upgraded to Indifo 2024.1 and I now get C++ error only:
Connected Drive Debug           get_account_data
Connected Drive Debug           get_tokens get data error: HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)
Connected Drive Error           Error in plugin execution UiAction:
type: No registered converter was able to extract a C++ reference to type CXmlDict from this Python object of type bool

Not sure about the UiAction error, but the first one means that the authentication failed.  Usually because the captcha has expired.  Did you try with a fresh one?
I need to do a better job of cancelling the process when the auth fails, which will probably eliminate the second error.

Yeah I tried with new tokens, same error. I did both on the Indigo Server and on my Mac, always getting new tokens.

You North America?  Or RoW?

RoW

Make sure you have the debugging menus enables in General Settings -> Plugins.  Then restart the plugin in Interactive Shell.  And then try the re-auth with a fresh token.  See if there's any errors in the terminal window.  Unfortunately, that's the only way to catch most asyncio errors.

Thanks, that helped! I see an 401 Unauthorised error. I seen this before, it's an API rate limit. I will stop the plugin and let it rest for 30mins and it should work after.

What do you have your refresh set to?  Mine is 15 min.

I use 30mins. But I just tried to login to the website and it works so it's not an account rate limit issue. Here is the full trace from Interactive Shell:
Starting shell for plugin ConnectedDrive.indigoPlugin.
To access the plugin instance use the global object named 'self'.
Python 3.11.6 (v3.11.6:8b6ee5ba3b, Oct  2 2023, 11:18:21) [Clang 13.0.0 (clang-13<IP_ADDRESS>)]
Connected to Indigo Server v2024.1.0, api v3.5 (localhost:8199)
Started Plugin Connected Drive v2024.0.2

MyBMWAuthError due to HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)
Exception in thread Thread-2 (run_async_thread):
Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/bimmer_connected/api/authentication.py", line 409, in raise_for_status_event_handler
response.raise_for_status()
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_models.py", line 763, in raise_for_status
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '401 Unauthorized' for url 'https://customer.bmwgroup.com/gcdm/oauth/authenticate'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401

The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
self.run()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/threading.py", line 982, in run
self._target(*self._args, **self._kwargs)
File "plugin.py", line 80, in run_async_thread
self.event_loop.run_until_complete(self.async_main())
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "plugin.py", line 98, in async_main
await self.do_account_update(dev_id)
File "plugin.py", line 220, in do_account_update
auth_data = await self.get_account_data(cd_account)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "plugin.py", line 208, in get_account_data
await account.get_vehicles()
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/bimmer_connected/account.py", line 115, in get_vehicles
await self._init_vehicles()
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/bimmer_connected/account.py", line 87, in _init_vehicles
vehicle_list_response = await client.post(
^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_client.py", line 1905, in post
return await self.request(
^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_client.py", line 1585, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_client.py", line 1674, in send
response = await self._send_handling_auth(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_client.py", line 1699, in _send_handling_auth
request = await auth_flow.anext()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/bimmer_connected/api/authentication.py", line 87, in async_auth_flow
await self.login()
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/bimmer_connected/api/authentication.py", line 136, in login
token_data = await self._login_row_na()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/bimmer_connected/api/authentication.py", line 197, in _login_row_na
response = await client.post(
^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_client.py", line 1905, in post
return await self.request(
^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_client.py", line 1585, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_client.py", line 1674, in send
response = await self._send_handling_auth(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_client.py", line 1702, in _send_handling_auth
response = await self._send_handling_redirects(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_client.py", line 1760, in _send_handling_redirects
raise exc
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_client.py", line 1742, in _send_handling_redirects
await hook(response)
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/bimmer_connected/api/authentication.py", line 411, in raise_for_status_event_handler
await handle_httpstatuserror(ex, module="AUTH", log_handler=_LOGGER)
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/bimmer_connected/api/utils.py", line 89, in handle_httpstatuserror
raise _ex_to_raise(_err_message) from ex
bimmer_connected.models.MyBMWAuthError: HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)

Oops.  I forgot to bump the required library version for the release with RoW support.  Give me a minute.

https://github.com/FlyingDiver/Indigo-Connected-Drive/releases/tag/2024.0.3

Same error I am afraid:
Starting shell for plugin ConnectedDrive.indigoPlugin.
To access the plugin instance use the global object named 'self'.
Python 3.11.6 (v3.11.6:8b6ee5ba3b, Oct  2 2023, 11:18:21) [Clang 13.0.0 (clang-13<IP_ADDRESS>)]
Connected to Indigo Server v2024.1.0, api v3.5 (localhost:8199)
Started Plugin Connected Drive v2024.0.3

MyBMWAuthError due to HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)
Exception in thread Thread-2 (run_async_thread):
Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/bimmer_connected/api/authentication.py", line 409, in raise_for_status_event_handler
response.raise_for_status()
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_models.py", line 763, in raise_for_status
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '401 Unauthorized' for url 'https://customer.bmwgroup.com/gcdm/oauth/authenticate'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401

The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
self.run()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/threading.py", line 982, in run
self._target(*self._args, **self._kwargs)
File "plugin.py", line 80, in run_async_thread
self.event_loop.run_until_complete(self.async_main())
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "plugin.py", line 98, in async_main
await self.do_account_update(dev_id)
File "plugin.py", line 220, in do_account_update
auth_data = await self.get_account_data(cd_account)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "plugin.py", line 208, in get_account_data
await account.get_vehicles()
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/bimmer_connected/account.py", line 115, in get_vehicles
await self._init_vehicles()
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/bimmer_connected/account.py", line 87, in _init_vehicles
vehicle_list_response = await client.post(
^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_client.py", line 1905, in post
return await self.request(
^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_client.py", line 1585, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_client.py", line 1674, in send
response = await self._send_handling_auth(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_client.py", line 1699, in _send_handling_auth
request = await auth_flow.anext()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/bimmer_connected/api/authentication.py", line 87, in async_auth_flow
await self.login()
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/bimmer_connected/api/authentication.py", line 136, in login
token_data = await self._login_row_na()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/bimmer_connected/api/authentication.py", line 197, in _login_row_na
response = await client.post(
^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_client.py", line 1905, in post
return await self.request(
^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_client.py", line 1585, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_client.py", line 1674, in send
response = await self._send_handling_auth(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_client.py", line 1702, in _send_handling_auth
response = await self._send_handling_redirects(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_client.py", line 1760, in _send_handling_redirects
raise exc
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_client.py", line 1742, in _send_handling_redirects
await hook(response)
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/bimmer_connected/api/authentication.py", line 411, in raise_for_status_event_handler
await handle_httpstatuserror(ex, module="AUTH", log_handler=_LOGGER)
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/bimmer_connected/api/utils.py", line 89, in handle_httpstatuserror
raise _ex_to_raise(_err_message) from ex
bimmer_connected.models.MyBMWAuthError: HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)

Does the Indigo log show that the requirements file was processed again for the most recent version?

Where do I see the packages installed for the plugin?

Starting plugin "Connected Drive 2024.0.3" (pid 27367)
Processing requirements for plugin "Connected Drive 2024.0.3"
Requirements for "Connected Drive 2024.0.3" previously processed, continuing startup

Completely delete (not just disable) the plugin and then reinstall it.  You should see this in the log:

Nov 23, 2024 at 5:09:04 PM
   Enabling plugin "Connected Drive 2024.0.3" using API v3.1
   Debugging plugin "Connected Drive 2024.0.3" (pid 57580)
   Processing requirements for plugin "Connected Drive 2024.0.3"
   Requirements installing, this may take a few seconds...
   Finished installing requirements for "Connected Drive 2024.0.3", continuing startup

Ummm never deleted a plugin before, always disabled them. How do I delete it? I removed it from /Library/Application\ Support/Perceptive\ Automation\Plugins (Disabled) but it still shows up.

You disable it, then remove it from that folder.  Then double click the replacement.

Weird, now I can't install it again:
Error                           InstallPlugin() caught exception: FileIOError -- unable to get last mod time for file (file not found)

Restarting the Indigo server will fix that.
Is your Indigo install on some sort of shared/cloud drive?

No, plain old MacMini. Same error after Indigo Server restart.

That's really weird.  I wonder if you have some sort of file permissions error.
I would shut down Indigo totally, delete the plugin from either plugins folder, then run the Indigo installer to make sure the permissions are correct. Then restart the server and then reinstall the plugin.

Hmm.  Maybe I messed up the package.  Let me check.

Hmm.  Looks like something is breaking the script that creates the package.

OK, I fixed the package at the release page.  Download it again.  I need to figure out why the packaging script is messing up.

This is what I have inside the plugin contents/packages. Notepip-install-log-success.txt is dated 21:01 (which is 1:4hs ago in here):
cdt:/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages>ll
total 24
drwxr-xr-x   43 cdt  staff   1376 15 Nov 21:01 .
drwxr-xr-x    6 cdt  staff    192 23 Nov 16:51 ..
drwxr-xr-x   16 cdt  staff    512 23 Nov 22:34 Crypto
drwxr-xr-x  113 cdt  staff   3616 15 Nov 21:01 PIL
drwxr-xr-x    9 cdt  staff    288 15 Nov 21:01 PyJWT-2.9.0.dist-info
drwxr-xr-x    9 cdt  staff    288 23 Nov 22:34 aiohappyeyeballs
drwxr-xr-x    7 cdt  staff    224 15 Nov 21:01 aiohappyeyeballs-2.4.3.dist-info
drwxr-xr-x   58 cdt  staff   1856 23 Nov 22:34 aiohttp
drwxr-xr-x    9 cdt  staff    288 15 Nov 21:01 aiohttp-3.11.0.dist-info
drwxr-xr-x    6 cdt  staff    192 23 Nov 22:34 aiosignal
drwxr-xr-x    8 cdt  staff    256 15 Nov 21:01 aiosignal-1.3.1.dist-info
drwxr-xr-x   14 cdt  staff    448 23 Nov 22:34 anyio
drwxr-xr-x    9 cdt  staff    288 15 Nov 21:01 anyio-4.6.2.post1.dist-info
drwxr-xr-x   26 cdt  staff    832 23 Nov 22:34 attr
drwxr-xr-x   10 cdt  staff    320 15 Nov 21:01 attrs
drwxr-xr-x    7 cdt  staff    224 15 Nov 21:01 attrs-24.2.0.dist-info
drwxr-xr-x   14 cdt  staff    448 23 Nov 22:34 bimmer_connected
drwxr-xr-x   11 cdt  staff    352 15 Nov 21:01 bimmer_connected-0.16.4.dist-info
drwxr-xr-x    4 cdt  staff    128 15 Nov 21:01 bin
drwxr-xr-x    8 cdt  staff    256 23 Nov 22:34 certifi
drwxr-xr-x    8 cdt  staff    256 15 Nov 21:01 certifi-2024.8.30.dist-info
drwxr-xr-x    8 cdt  staff    256 23 Nov 22:34 frozenlist
drwxr-xr-x    8 cdt  staff    256 15 Nov 21:01 frozenlist-1.5.0.dist-info
drwxr-xr-x   16 cdt  staff    512 23 Nov 22:34 h11
drwxr-xr-x    8 cdt  staff    256 15 Nov 21:01 h11-0.14.0.dist-info
drwxr-xr-x   15 cdt  staff    480 23 Nov 22:34 httpcore
drwxr-xr-x    7 cdt  staff    224 15 Nov 21:01 httpcore-1.0.7.dist-info
drwxr-xr-x   23 cdt  staff    736 23 Nov 22:34 httpx
drwxr-xr-x    8 cdt  staff    256 15 Nov 21:01 httpx-0.27.2.dist-info
drwxr-xr-x   12 cdt  staff    384 23 Nov 22:34 idna
drwxr-xr-x    7 cdt  staff    224 15 Nov 21:01 idna-3.10.dist-info
drwxr-xr-x   16 cdt  staff    512 23 Nov 22:34 jwt
drwxr-xr-x   11 cdt  staff    352 23 Nov 22:34 multidict
drwxr-xr-x    8 cdt  staff    256 15 Nov 21:01 multidict-6.1.0.dist-info
drwxr-xr-x    9 cdt  staff    288 15 Nov 21:01 pillow-11.0.0.dist-info
-rw-r--r--    1 cdt  staff  11222 15 Nov 21:01 pip-install-log-success.txt
drwxr-xr-x   10 cdt  staff    320 23 Nov 22:34 propcache
drwxr-xr-x    9 cdt  staff    288 15 Nov 21:01 propcache-0.2.0.dist-info
drwxr-xr-x    9 cdt  staff    288 15 Nov 21:01 pycryptodome-3.21.0.dist-info
drwxr-xr-x    8 cdt  staff    256 23 Nov 22:34 sniffio
drwxr-xr-x   10 cdt  staff    320 15 Nov 21:01 sniffio-1.3.1.dist-info
drwxr-xr-x   15 cdt  staff    480 23 Nov 22:34 yarl
drwxr-xr-x    9 cdt  staff    288 15 Nov 21:01 yarl-1.17.1.dist-info

Yeah, that's the wrong version of bimmer_connected?

Finally! Got it working!!! So the issue is that you are including all the installed packages inside the plugin release in contents/packages. I did show contents, deleted everything inside contents/packages and reinstalled it and then finally it rebuild the packages as per requirements.txt and got the correct bimmer_connected version. And after that obviously it started to work. Thanks for the support!
Quick question, how long does the token last? I can try to automate the token refresh...

Also it seems Indigo is not clever enough to see that even though the "requirements were previously processed" the developer may have changed them so they need to be updated. I think it will be best just to have the plugin with no packages in contents/packages and let them be installed every time the plugin is installed via requirements.txt.

The captcha token is only needed once for initial setup.  After that there's a auth token and a refresh token which get updated hourly (automatic).  I expect that if the plugin isn't running for some extended period of time (days, probably) that those tokens will expire.  I haven't tested to see how long that is.

Also it seems Indigo is not clever enough to see that even though the "requirements were previously processed" the developer may have changed them so they need to be updated. I think it will be best just to have the plugin with no packages in contents/packages and let them be installed every time the plugin is installed via requirements.txt.

A plugin package shouldn't have the libraries in it.  Just the requirements.txt file which tells the server which ones are needed.  Something got messed up on my system and they were being included accidentally.

All sorted then. The latest Release 2024.0.3 looks good.

I was able to go back to the account device and start over. That worked.
It required a plugin restart before the vehicle device was able to find my
car.  Now it all appears to be working.
On Sat, Nov 23, 2024 at 6:05 PM turribeach @.***> wrote:

All sorted then. The latest Release 2024.0.3 looks good.
—
Reply to this email directly, view it on GitHub
https://github.com/FlyingDiver/Indigo-Connected-Drive/issues/31#issuecomment-2495682048,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANTBKPFE4TMRFYA7QTJPF32CEC4HAVCNFSM6AAAAABRY7XYLSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJVGY4DEMBUHA
.
You are receiving this because you commented.Message ID:
@.***>

The captcha token is only needed once for initial setup. After that there's a auth token and a refresh token which get updated hourly (automatic). I expect that if the plugin isn't running for some extended period of time (days, probably) that those tokens will expire. I haven't tested to see how long that is.

So the plugin stopped updating my car yesterday. I looked at the logs but I don't see anything obvious. I then tried restarting the plugin but it failed as the captcha token was too old so I had to renew it:
`Python 3.11.6 (v3.11.6:8b6ee5ba3b, Oct  2 2023, 11:18:21) [Clang 13.0.0 (clang-13<IP_ADDRESS>)]
Connected to Indigo Server v2024.1.0, api v3.5 (localhost:8199)
Started Plugin Connected Drive v2024.0.3

MyBMWAuthError due to HTTPStatusError: invalid_request - The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed
Exception in thread Thread-2 (run_async_thread):
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
self.run()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/threading.py", line 982, in run
self._target(*self._args, **self._kwargs)
File "plugin.py", line 80, in run_async_thread
self.event_loop.run_until_complete(self.async_main())
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "plugin.py", line 98, in async_main
await self.do_account_update(dev_id)
File "plugin.py", line 220, in do_account_update
auth_data = await self.get_account_data(cd_account)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "plugin.py", line 208, in get_account_data
await account.get_vehicles()
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/bimmer_connected/account.py", line 115, in get_vehicles
await self._init_vehicles()
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/bimmer_connected/account.py", line 87, in _init_vehicles
vehicle_list_response = await client.post(
^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_client.py", line 1905, in post
return await self.request(
^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_client.py", line 1585, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_client.py", line 1674, in send
response = await self._send_handling_auth(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_client.py", line 1720, in _send_handling_auth
raise exc
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/httpx/_client.py", line 1709, in _send_handling_auth
next_request = await auth_flow.asend(response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/bimmer_connected/api/authentication.py", line 117, in async_auth_flow
await self.login()
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/bimmer_connected/api/authentication.py", line 136, in login
token_data = await self._login_row_na()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Application Support/Perceptive Automation/Indigo 2024.1/Plugins/ConnectedDrive.indigoPlugin/Contents/Packages/bimmer_connected/api/authentication.py", line 158, in _login_row_na
raise MyBMWCaptchaMissingError(
bimmer_connected.models.MyBMWCaptchaMissingError: Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html
MyBMWAuthError due to HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)
`

So the plugin stopped updating my car yesterday. I looked at the logs but I don't see anything obvious. I then tried restarting the plugin but it failed as the captcha token was too old so I had to renew it:

I tried to replicate this and was unable.  My production server had the plugin running since Saturday, I restarted the plugin and had no errors.  My test system had been shut down since the same time, without the plugin running.  Starting Indigo and then enabling the plugin also connected properly.
In both cases the refresh token was used to get a new auth token.   Editing the account device was not needed.
I need to clear the captcha field in the device config dialog after the authentication process, because that captcha token should never be used again.

There's a detailed plugin log separate from the main indigo log.  You could add that to this issue, but you'll need to pinpoint the period when it stopped updating.

There's a detailed plugin log separate from the main indigo log. You could add that to this issue, but you'll need to pinpoint the period when it stopped updating.

OK I foiund the plugin log and nothing useful there. Last event below. It's possible I may have inadvertently closed the plugin as I started it in interactive shell and I may have closed the Terminal window by mistake. But it's clear the plugin wasn't able to resume syncing once I restarted it today which was +48hs later. So I may have inadvertently found how long the auth token / refresh token take to expire... :-)
2024-11-25 12:34:00.428	[   DEBUG]               Plugin.get_account_data         get_account_data

I need to clear the captcha field in the device config dialog after the authentication process, because that captcha token should never be used again.

Yes this will be helpful as it would reinforce the fact that these captchas are very short lived and shouldn't be reused.

Just tried leaving the plugin off for a couple of hours and then re-enabling and indeed it was able to resume syncing without a new captcha. So the auth token / refresh token must expire between 2hs and 48hs at which point a new captcha is needed. Many thanks for the efforts on getting this upgraded, I do love the integration and the fact it can alert me if I leave the car unlocked at home!

You may also want to update the requirements file to use bimmer_connected v 0.17.1

You may also want to update the requirements file to use bimmer_connected v 0.17.1

I looked at the changes.  Nothing important.

Just tried leaving the plugin off for a couple of hours and then re-enabling and indeed it was able to resume syncing without a new captcha. So the auth token / refresh token must expire between 2hs and 48hs at which point a new captcha is needed. Many thanks for the efforts on getting this upgraded, I do love the integration and the fact it can alert me if I leave the car unlocked at home!

This discussion outlines each component and their scope

bearer_token
refresh_token
captcha

I saw that too.  But he's definitely wrong about the validity window of the refresh token.  By his account, if you shut down for more than 2 hours, then you would need to do a new auth starting with a captcha.  That's definitely incorrect.  He's probably correct about the bearer token, as I do see that change (and a new refresh token) every hour.

Thanks for looking into that.  As more information is discovered it's clear
that documentation isn't 100% consistent
On Wed, Nov 27, 2024 at 1:23 PM Joe Keenan @.***> wrote:

Just tried leaving the plugin off for a couple of hours and then
re-enabling and indeed it was able to resume syncing without a new captcha.
So the auth token / refresh token must expire between 2hs and 48hs at which
point a new captcha is needed. Many thanks for the efforts on getting this
upgraded, I do love the integration and the fact it can alert me if I leave
the car unlocked at home!
This discussion
https://github.com/bimmerconnected/bimmer_connected/discussions/677#discussioncomment-11357248
outlines each component and their scope

bearer_token
refresh_token
captcha

I saw that too. But he's definitely wrong about the validity window of the
refresh token. By his account, if you shut down for more than 2 hours, then
you would need to do a new auth starting with a captcha. That's definitely
incorrect. He's probably correct about the bearer token, as I do see that
change (and a new refresh token) every hour.
—
Reply to this email directly, view it on GitHub
https://github.com/FlyingDiver/Indigo-Connected-Drive/issues/31#issuecomment-2504542737,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANTBKJIHVV6C7I7FSOLDCD2CYEZJAVCNFSM6AAAAABRY7XYLSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBUGU2DENZTG4
.
You are receiving this because you commented.Message ID:
@.***>

What documentation?  lol

Those tokens are in the custom states for the account device. You can monitor them yourself.

here?

What documentation? lol

Well to be fair there's a lot here: https://bimmer-connected.readthedocs.io/en/stable/readme.html#usage

No, the account device, not the vehicle device.  The auth is for the account.

Oh I never thought to look there. Thanks!

What documentation? lol

Well to be fair there's a lot here: https://bimmer-connected.readthedocs.io/en/stable/readme.html#usage

Oh, yeah, that's fair.  The auth stuff is all new and there's almost nothing about the tokens (like duration).

Released in 2024.0.4


fix bounding spheres and rectangles for projections like cassini

The cassini projection is like this: https://proj4.org/operations/projections/cass.html
Approximating the cassini-space bounds of a lat-long rectangle by just projecting points along the lat-long rectangle's edges won't work, so this PR uses a grid instead.
Sandcastle code for testing:
var viewer = new Cesium.Viewer('cesiumContainer', {
    mapProjection :  new Cesium.Proj4Projection('+proj=cass +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +a=6371000 +b=6371000 +units=m +no_defs'),
    sceneMode : Cesium.SceneMode.COLUMBUS_VIEW
});

Thanks for the pull request @likangning93!

:heavy_check_mark: Signed CLA found.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.
:earth_africa: :earth_americas: :earth_asia:


feat: namespace configs for transmitters and options

Full compatible with existing config (through a legacy config transformer)
The client options will look like this for custom headers for Fetch and WS Node clients;
{
  global: {
    fetch: { options: { headers: { "customheader": "value" } } },
    websocket: { options: { _nodeOnlyHeaders: { "customheader": "value" } } }
  }
  // ... other namespaces
}

Namespace configurations are coming, too.
You'll now be able to provide config to specific namespaces in the SDK.
{
  global: {
    fetch: { options: { headers: { "customheader": "value" } } },
  },
  listen: {
    fetch: { options: {
      url: "http://localhost:3000"
    } },
  }
  // ... other namespaces
}

Finally, for the holy grail of overriding a client, which will also be available in namespace config, and will have access to the namespaceOptions scope.
{
  listen: {
    client: async (options) => {} // their client here
  }
}

Oooooo. Elaborate the namespace? You mean we can abstract the client classes? Like 'PrerecordedClient' class?

You'll be able to configure listen separately of read, speak etc from the
client options. Examples in the PR. using the classes directly is possible
but risky, as it's not a public interface it can change without a major
version increase
On Mon, 6 May 2024, 07:29 Dennis Lysenko, @.***> wrote:

Oooooo. Elaborate the namespace? You mean we can abstract the client
classes? Like 'PrerecordedClient' class?
—
Reply to this email directly, view it on GitHub
https://github.com/deepgram/deepgram-js-sdk/pull/273#issuecomment-2095278626,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHJPARIV4SFGBU2BHMIGUDZA4POBAVCNFSM6AAAAABG7GASTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGI3TQNRSGY
.
You are receiving this because you were assigned.Message ID:
@.***>

Does this allow us to set a fetch timeout or abort signal? That would be so helpful ❤

The only reason I would override the class is to include an abort signal code so I can attach the signal property to the fetch request.


Implement argon2 password hasher

Pull Request Checklist

[ X ] Have you read How to write the perfect pull request?
[ X ] Have you read through the contributor guidelines?
[ X ] Have you added copyright headers to new files?
[ ] Have you suggest documentation edits?
[ X ] Have you added tests for any changed functionality?

Purpose
Implement a password hasher using Argon2

Coverage increased (+0.3%) to 95.934% when pulling 4a2e8b43703c04d01361dfdb62bcd4d8d4ec1694 on njouanin:master into f4a57cb427025a6485d91e551eb3d01ab5729e16 on mohiva:master.

Coverage increased (+0.3%) to 95.934% when pulling 4a2e8b43703c04d01361dfdb62bcd4d8d4ec1694 on njouanin:master into f4a57cb427025a6485d91e551eb3d01ab5729e16 on mohiva:master.

@njouanin Thanks for the pull request :+1: I'm not sure if you know that I'm working on a framework agnostic version of Silhouette. For this version I would like to use tsec as crypto library. Tsec brings a lot of crypto stuff as also some password hashers. To maintain backward compatibility between the both Silhouette versions, I would like to use the argon2 Implementation provided by tsec. Then the users do not have issues when migrating from Play Silhouette to the Play binding of the framework agnostic version of Silhouette. There are currently some things to clarify before I can make a decision how this should be finally implemented. I'll keep you updated.

@akkie Thanks for your feeback. I didn't about the tsec library.
Where can I have more information about the framework agnostic version of silhouette ?

@njouanin You can find the repo here: https://github.com/minutemen/silhouette
Currently, I migrate the OAuth2 providers.


refine the website structure

Describe the enhancement
A clear and concise description of what the enhancement request is.
More and more fields and operations are added to OCM, like rollout strategy, placement strategy, addon template, manfestworkreplicaset, etc, they are all mixed in the existing "Concept" section. This increases the mental load for OCM beginners, and makes users confused about like, addon vs manifestwork, addon-framework vs addon template.

Concept:

[ ] From @mikeshng: surface our core concepts: "Cluster Inventory", "Work Distribution", "Content Placement", "Add-On Extensibility" https://github.com/open-cluster-management-io/open-cluster-management-io.github.io/pull/416
[ ] Move policy and control plan to quick start -> addon & integrations.  https://github.com/open-cluster-management-io/open-cluster-management-io.github.io/pull/416

Quick Start:

[ ] move the complex operations like "rollout strategy", and "placement strategy" to Quick Start.

[ ] Add FAQ page, including frequently asked questions, like why use OCM? addon vs manifestwork, addon-framework vs addon template.

[ ] @xuezhaojun for the version-controlled website.

The plan and progress of doc versioning:

Apply for netlify's free PRO plan for open-source projects:

On-going PR: https://github.com/open-cluster-management-io/open-cluster-management-io.github.io/pull/444 @haoqing0110
After the PR is merged, I'm will apply for the free plan in here: https://www.netlify.com/legal/open-source-policy/

Add versioning in main and other release branches:

The commit will looks like this commit: https://github.com/xuezhaojun/open-cluster-management-io.github.io/commit/9e49c20023a9108052b8e24a0d8e5f880dd30c59(In this commit, I use a temp URL instead of open-cluster-management.io)
You can check the preview: https://ocm-preview.netlify.app/

The right above conner is where you can choose the release you want. And if you click v0.14.0, it will jump to https://v0-14-0--<the domain>,  this is the Branch deploy function provide in netlify.

Finally, we need to change the DNS record to point to netlify.  I need to check which DNS provider we're using and who has access to modify it.


[feature] use go-version-file in release workflow

We use go-version as a tmp workaround for https://github.com/slsa-framework/slsa-github-generator/issues/2661

fixed in #2672


Fix resample spatial

Fix for https://github.com/Open-EO/openeo-processes-dask/issues/228
Note: I add to add the default python language in the pre-commit configuration otherwise it didn't work in my environment.

Thanks for checking this in the process implementation and bringing it up!
Anyhow, I have been wondering - does it make sense to rename the spatial coordinates after a reprojection in general?
If data is reprojected from UTM to WGS84, the coordinates would be renamed to latitude and longitude by the reprojection and could stay like that, couldn't they?
What do you think about it?

The dimension labels should not be changed by this process, as specified in the process definition: https://processes.openeo.org/#resample_spatial

Oh, right - thanks for pointing it out - it just feels a bit counter-intuitive, doesn't it? But this is then more a question on the process definition level :)


Create bower.json

added so minetest-bower gets a screenshot
https://minetest-bower.herokuapp.com/mods/volcano

You may also consider using a README.md file for prettier formatting.
There is a template readme file here:
https://minetest-bower.herokuapp.com/mods/readme/volcano

Bower looks cool but i don't want to add a file just for a mod repo, you can add a screenshot to bower manually if you want.

Could you add a screenshot.png to the repo instead?
On 15 Aug 2015 1:40 am, "Paramat"<EMAIL_ADDRESS>wrote:

Bower looks cool but i don't want to add a file just for a mod repo, you
can add a screenshot to bower manually if you want.
—
Reply to this email directly or view it on GitHub
https://github.com/paramat/volcano/pull/2#issuecomment-131165066.

Perhaps, what's the minimum size required?

Could you add a screenshot.png to the repo instead?

downloading the mod would take a lot more time l guess

There are no minimum/maximum size requirements for the image.  If repo space is the issue then the bower.json file is better as it takes up less space and provides more information about the mod.
Not sure why there is resistance to adding information about the project to the project's repository.
I don't have a way to add screenshots other than these methods to the bower repo.  If nobody wants to help by providing info about their packages then perhaps I'll look at harvesting the information from the forums at some stage in the future.  I made it so that it syncs the information from the repo so that there is minimal effort required to keep it updated.  I just thought that people would like to have a mod repository that offered a bit more structure than the forums.

I'm very busy but want to do these things myself. I do indeed need to add images and info to the readme, as with many of my mods. After 0.4.13 release i'll be returning to modding and have more time.


added SVI as a factor to consider within the population

SVI (social vulnerability index) is a factor that should be considered within Covasim, as it will allow us to better represent minority communities. This proposed code builds off a paper by the NIH which proposes that people with an SVI above 150% have a 65% increase in their chance of becoming symptomatic of covid, given that they are exposed.
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7318979/

Thanks @gwitchel! We'll take a look at including this in the next release of Covasim.


Figure out a pattern for cutting down noisy validation errors

I forget the terminology, but the AND/NOT/OR complexity here serves to suppress errors that are downstream of some more fundamental error. @ericprud et al have plans for doing this within ShEx in more standardized ways, so the actual intended shape content doesn't get lost in all the boolean trickery.
PREFIX : <http://schema.org/>
PREFIX validate: <https://google.com/search/validation/valid>

<S1> {
  :url . + %validate:url{console.log('some url checking code here')%}
} AND {
  :datePublished . ? %validate:date-time{console.log('some datetime checking code here')%}
} AND {
  :claimReviewed .
} AND {
  :itemReviewed {
    a [:CreativeWork]
  } AND (
    NOT {
      a [:CreativeWork]
    } OR {
      :author (
        {
          a [:Organization]
        } OR {
          a [:Person]
        }
      ) AND (
        NOT (
          {
            a [:Organization]
          } OR {
            a [:Person]
          }
        ) OR {
          :name . ?
        }
      )?
    } AND {
      :datePublished . ? %validate:date-time{console.log('some datetime checking code here')%}
    }
  )?
} AND {
  :author (
    {
      a [:Organization]
    } OR {
      a [:Person]
    }
  ) AND (
    NOT (
      {
        a [:Organization]
      } OR {
        a [:Person]
      }
    ) OR (
      {
        :name .
      } OR {
        :url .
      }
    ) AND {
      :url . * %validate:url{console.log('some url checking code here')%}
    }
  )?
} AND {
  :reviewRating {
    a [:Rating]
  } AND (
    NOT {
      a [:Rating]
    } OR {
      :alternateName .
    } AND (
      (
        NOT {
          :name .
        } OR {
          :alternateName . ?
        }
      ) AND (
        NOT (
          NOT {
            :name .
          }
        ) OR {
          :alternateName . +
        }
      )
    ) AND NOT (
      {
        :alternateName .
      } AND {
        :name .
      }
    ) AND (
      NOT (
        (
          {
            :ratingValue .
          } OR {
            :bestRating .
          } OR {
            :worstRating .
          }
        ) AND NOT (
          {
            :ratingValue /-1/
          } AND {
            :bestRating /-1/
          } AND {
            :worstRating /-1/
          }
        )
      ) OR {
        :ratingValue /([0-9]+[\.,]?[0-9]*)\/([0-9]+[\.,]?[0-9]*)/  OR /([0-9]+[\.,]?[0-9]*)%/  OR /([0-9]+[\.,]?[0-9]*)/ +
      } AND (
        NOT {
          :ratingValue /([0-9]+[\.,]?[0-9]*)/ +
        } OR {

        } %validate:rating%
      )
    )
  )+
}

See https://github.com/shexSpec/shex/blob/master/status.md under<EMAIL_ADDRESS>As described by @ericprud back in 2020:

the idea is that if you're validating something as a CreativeWork and it has a type of Recipe but doesn't actually satisfy Recipe, ShEx won't drown you in errors about every kind of CreativeWork that it fails, but instead it will just tell you why it doesn't satisfy Recipe
(and yes, danbri, i know it's not "failing", but you get the idea)
if y'all think the above description is missing some use case or nuance, let us know

Draft spec and examples: https://hackmd.io/1fpnYHxoSYOQhvYxHXddjA

ShEx service-specific shape examples for Recipe and Dataset, https://github.com/google/schemarama/tree/main/demo/validation/shex/specific/ServiceB

We want the bit of ShEx that checks for 'name' property in the shape to be able to link to something like https://developers.google.com/search/docs/advanced/structured-data/recipe#the_bit_of_the_docs_that_talks_about_name_property.
Realistically this might need initially to be done via out-of-band info rather than assuming all the shex from Google carries such details. Hence shapepath / IDs being an issue.


Port EMBEDDING_LOOKUP to TFLM

@tensorflow/micro
Port the EMBEDDING_LOOKUP kernel operator to TFLM.
Recreate tests for kernel operator (INT8, FLOAT32).
Add SymmetricScaleFromMinMax method to test_helpers.h file.
Update Makefiles.
Update Bazel build script.
bug=fixes #1871

@emmett-google, would you be up for a first review of this PR?

Looks like a good port of the TfLite op  👍 Thanks for implementing this!

@mergifyio refresh

@Mergifyio refresh


How to use the matrices in calibration_result.xml ?

Hello,
First thank you for your project!
I was wondering if you could provide an example on how to use the matrices in the calibration_result.xml file.
I understand that you can read the matrices using the following code:
cv_file = cv2.FileStorage("calibration_result.xml", cv2.FILE_STORAGE_READ)
rotation_matrix = cv_file.getNode("rotation").mat()
translation_matrix = cv_file.getNode("translation").mat()

How can I then use these matrices to translate a point from camera coordinates to projector coordinates ?
cam_coord = (500, 400)
proj_coord = ???

You only get the projector parameters from calibration result. You must use other way to get proj_cord. If you use gray code pattern, you can get matching relationship between camera and projector easily.
The rotation matrix or translation vector is used to calculate triangulation between camera and projector. You still need to do dense match to get proj_cord.
If you don't care about real 3D point, you could treat camera center as original point, and use R, t to get coordinate of projector related to camera. However, you must handle scale factor.


Enhances "aad m365group add" command by adding "visibilty" option. Closes #5477

Enhances aad m365group add command by adding visibilty and removing --isPrivate option. Closes #5477

Thank you @SmitaNachan, we'll try to review it ASAP!

Merged manually, thank you 👏


builder: use familyName to construct VF filename

Currently, if we generate a variable font, the filename will inherit the source filename e.g Myfont_roman.designspace --> Myfont_roman[wdth,wght].ttf. What we really want is the generated font's family name with no spaces e.g Roboto Serif --> RobotoSerif[wdth,wght].ttf.

Hmm, trying to automagically work out the filename seems like a good idea but there are too many edgecases one needs to consider. Atm, if a family consists of two VFs, one for Roman, the other Italic, one of the fonts will get overwritten. One could account for these but where do you stop. What happens if there's a separate set of sources for Condensed etc.
I think I'll close this PR but keep some of the fixes for the instances.

Closing this and opening a more aptly named pr for the commits I'd like to keep.


metapath and contextpath

Hi, this is a first try (and needs for sure a better wording) I'll also take care to update the JSDOC for our building blocks which is also not correct in all places

Hello , thanks for your contribution! We really appreciate it and will look into this .

Hi, as discussed I'll close the PR for now


Superscript only affecting a single word

When I attempt to markup a string to be formatted as superscript using the '^' markup, it only seems to affect a single word at a time, not the entire string as delimited by the caret.
E.G.

[line-through]#Install Glance# ^Covered^ ^in^ ^OSP^ ^Implementation^
renders as I want, with "Covered in OSP Implementation" being all superscript; however

[line-through]#Install Glance# ^Covered in OSP Implementation^
renders with the literal carets appearing, without the string being formatted as superscript

Apologies in advance if this is a user error and not an asciidocFX issue.

You can use following workaround;
:b: Covered in OSP Implementation

a^{b}^


feat: install Poetry 1.5.1

:tada: This PR is included in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Shortcut cannot be created on network drive

Description
When I try to create or copy a shortcut on a network drive, nothing is created/copied.
Steps To Reproduce

Create a folder on a network drive (e:\myFolder)
Put a file in this folder
Right-click on this file -> Create Shortcut
No shortcut created

Same result if you try to drag-and-drop a shortcut from a "normal" drive to e:\myFolder
Expected behavior
The shortcut will be creatd/copied
Files Version
<IP_ADDRESS>
Windows Version
Windows 10.0.18363.1916
Relevant Assets
No response

Merging with #2436


fix the redundancy description of function

fix the redundancy description of function:
Hostname("*.com").Matches("foo.com")     = true
Hostname("*.com").Matches("foo.com")     = true

to
Hostname("*.com").Matches("foo.com")     = true
Hostname("*.com").Matches("bar.com")     = true

and add two more wildcarded match case

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: costinm
If they are not already assigned, you can assign the PR to them by writing /assign @costinm in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @stewart-yu. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/cc @hzxuzhonghu  @ayj
PTAL, thanks

/lgtm

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: hzxuzhonghu
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: costinm
If they are not already assigned, you can assign the PR to them by writing /assign @costinm in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/approve

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: hzxuzhonghu
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: costinm
If they are not already assigned, you can assign the PR to them by writing /assign @costinm in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/ok-to-test

hi , i note this is useful

/cc @geeknoid
If have chance, PTAL, thanks:grinning:


FIX: etching factor in edb cfg

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.68%. Comparing base (f0e3646) to head (fe4930b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #938      +/-   ##
==========================================
+ Coverage   82.67%   82.68%   +0.01%
==========================================
  Files         160      160
  Lines       21037    21051      +14
==========================================
+ Hits        17392    17406      +14
  Misses       3645     3645


Still getting 'Description' error

I know this issue was previously raised and subsequently resolved by #17, but I'm still getting this error when I do a pod install:

Pre-downloading: AppbotX from https://github.com/appbotx/appbotx.git, commit 0087d2b895dccc996ad802a2e53575f6ff83c401
[!] The AppbotX pod failed to validate due to 1 error:
- WARN  | github_sources: Github repositories should use an https link.
- ERROR | description: The description is empty.

I copied and pasted the podfile text straight from this repository (this is the 1st time I've run this pod install since April and it worked ok at that time).

Well, I tried it again and now it works.  I don't know why.  I'll close the issue.


Info Release Notes Display - Warning - Version 7.142.1

Summary

I have recently downloaded the latest version of SFDX, using the command sfdx update
I successfully am able to upgrade to v7.142.1, however the following WARNING is thrown when it finishes updating.

WARNING: info:releasenotes:display failed: Didn't find version '7.142.1'.
View release notes online at: https://github.com/forcedotcom/cli/tree/main/releasenotes/sfdx

Steps To Reproduce

Have SFDX installed globally already in your machine.
Open a terminal.
Perform an update for SFDX with the following command

sfdx update

Expected result

Upgrade SFDX WITHOUT any warnings, and displaying the appropriate Release Notes for the version of SFDX  I updated to.

Actual result

Upgrade SFDX WITH warnings, and DOES NOT display the appropriate Release Notes for the version of SFDX I updated to.

System Information

I have SFDX installed globally on my machine.
To update I am using the basic command sfdx update

Screenshot

Below is a screenshot of my terminal after running the command sfdx update

Hi @estrudels the reason for the error is that we did not posted release notes for that version, we'll update them soon.


search web collection with a sentence query - new search method in SearchWebCollection

This is the current signature for the search method in SearchWebCollection:
public void search(SortedMap<Integer, String> topics, String submissionFile, Similarity similarity, int numHits, RerankerCascade cascade)
We need a method that search using a query String such as "What is the birth date of Einstein?"
The signature should be:
public void search(String query,  numHits)

https://github.com/lintool/Anserini/pull/139

this was committed with issue #139 - closed.


[BUG] - min create error on consol when set the value bellow

NOTE
Describe the bug
minimal value create error on consol when set the value bellow with the arrow and you can go bellow with the arrow
To Reproduce
Steps to reproduce the behavior:
1 define min on timepicker
2 go under the min with the arrow
Expected behavior
lock on min from the arrow and don't set error on console
Screenshots

Desktop (if execution):

Browser chrome

** Versions

<EMAIL_ADDRESS>

I can't seem to reproduce this. Can you prepare a Blitz please?


Form Support

Current forms on the original site:

Contact Form (https://en-gb.mammotome.com/contact/)
Submission Form (https://www.mammotome.com/contact/innovate-with-mammotome/)
Study Request Form including File Upload (https://www.mammotome.com/contact/investigator-initiated-study-request/)
Schedule a Demo Form (https://www.mammotome.com/schedule-a-demo/)
Tech Support Ticket Form including file upload (https://www.mammotome.com/submit-a-tech-support-ticket/)

Franklin forms documentation: https://www.hlx.live/developer/forms
Some forms use file upload. How to handle this is as of yet undecided. Research as part of this ticket.

o	Contact Us
o	Innovate Form
o	Study Request
o	Schedule Demo
o	Tech Support Ticket

Forms Urls are changed
https://main--mammotome--hlxsites.hlx.page/en/submit-a-tech-support-ticket
https://main--mammotome--hlxsites.hlx.page/en/schedule-a-demo
https://main--mammotome--hlxsites.hlx.page/en/contact/
https://main--mammotome--hlxsites.hlx.page/en/about-us/investigator-initiated-study-request
https://main--mammotome--hlxsites.hlx.page/en/about-us/innovate-with-mammotome


My edits to Tyler's pull request

@tddesjardins , here are my edits to spacetelescope/acstools#45. They include:

Fixing undefined Table import.
Renaming get_hdr_vals to hdr_vals_for_overscan because this module is a collection of calibration utilities, so we should be as explicit as feasible.
Adding your new functions to __all__.
Docstring formatting nitpicks.
Optimizing FITS table reading and if comparisons. For Numpy array masking, usage of | and && are okay, but for if, or and and are preferred.
Moving "magic numbers" up to API as configurable optional keywords.

Are these changes okay with you? Do you want to make sure they work on your side?
If these are fine, then you can simply hit the big green merge button, and these changes would automatically be a part of your PR. Thanks!

To clarify a bit more, I removed the nested if in check_overscan to make it easier to read (and maaaaaybe a bit more effective but might be pre-mature optimization anyway).


peerplays dont compile in ubuntu 18.04

i think it is by the openssl 1.1. tried with different boost versions and it is the same thing. bitshares haves a patch for this, peerplays will need to port.
log:
[  8%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/thread/thread.cpp.o
In file included from /usr/include/boost/coroutine/stack_context.hpp:14:0,
                 from /home/alfredo/CLionProjects/peerplays/libraries/fc/src/thread/context.hpp:10,
                 from /home/alfredo/CLionProjects/peerplays/libraries/fc/src/thread/thread_d.hpp:5,
                 from /home/alfredo/CLionProjects/peerplays/libraries/fc/src/thread/thread.cpp:5:
/usr/include/boost/coroutine/detail/config.hpp:17:4: warning: #warning "Boost.Coroutine is now deprecated. Please switch to Boost.Coroutine2. To disable this warning message, define BOOST_COROUTINES_NO_DEPRECATION_WARNING." [-Wcpp]
 #  warning                  "Boost.Coroutine is now deprecated. Please switch to Boost.Coroutine2. To disable this warning message, define BOOST_COROUTINES_NO_DEPRECATION_WARNING."
    ^~~~~~~
In file included from /home/alfredo/CLionProjects/peerplays/libraries/fc/src/thread/thread_d.hpp:5:0,
                 from /home/alfredo/CLionProjects/peerplays/libraries/fc/src/thread/thread.cpp:5:
/home/alfredo/CLionProjects/peerplays/libraries/fc/src/thread/context.hpp:215:9: error: ‘fcontext_t’ in namespace ‘bc’ does not name a type
     bc::fcontext_t               my_context;
         ^~~~~~~~~~
/home/alfredo/CLionProjects/peerplays/libraries/fc/src/thread/context.hpp: In constructor ‘fc::context::context(void (*)(intptr_t), stack_allocator&, fc::thread*)’:
/home/alfredo/CLionProjects/peerplays/libraries/fc/src/thread/context.hpp:69:6: error: ‘my_context’ was not declared in this scope
      my_context = bc::make_fcontext( stack_ctx.sp, stack_ctx.size, sf);
      ^~~~~~~~~~
/home/alfredo/CLionProjects/peerplays/libraries/fc/src/thread/context.hpp:69:6: note: suggested alternative: ‘context’
      my_context = bc::make_fcontext( stack_ctx.sp, stack_ctx.size, sf);
      ^~~~~~~~~~
      context
/home/alfredo/CLionProjects/peerplays/libraries/fc/src/thread/context.hpp:69:23: error: ‘make_fcontext’ is not a member of ‘bc’
      my_context = bc::make_fcontext( stack_ctx.sp, stack_ctx.size, sf);
                       ^~~~~~~~~~~~~
/home/alfredo/CLionProjects/peerplays/libraries/fc/src/thread/context.hpp:69:23: note: suggested alternative: ‘stack_context’
      my_context = bc::make_fcontext( stack_ctx.sp, stack_ctx.size, sf);
                       ^~~~~~~~~~~~~
                       stack_context
/home/alfredo/CLionProjects/peerplays/libraries/fc/src/thread/context.hpp: In constructor ‘fc::context::context(fc::thread*)’:
/home/alfredo/CLionProjects/peerplays/libraries/fc/src/thread/context.hpp:88:6: error: class ‘fc::context’ does not have any field named ‘my_context’
      my_context(nullptr),
      ^~~~~~~~~~
In file included from /home/alfredo/CLionProjects/peerplays/libraries/fc/src/thread/thread.cpp:5:0:
/home/alfredo/CLionProjects/peerplays/libraries/fc/src/thread/thread_d.hpp: In member function ‘bool fc::thread_d::start_next_fiber(bool)’:
/home/alfredo/CLionProjects/peerplays/libraries/fc/src/thread/thread_d.hpp:401:21: error: ‘jump_fcontext’ is not a member of ‘bc’
                 bc::jump_fcontext( &prev->my_context, next->my_context, 0 );
                     ^~~~~~~~~~~~~
/home/alfredo/CLionProjects/peerplays/libraries/fc/src/thread/thread_d.hpp:401:21: note: suggested alternative: ‘stack_context’
                 bc::jump_fcontext( &prev->my_context, next->my_context, 0 );
                     ^~~~~~~~~~~~~
                     stack_context
/home/alfredo/CLionProjects/peerplays/libraries/fc/src/thread/thread_d.hpp:401:43: error: ‘struct fc::context’ has no member named ‘my_context’; did you mean ‘context’?
                 bc::jump_fcontext( &prev->my_context, next->my_context, 0 );
                                           ^~~~~~~~~~
                                           context
/home/alfredo/CLionProjects/peerplays/libraries/fc/src/thread/thread_d.hpp:401:61: error: ‘struct fc::context’ has no member named ‘my_context’; did you mean ‘context’?
                 bc::jump_fcontext( &prev->my_context, next->my_context, 0 );
                                                             ^~~~~~~~~~
                                                             context
/home/alfredo/CLionProjects/peerplays/libraries/fc/src/thread/thread_d.hpp:443:21: error: ‘jump_fcontext’ is not a member of ‘bc’
                 bc::jump_fcontext( &prev->my_context, next->my_context, (intptr_t)this );
                     ^~~~~~~~~~~~~
/home/alfredo/CLionProjects/peerplays/libraries/fc/src/thread/thread_d.hpp:443:21: note: suggested alternative: ‘stack_context’
                 bc::jump_fcontext( &prev->my_context, next->my_context, (intptr_t)this );
                     ^~~~~~~~~~~~~
                     stack_context
/home/alfredo/CLionProjects/peerplays/libraries/fc/src/thread/thread_d.hpp:443:43: error: ‘struct fc::context’ has no member named ‘my_context’; did you mean ‘context’?
                 bc::jump_fcontext( &prev->my_context, next->my_context, (intptr_t)this );
                                           ^~~~~~~~~~
                                           context
/home/alfredo/CLionProjects/peerplays/libraries/fc/src/thread/thread_d.hpp:443:61: error: ‘struct fc::context’ has no member named ‘my_context’; did you mean ‘context’?
                 bc::jump_fcontext( &prev->my_context, next->my_context, (intptr_t)this );
                                                             ^~~~~~~~~~
                                                             context
libraries/fc/CMakeFiles/fc.dir/build.make:182: recipe for target 'libraries/fc/CMakeFiles/fc.dir/src/thread/thread.cpp.o' failed
make[2]: *** [libraries/fc/CMakeFiles/fc.dir/src/thread/thread.cpp.o] Error 1
CMakeFiles/Makefile2:397: recipe for target 'libraries/fc/CMakeFiles/fc.dir/all' failed
make[1]: *** [libraries/fc/CMakeFiles/fc.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

related pull requests to allow openssl 1.1 in bitshares:
https://github.com/bitshares/bitshares-fc/pull/7
https://github.com/bitshares/bitshares-core/pull/921

fixed in https://github.com/peerplays-network/peerplays/


Customize the position of desktop notifications

Description of the new feature / enhancement
Windows notifications are important, but they can only be seen in the lower right part of the screen, this causes many users to disable this feature since it can interrupt other apps. My idea would be that the notification can be moved to the other corners of the desktop and in this way take advantage of the space on the screen, since as I mentioned previously these notifications in the default area are usually annoying and even cover other information that is displayed in that same place.
Scenario when this would be used?
This will help make better use of the notifications, since I usually remove them, because they are in an area where a lot of information is usually displayed, and not being able to change the location of the notifications causes them to overlap in front of other things. I'm sure many will love being able to customize where notifications are displayed on the screen.
Supporting information
No response

/feedbackhub


[Hexagon] Treat floats as float32 when passing args to offloaded kernels

TVMArg can hold a floating point value, but it's stored as double. In Hexagon ABI doubles are passed in a register pair, but if the offloaded function was using floats (i.e. float32), it will expect values being passed in single registers. Since floats are much more common on Hexagon, assume all scalar floating point values are floats. This is only an issue with offloading, and can be treated as a limitation (we do something analogous for integers already).

Thank you @kparzysz-quic - the PR has been merged

sorry i missed this @tmoreau89 @kparzysz-quic . i think this makes sense for now. it seems like in the post-fused-IRModule world, we could do some analysis of the calling/called function to eliminate this limitation. what do you think? also, seems like we should potentially document the TVM port in a README/docs.tvm.ai somewhere. what are your thoughts about that?


Cannot print Circuit ascii diagram

Hi,
I created a basic circuit and tried to print it to console. It hit me with the following error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
UnicodeEncodeError: 'ascii' codec can't encode characters in position 3-5: ordinal not
in range(128)

My code is as follows:
import cirq

# Build a model using Circuits
circuit = cirq.Circuit()

# Create Qubits
(q0, q1) = cirq.LineQubit.range(2)

# Add Qubits to Circuit model using logic gates
circuit.append([cirq.H(q0), cirq.CNOT(q0, q1)])

# Measure the final values of the Qubits
circuit.append([cirq.measure(q0), cirq.measure(q1)])

# Visualising the Circuit
print (circuit)

Can someone tell me how I can fix this and visualise my circuit? Thanks!

This is likely a problem with your python environment's configuration, e.g. the default text encoding is not set to UTF8.
Are you on a windows machine? If you try print(circuit.to_text_diagram(use_unicode_characters=False)) does that work as a workaround?

I'm working on macOS with a TensorFlow virtual environment with Python3.6. Let me try your suggestion and get back to you.
Cheers!

Yup, your code worked! Thank you so much!

If people keep running into this snag, we might need to switch the default circuit representation to ASCII only.

It'd be wonderful if you can switch it to ASCII only! I tried it again and it failed. So might be a good move

Please tell us how you setup your environment. Other users might not have this problem.

I'm also having a problem with printing the circuit. I think it's a problem with windows command prompt not having good support for unicode. Strilanc's recommendation of print(circuit.to_text_diagram(use_unicode_characters=False)) worked for me, however when I tried running this code print(cirq.google.Bristlecone) I ran into the problem again. But there didn't seem to be a .to_text_diagram method. I tried various chcp codes to no affect. I also tried using a bash shell (on rish-16's program), but the output was nonsensical:
0: ΓöÇΓöÇΓöÇHΓöÇΓöÇΓöÇ@ΓöÇΓöÇΓöÇMΓöÇΓöÇΓöÇ
          Γöé
1: ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇXΓöÇΓöÇΓöÇMΓöÇΓöÇΓöÇ

It would make things a lot easier if the default output was just ASCII.

Urgh, it is so frustrating for a modern OS to not understand monospaced UTF8.
I would really prefer not to make the default ASCII, because it's much harder to parse visually. But maybe it's necessary.
We could have a global switch to set it, like an equivalent of np.printoptions, but I dislike that kind of configuration because it's so easy for code in one file to break code in a file somewhere else.

We could have a global switch to set it, like an equivalent of np.printoptions, but I dislike that kind of configuration because it's so easy for code in one file to break code in a file somewhere else.
That's why you set global switches in a if __name__ == "__main__": block to prevented from changing setting if that file is later imported. But ya, it would be so much easier if standards where... standard.