Splatfacto fails due to the model being train mode instead of eval mode

Describe the bug
After 2000 steps of ns-train command (nerfstudio==1.1.3), the following happens.
Printing profiling stats, from longest to shortest duration in seconds
VanillaPipeline.get_average_eval_image_metrics: 0.2351
VanillaPipeline.get_average_image_metrics: 0.2226
VanillaPipeline.get_eval_image_metrics_and_images: 0.0689
Trainer.train_iteration: 0.0501
VanillaPipeline.get_train_loss_dict: 0.0414
Trainer.eval_iteration: 0.0010
Traceback (most recent call last):
  File "/usr/local/bin/ns-train", line 8, in <module>
    sys.exit(entrypoint())
  File "/usr/local/lib/python3.10/dist-packages/nerfstudio/scripts/train.py", line 262, in entrypoint
    main(
  File "/usr/local/lib/python3.10/dist-packages/nerfstudio/scripts/train.py", line 247, in main
    launch(
  File "/usr/local/lib/python3.10/dist-packages/nerfstudio/scripts/train.py", line 189, in launch
    main_func(local_rank=0, world_size=world_size, config=config)
  File "/usr/local/lib/python3.10/dist-packages/nerfstudio/scripts/train.py", line 100, in train_loop
    trainer.train()
  File "/usr/local/lib/python3.10/dist-packages/nerfstudio/engine/trainer.py", line 298, in train
    self.eval_iteration(step)
  File "/usr/local/lib/python3.10/dist-packages/nerfstudio/utils/decorators.py", line 70, in wrapper
    ret = func(self, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/nerfstudio/utils/profiler.py", line 112, in inner
    out = func(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/nerfstudio/engine/trainer.py", line 545, in eval_iteration
    metrics_dict, images_dict = self.pipeline.get_eval_image_metrics_and_images(step=step)
  File "/usr/local/lib/python3.10/dist-packages/nerfstudio/utils/profiler.py", line 112, in inner
    out = func(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/nerfstudio/pipelines/base_pipeline.py", line 341, in get_eval_image_metrics_and_images
    metrics_dict, images_dict = self.model.get_image_metrics_and_images(outputs, batch)
  File "/usr/local/lib/python3.10/dist-packages/nerfstudio/models/splatfacto.py", line 926, in get_image_metrics_and_images
    combined_rgb = torch.cat([gt_rgb, predicted_rgb], dim=1)
RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 239 but got size 959 for tensor number 1 in the list.

To Reproduce
It happens locally while using the viewer but I don't have a simple way of reproduction.
Expected behavior
No RuntimeError is raised here.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
When I set the PDB debugger there for quick debugging, I saw that the model is in train mode instead of eval mode somehow. Replacing https://github.com/nerfstudio-project/nerfstudio/blob/9b3cbc79bf239eb3c69e7c288632aab02c4f0bb1/nerfstudio/pipelines/base_pipeline.py#L341 with the following fixed the error for me but it probably needs more permanent fix.

        try:
            metrics_dict, images_dict = self.model.get_image_metrics_and_images(outputs, batch)
        except Exception:
            self.model.eval()  # The code fails here due to model.training == True for some reason.
            metrics_dict, images_dict = self.model.get_image_metrics_and_images(outputs, batch)

It is cryptic why the model is still in train mode at this line but that's how it worked for me.
I had the same error at the following line and the same fix worked. https://github.com/nerfstudio-project/nerfstudio/blob/9b3cbc79bf239eb3c69e7c288632aab02c4f0bb1/nerfstudio/pipelines/base_pipeline.py#L388
An additional note (2 weeks after initial posting)
I found that the above try-except statement still fails at the except block in some cases if I make lots of interaction from the viewer when the number of images are large. Probably the following is a better (temporary) fix.
        while True:
            try:
                metrics_dict, images_dict = self.model.get_image_metrics_and_images(outputs, batch)
                break
            except Exception:
                self.model.eval()  # The code fails here due to model.training == True for some reason.

I have seen similar issue before and don't yet have clue how viewer can mutate training/eval mode of models.

Seeing the same issue here, while using both viewer and tensorboard. My take is that the eval images are already downsampled when loaded according to the path and are getting downsampled again.

Same issue, waiting for fix


Fix conflict in ESLint rules about object shorthands

What
Disables ESLint's object-shortand rule for our source files
Why
Standard's configuration requires object shorthands (via https://eslint.org/docs/latest/rules/object-shorthand) but eslint-plugin-x requires them unavailable as we're linting to limit to ES3 features (via https://eslint-community.github.io/eslint-plugin-es-x/rules/no-property-shorthands.html)
Who needs to work on this
Developers
Who needs to review this
Developers
Done when

[ ] Standard's rule has been disabled for our source files (but not the rest of the project that don't need to be ES3)

@romaricpascal Does this unblock another PR?
Ideally we don't need to add new rules at all

@romaricpascal Yep! I meant we can worry about adding it when we need it? Might not need it soon

I think we'll need it for any v4 development, including the support we'll have once v5 is shipped. I'd argue for bringing it in now so we don't wonder in the middle of a fix (or final new feature) for v4 why ESLint keeps complaining about both ways of writing the object.
We can happily remove the rule override when we start v5 as there'll no longer be eslint-plugin-es-x's ES3 configuration.

Closing so it doesn't clog the "In review" log. We'll have a trace of it if we need the fix at some point in the future.


Makefile: fixes board name for

Fixes c5d93c41f893 (boards: Add Samsung Chromebook Plus test script),
which wouldn't compile.
make: *** No rule to make target 'boards/google,kevin', needed by '/tmp/bin/google,kevin'.  Stop.
Signed-off-by: Nicolas Dechesne<EMAIL_ADDRESS>

@eballetbo , for review.


⚠ Bofrost.lu has degraded performance

In b9edc09, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1947 ms

Resolved: Bofrost.lu performance has improved in 9e6ae7e after 6 minutes.


Property renamed with :from is not set

My user model has the property :password_confirmation and includes the UserRepresenter.
My UserRepresenter defines
property :password_confirmation, :from => :passwordConfirmation

I do a POST with HTTP body:
{
"passwordConfirmation":"123"
}
My controller:
def create
 @user = User.new.from_json(request.raw_post)
 puts @user.password_confirmation # =====> ""
 puts @user.passwordConfirmation  # ==== => "123"
end

Why is password_confirmation not set?

Looks like a bug, but can you double-check if you're up-to-date, etc? Please write a provoking test, but check this first: https://github.com/apotonick/representable/blob/master/test/json_test.rb#L263

What I could find out: This is a Mongoid issue!
If I don't include the representer but extend the class it's working.
Another interesting fact: I include several Mongoid classes in my user class.
class User
 include Roar::Representer
 include UserRepresenter
 include Mongoid::Document
 include Mongoid::Paranoia
 include Mongoid::Timestamps
 include Mongoid::Slug

If I don't include the Representer BEFORE the Mongoid includes:
=> wrong number of arguments (0 for 1)
representable (1.0.1) lib/representable.rb:124:in `collection'
mongoid (2.4.0) lib/mongoid/contexts/mongo.rb:8:in `collection'
mongoid (2.4.0) lib/mongoid/contexts/mongo.rb:93:in `count'
mongoid (2.4.0) lib/mongoid/criteria.rb:155:in `exists?'
mongoid (2.4.0) lib/mongoid/validations/uniqueness.rb:68:in `validate_each'
activemodel (3.1.0) lib/active_model/validator.rb:153:in `block in validate'
activemodel (3.1.0) lib/active_model/validator.rb:150:in `each'

But I gotta sleep now...

Well, then Mongoid overwrites the #collection class method. Solution: Don't include the representer module but extend your objects at runtime, this doesn't pollute your class.

It's not an general issue, as if you only include  Mongoid::Document its working.
Put I will close this issue for now and perhaps write about a solution later.

Hmm, it's getting worse with Mongoid. I removed all Roar includes from my model classes as my PolymorphicExtender test seems to work now, but then extending embedded objects doesn't work:
class User
include Mongoid::Document
  embeds_one :profile, :class_name => "Users::Profile"
end

class Users::Profile
include Mongoid::Document
  field :name
end

user = User.find(id)
respond_with user.profile.extend(ProfileRepresenter)

Extending fails with undefined method `representable_attrs' for Users::Profile:Class

Paste your profileRepresenter!

Yeah I double checked it. OK I use roar-rails but it fetches
roar 0.9.1
representable 1.0.1
roar-rails (0.0.2)
No change If I use my local repos for the 3 projects.
I already came up against this problem when I first used roar one month ago. But I could fix it by including roar stuff in my models.

Ah, ok if you have nested objects that need a separate representer you have to use the :extend option: http://nicksda.apotomo.de/2011/12/ruby-on-rest-2-representers-and-the-dci-pattern/
Does that help?

No because with "nested" I mean Mongoid embedded  in this context.
I ONLY use this simple ProfileRepresenter but for extending an in an user embedded profile class

OOoook, now I get it. Can you provide a minimal app setup so I can investigate that - seems like a misunderstanding between Mongoid and Representable, maybe the #profile method doesn't return a real Profile object but some proxy or something. Thx!

Here it is: https://github.com/chrisupb/mongoid-sample
See README
Thank you!

Fixed in https://github.com/apotonick/representable/commit/b7eceac23353f96767ea34d025bf80e630b6105f (1.1.1). Some strange mongoid issue that wouldn't let us set instance variables. Was ugly code anyway, so, thanks :-D Also thanks for providing a minimal example, I could very easily setup a test and fix it: https://github.com/apotonick/representable/commit/b7eceac23353f96767ea34d025bf80e630b6105f#diff-2

Awesome!! Thank you. This is working now without including anything into the models.
Unfortunately URL helpers are no longer available in the embedded class (instrument) undefined local variable or method `artists_url' for #<Artists::Instrument:0x00000001c16000
I updated my mongoid-example for this problem but did not yet examine it.


Merge pull request #1355 from minrk/language-level

remove implicit relative imports
backend/cython, devices no longer need to be on include path
set language_level to 3str explicitly
define zmq/init.pxd and zmq.backend.cython.init.pxd for package-level cimports
test cython compilation with pyximport

@minrk this causes a build failure in Debian 9 and others, with cython 0.25.2 and python3 3.5.3 - is it possible to maintain backward compatibility?
[  113s] i686-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/pgm-5.2 -Izmq/utils -c build/temp.linux-i386-2.7/scratch/vers.c -o build/temp.linux-i386-2.7/scratch/vers.o
[  113s] i686-linux-gnu-gcc -pthread build/temp.linux-i386-2.7/scratch/vers.o -lzmq -lrt -o build/temp.linux-i386-2.7/scratch/vers
[  113s]     ZMQ version detected: 4.3.3
[  113s] ************************************************
[  113s] cythoning zmq/devices/monitoredqueue.pyx to zmq/devices/monitoredqueue.c
[  113s] Traceback (most recent call last):
[  113s]   File "setup.py", line 1350, in <module>
[  113s]     setup(**setup_args)
[  113s]   File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
[  113s]     dist.run_commands()
[  113s]   File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
[  113s]     self.run_command(cmd)
[  113s]   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
[  113s]     cmd_obj.run()
[  113s]   File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
[  113s]     self.run_command(cmd_name)
[  113s]   File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
[  113s]     self.distribution.run_command(command)
[  113s]   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
[  113s]     cmd_obj.run()
[  113s]   File "setup.py", line 1196, in run
[  113s]     return build_ext_c.run(self)
[  113s]   File "/usr/lib/python2.7/dist-packages/Cython/Distutils/old_build_ext.py", line 185, in run
[  113s]     _build_ext.build_ext.run(self)
[  113s]   File "/usr/lib/python2.7/distutils/command/build_ext.py", line 340, in run
[  113s]     self.build_extensions()
[  113s]   File "setup.py", line 1185, in build_extensions
[  113s]     return build_ext_c.build_extensions(self)
[  113s]   File "/usr/lib/python2.7/dist-packages/Cython/Distutils/old_build_ext.py", line 192, in build_extensions
[  113s]     ext.sources = self.cython_sources(ext.sources, ext)
[  113s]   File "/usr/lib/python2.7/dist-packages/Cython/Distutils/old_build_ext.py", line 343, in cython_sources
[  113s]     compile_time_env = cython_compile_time_env)
[  113s]   File "/usr/lib/python2.7/dist-packages/Cython/Compiler/Main.py", line 566, in __init__
[  113s]     options['language_level'] = int(directives['language_level'])
[  114s] ValueError: invalid literal for int() with base 10: '3str'
[  114s] E: pybuild pybuild:283: build: plugin distutils failed with: exit code=1: /usr/bin/python setup.py build

Fixed by https://github.com/zeromq/pyzmq/pull/1358


Someone add the hacktoberfest topic to this repo and the RobustToolbox repo

Description

Yes I needed to make this an issue.

here come the "helpful" prs


Allow for setting hipchat from attribute

I am new to python and to ElastAlert, so I didn't so any bounds checking. This code assumes that users won't set a string that is longer than 64 characters. See https://www.hipchat.com/docs/apiv2/method/send_room_notification. Empty string is allowed according to that page.
@Qmando: Is there an easy way to run tests on this project, perhaps in a docker container. I prefer not to install python or any other language on my system (docker is good at doing that on a per-project level).
I saw the tox target in the Makefile, but my computer certainly doesn't have that installed either. Any chance you could outline how to get a test environment set up? I could probably whip up a docker target for running tests.

@bean5
Maybe something like
FROM ubuntu:latest
WORKDIR /home
RUN apt-get update
RUN apt-get -y install python-setuptools python2.7 tox git
RUN easy_install pip
RUN git clone https://github.com/Yelp/elastalert ( or ADD the source code)
WORKDIR /home/elastalert
CMD ["tox"]

I figured out how to run the tests and get the table. Here is the before and after. I ran twice to be sure. I guess I broke some cases. How do I find out the details of which failed? I haven't had to fix any before in this framework.
 Weird.
The output should look like what Travis outputs: https://travis-ci.org/Yelp/elastalert/builds/165034466

I dockerized the testing. You can see that code at https://github.com/Yelp/elastalert/pull/758. It depends on docker-compose.

Turns out I had removed the dependency between requirements-dev.txt and requirements.txt...I'm a python n00b. Going to retest.


@map for table fields is incorrect

When  I set map `action` to `map_action` on database level it's not when generate.
As you see it should me map_action not action

Hey there. I spent some time looking into this and it seems like Prisma don't provide information about field mappings to generators. Check out this issue: https://github.com/prisma/prisma/issues/3998. For the time being, I don't think there's any reasonable way to support this. Sorry about that 😞
In the meantime, you should just be able to call the field map_action. I know it's ugly to have a single snake case field... but probably better than not having access to the field at all?
Awesome to have someone like you using the library and reporting issues. It's super valuable, thank you again 😄

I've added a section to the README that explains this

Please make sure to leave a comment on https://github.com/prisma/prisma/issues/3998 that mentions that this leads to a limitation in your custom generator - we will take this into account with prioritization. Thanks.

I was just working on a generator myself, and it looks like this does exist - DMMF.Field has a property that gets filled out with @map statements called dbName. Note that it's incorrect on the typings, which denote it as an array called dbNames. I have a pending PR for that

@luxaritas Awesome, thanks for letting me know. I'll look into this.

I've made a first pass at adding support for this in pr #22. Here's a snapshot version for you guys to try: 0.0.0-snapshot-20230420160205. @annibuliful

Thank you so much


Minor updates

@rlagh2 : Thanks for your contribution! The author, @aahill, has been notified to review your proposed change.

After following up with @rlagh2, we're going to hold off on these for now.
#please-close


updated index with This is my contribution L18.

WOOOH CONTRIBUTIONS

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

tryiiing


looing forward to your training code

Thanks!

im looking forward too

I'm looking forward too! Excellent work!

催更~

any estimate on when the training code comes - within weeks or months?


Rematerialisation Power / Argus

The power works on elites and units with Resistant Skin, if you are yet to summon legion  or have yet to take The Sunwell these units then become "stuck" in Argus with no reasonable way to get out. I imagine quite frustrating for the player to have limited units stuck somewhere.

Just removing the investigation tag as bugs have their own column in the Bug tracker Project for that.

Ok, so definitely a bug - the tooltip says it doesn't work on Limited units but it actually does.

Unassigning myself just in case anyone wants to pick these up, but I will do this if nobody else does.


[Bug]: DLL Not Found

All of the following criteria must be met

[X] All Requirements must be installed.
[X] Full Latest.log file included. If no file exists then leave this unchecked and state so.

All of the following are optional to answer

[X] Tried reinstalling the Game.
[X] Tried reinstalling MelonLoader.
[X] Tried restarting PC.
[ ] Was able to see the Start Screen.

Describe the issue.
I install melon loader for Punishing:  Gray Raven and it seems that's DLL files is missing, but I don't know which
default log (this log don't catch the error)
Latest.log
I succeed to copy the error directly from the terminal
log.txt
Did you attach your log file?

[X] Yes, I attached my log file to the text box above.
[ ] No, I could not find a log file at {Game_Directory}\MelonLoader\Latest.log

I fixed the issue
I just simply downgrade from version 0.6.1 to version 0.5.7

Same for me

same, Internal Failure: failed to load the original dll. Solved by downgrading.


Clickable Link to Socials

Link to both github and linkedin.

I forgot to add GitHub icon and link


Create a list of test cases

Is your feature request related to a problem? Please describe
We have greatly improved with automated tests in the recent weeks.
To make it easier for people to manually test Alby functionality (and potentially also to automate more of those test workflows) we should document the major test cases.
The test case should include what a user needs to do and what the expected outcome is.
I've created a wiki page for this:
https://github.com/getAlby/lightning-browser-extension/wiki/Extension-Manual-Test-Cases

Together with @dvoroneca we created a list of scenarios
If somebody has something to add, please do
SCENARIOS
As a new user I want to know what is Alby?
As a new user I want  to start using Alby (onboarding)
As existing logged-in user I want to continue using Alby
As existing logged-out user I want to continue using Alby
As user I want to add funds to my Alby account
As user I want to send funds to service (3 different types of connection)
As user I want to receive payment
As user I want to review my past transactions
As user I need help with Alby
As a user I want to change the app theme
As a user I want to enable tipping
As a user I want to change language (doesn’t work)
As a user I want to send funds to QR code
As a user of old wallet I want to recoup my funds
As a user i want to allow Alby to charge me without additional confirmation
As an advanced user I want to connect node
(Alby Portal)
As an advanced user I want to get API Token
As a user I want to change my account passward
As a podcaster I want to give my listner an opportunity to donate as they listen
As a user I want to connect another wallet
As a user I want to update my email
As a user I want to update my password
As a user I want to log out
As a user I want to send additional data (my name and email) with my payment
As a node creater I want to connect node with existing wallet
As contant creator I want to recieve contributions on my own website
As a user a want to give a feedback
As a user I want to switch account
As a user I want to add new account
As a user I want to hide my wallet (lock)

Great list. A possible next step could be to prioritize them (percentage of users that do this) and group them by phase of the usage life cycle. That makes it then easier to match it against design and what to work on.

Exactly! We have already started to create scripts for the most prioritized ones here:

Planning to create block schemes on them afterwards
As well we gonna have a list of prioritized bugs to be fixed

https://github.com/orgs/getAlby/projects/11/views/1?visibleFields=["Title"%2C9499599%2C9499458%2C"Assignees"%2C9499392%2C"Status"]

When can this issue be closed? What's the expected further outcome if any?

@escapedcat I'm working on the Wiki to create scripts for test cases that we'll test later. But the issue itself may be closed as I can see I'm the only one editing it anyways, so it not really needed

No, that's cool. Paste the wiki page here when it's done and then we'll close it.

https://github.com/getAlby/lightning-browser-extension/wiki/Extension-Manual-Test-Cases


Switch input language with Caps Lock

Description of the new feature / enhancement
Switch input keyboard layout to default (set by user) with Caps Lock tap, and if it's already default, switch it to last used non-default layout. To use Caps as Caps, press and hold for some time.
Scenario when this would be used?
It would be useful when having more than two keyboard layouts or languages, cycling through all languages every time is not handy.
Supporting information
Basically it's just like on macOS, and it would be already fine if it will work like on mac, and if make default layout user-definable it would be even better

/dup #22059


[Experimental] Scaled Dot Product Attention FlashAttention Algorithm Conversion

Utilize flash attention algorithm to optimize the performance of attention

support flash attention + python API


Third-party library example

Is there an example on using a third-party library, for example a Jar file? The documentation here above is too brief and I haven't been able to reference external Jar files on VS Code - Maven. For example, how to include the reference in the pom.xml file? An example would be appreciated.

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

ID: 5e85de04-2f8b-68ea-eeb9-dcc65f216332
Version Independent ID: db26953c-f234-3828-4c38-493ad410e25a
Content: Java developer reference for Azure Functions
Content Source: articles/azure-functions/functions-reference-java.md
Service: azure-functions
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

@donquijotedelamancha Please checkout this repo for Java Function reference

@donquijotedelamancha In a maven project, all the dependencies are handled by pom.xml. We can use either maven repositories to download the dependencies or you can add it from your local directory. The following can be done install jar to local maven repository.
References:
http://maven.apache.org/general.html#importing-jars
https://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
mvn install:install-file
  -Dfile=<path-to-file>
  -DgroupId=<group-id>
  -DartifactId=<artifact-id>
  -Dversion=<version>
  -Dpackaging=<packaging>
  -DgeneratePom=true

Where: <path-to-file>  the path to the file to load
       <group-id>      the group that the file should be registered under
       <artifact-id>   the artifact name for the file
       <version>       the version of the file
       <packaging>     the packaging of the file e.g. jar

@KetanChawda-MSFT the mvn install step worked. Thanks a lot for the patience and amazing help! I continue towards my first Java Azure Function...

@donquijotedelamancha Thank you for confirming. I am glad that it helped.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion.


Remove the need to confirm SmartTags

From the retreat: possibly not intuitive/obvious that a user needs to manually confirm the Smart Tag suggestions => remove the need to confirm SmartTags.

After discussing; The confirmation is important to not accidentally add random tags. Issue is obsolete


Proxy authentication using Kerberos

Describe the feature
We recently moved from the C++ SDK for improved proxy support when working with secure traffic in the C# SDK. It seems that the C# SDK does not support proxy authentication using Kerberos.
Use Case
The SDK should be able to connect correctly on a network that uses a proxy that intercepts TLS traffic and uses proxy authentication using Kerberos.
Proposed Solution
No response
Other Information
No response
Acknowledgements

[ ] I may be able to implement this feature request
[ ] This feature might incur a breaking change

AWS .NET SDK and/or Package version used
3.7
Targeted .NET Platform
.NET 6
Operating System and version
Windows

Kerberos is not supported directly, but you have access to how the HttpClient is created.
This blog post has details on how to authenticate with Kerberos using .NET, you should be able to do something similar using the SDK's HttpClientFactory:
using Amazon.Runtime;
using Amazon.S3;
using System.Net;

class KerberosClientFactory : HttpClientFactory
{
    public override HttpClient CreateHttpClient(IClientConfig clientConfig)
    {
        var credentialsCache = new CredentialCache { ... };
        var httpClientHandler = new HttpClientHandler { ... };

        return new HttpClient(httpClientHandler);
    }
}

var s3 = new AmazonS3Client(new AmazonS3Config
{
    HttpClientFactory = new KerberosClientFactory()
});
await s3.ListBucketsAsync();

This re:Invent talk from last year has more details on HttpClientFactory: https://www.youtube.com/watch?v=t3swORUjuBk&t=683s

We are looking for a built in solution for this and not to have to implement kerberos ourselves.
We are requesting this to be reopened as directed by Mike Lauenstein


Confusing test coverage numbers for conditionals

Testing #24160
I added some always false conditionals and am confused by the numbers being listed for coverage. Here's the code:
def increment(x):
    """Increment x by 1, but not above 10."""
    return x + 1

def decrement(x):
    """Decrement x by 1, but not below 0."""
    if False:
        return x - 1
    if False:
        return x - 1
    if False:
        return x - 1
    if False:
        return x - 1
    if False:
        return x - 1
    if False:
        return x - 1
    if False:
        return x - 1

    return 0

This shows 100% coverage with zero branches

I know the code in these conditionals isn't reachable but these numbers seem misleading

This comes from coverage.py and how it works so this is an upstream issue more with coverage in general. Closing as its not something I can control


Keep our upstream/master

by using Protected Branch.

:+1:

lgtm

I applied it. Now we can't push upstream/master directly and we must pass travis-ci :)


Testcafe fails to load a javascript and the network fails with 500 error on newer versions

What is your Test Scenario?
Creating the issue in connection to this question in stackoverflow.
The test scenario is just clicking on a page that loads several javascript files with http calls and the one of js file of size 6.6. mb fails with an error code 500 and the application fails to load.
What is the Current behavior?
I have testcafe tests working fine until version 1.14.0 and with the upgrade of the version to the latest (> 1.14.0), the tests have started to fail and the from console/network calls of the browser, I could see that one of the call to get the js file, has failed with 500 Internal server error and a blank white screen was loaded.
What is the Expected behavior?
The tests should be running as the tests run in 1.14.0
What is your web application and your TestCafe test code?

Build the application local following the procedures as described here.

Your complete test code:
Test code

Steps to Reproduce:

Start the application as described and create an user with password and replace in the script.
Execute this command : testcafe 'chrome' test.js --assertion-timeout 10000 -u -e -q
See the error in console that the loading of the script has failed with the latest test cafe versions.

Your Environment details:

testcafe version:                   >1.14.0
node.js version:                    v14.15.0
command-line arguments:  testcafe chrome -e test.js
browser name and version: Chrome 92
platform and version:          Windows

Thank you for your report. I reproduced the issue with TestCafe v1.15.0. However, the test is passed successfully with v1.15.2. So, try to update TestCafe to the latest version.

not always the tests pass and especially in CI with the updated the testcafe version, the test just hangs and nothing proceeds further. Tried to test the same in a windows machine locally, and i observe the issue described, the application does not load.

I ran the test above with two TestCafe versions:

TestCafe v1.15.1 - failed:

TestCafe latest v1.15.3-rc.1 - passed:

In the first case, the application is launched, but the test fails after the navigateTo action. With the newest TestCafe version, it works properly on my side. Could you clarify if you see the same error as in the first screenshot? If the problem looks different, please attach a screenshot or capture a video to illustrate it.

Tests are working fine with 1.15.3. Will post a comment if the issue is experience again. thanks for the help.

What is the Current behavior?
I have the same problem as mentioned here with testcafe in version 1.19.0, did the upgrade to the latest version 2.2.0 and the problem continues.  The .js that can´t be loaded is this:
 <script src="https://test.frontier7.com/chunk/chunk-BZA67JWP.js"></script>
Put the script in a new React project and Testcafe also gave the same error.

What is the Expected behavior?
The URL put in .page() should redirect to Login but instead I see the behavior describer here. Also tried to do Login first and then navigate to the project and the behavior is the same.
What is your web application and your TestCafe test code?
import { Selector } from "testcafe";
fixture('CreateProject')
  .page('https://test.frontier7.com/project/63adf96c785a40eb5d88a835/build')

test('log-in and do stuff', async t => {
  await t.wait(10000);
  const email_input = Selector('input[type="text"]');
  const password_input = Selector('input[type="password"]');
  const submit = Selector('button[type=submit]');
  const email = "email_password";
  const password = "user_password";

  await t.typeText(email_input, email, { replace: true })
  .typeText(password_input, password, { replace: true })
  .click(submit);

  await t.wait(10000000); //just to inspect browser console
});

Steps to Reproduce:
Run the test
Environment details:
testcafe version: >2.2.0
node.js version: v18.13.0
command-line arguments: testcafe chrome -e test.js
browser name and version: Chrome 108
platform and version: Windows

Hi @Chramox
I reproduced the issue and created a separate github issue for it: 7461
Let's continue our discussion there.


is there anyway to visualize mAP through DetVisGUI?

I am using some test images to see results for faster_rcnn using DetVisGUI (https://github.com/Chien-Hung/DetVisGUI ). I am able to visualize the results as shown in the figure. In addition to this i also want to see the eval mAP like we usually see when evaluating the model. I would really appreciate your help.

The mAP is used to evaluate the performance of the model on the whole dataset and you can get it with tools/test.py


Error when trying to use powershell 7.1 as default shell of ubuntu 20.04 in wsl

Steps to reproduce
Install powershell 7.1 in wsl ubuntu 20.04, then run the following command:
chsh -s /usr/bin/pwsh

Restart wsl, and an error will occur.
Expected behavior
Start powershell in wsl ubuntu 20.04 normally.
Actual behavior
An error occured:
: 6: export: (x86)/Dev-Cpp/TDM-GCC-64/bin:/mnt/c/Program: bad variable name

(Maybe pwsh will load all Windows PATH before running wsl, C:\Program Files (x86)\Dev-Cpp\TDM-GCC-64\bin is the first in my PATH)
Environment data

Name                           Value
----                           -----
PSVersion                      7.1.0
PSEdition                      Core
GitCommitId                    7.1.0
OS                             Linux 4.4.0-19041-Microsoft #488-Microsoft Mon Sep 01 13:43:00 PST 2020
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

@HCl-10 I had problem with WSL and PATH which contain (Program Files) to compile OpenWrt, so I am sure it's a PowerShell Issue. see https://github.com/microsoft/WSL/issues/1640#issuecomment-713966706

@daxian-dbw may have more info on this.

/cc @rjmholt

Any ideas on this one?  I have the same issue.  I've got Ubuntu 20.04 WSL and the apt package install of powershell 7.1.X gives me the following error when configured as my shell: : 6: export: (x86)/Microsoft: bad variable name.
Oddly, if I install the dotnet global tool: sudo dotnet tool update --tool-path /usr/local/bin powershell and use that location as my shell I do not get this error.
I'd prefer to use the APT install, especially since the nuget tool package is a few days late with the 7.1.4 update and it would just feel more natural to use the APT install.

As noted in #14640, the problem is probably that something is trying to
export PATH=...

and the ... is not quoted correctly for the current shell, so the first thing that has a space before it, and doesn't look like a valid shell env-var name, i.e. (x86)/Microsoft or (x86)/Dev-Cpp/TDM-GCC-64/bin:/mnt/c/Program, causes this error.
I would guess that PowerShell is being asked to evaluate a bash script, and differences in quoting behaviour (not a bug) are breaking this. So not really a PowerShell issue, unless reading the script is a built-in PowerShell behaviour.
I think it's much more likely it's a WSL issue, that (per https://github.com/microsoft/WSL/issues/1640#issuecomment-713966706) WSL's appendWindowsPath feature is assuming bash is the shell when it appends that path, and hence the quoting is incorrect when PowerShell is the shell.

Any suggestions of how I might debug this?  The error message isn’t super helpful.
Also, why the dotnet global tool install works but the apt package doesn’t?  I’m guessing some configuration that comes with the apt package but not with the global tool?

Assuming disabling appendWindowsPath avoids the issue (at the cost of not having Windows's $PATH in the WSL $PATH, then the problem is probably in the appendWindowsPath implementation, which might have magic to detect PowerShell, but it is failing for the APT-installed version.
It's also possible that the reason it works with the global tool version is that the global tool version has known issues in command-line parsing and quotes, e.g. #11747, and those issues coincide with the appendWindowsPath implementation to work (or at least not-fail).
One other thing to check. Does appendWindowsPath actually work with the gobal tool install? You've mentioned that it doesn't give the error, but I don't know if that means that appendWindowsPath is successful, or if it's just failing in a way that doesn't produce an error.

This seems to be caused by an issue in Ubuntu in /etc/profile.d/apps-bin-path.sh.  It sounds like apps-bin-path.sh has been fixed in 21.10 but Ubuntu on WSL is still 20.04.
Work-around: https://github.com/PowerShell/PowerShell/issues/9842#issuecomment-979325295


Linking issues

Dear Developers,
I found some minor local linking issues with the documentation I list below, sorted by sections:

1. Jump to the Hot Topics

[x] "Document Database" does not work
[x] "Key/Value" does not work
[x] "Time Series" does not work
[x] "Apache Gremlin (Apache Tinkerpop v3.4.x)" does not work
[x] "MongoDB Query Language" does not work
[x] "Embedded" does not work
[x] "HTTP/JSON" does not work
[x] "Postgres driver" does not work
[x] "MongoDB driver" does not work
[x] "Redis driver" does not work
[x] "Java Tutorial" does not work

2. Introduction

[x] "2.2.2 Document Model": "[types](Concepts.md#type)" is md instead of asciidoctor syntax
[x] "2.2.2 Document Model": "Link" does not work

3. Main Concepts

[x] Why does this section not have sub-section numbers?
[ ] "Types": "configurable strategy" does not work
[x] "Transactions": "[consistent](#consistency), [isolated](#isolation) and [durable](#durability)" are md instead of asciidoctor syntax
[x] "Transactions": "ACID" do not work (twice)
[x] "Inheritance": Should "OrientDB" be here "ArcadeDB"?
[x] "Declaring Inheritance Schema": "[POJO’s](../java/Object-DB-Interface.md#inheritance) and [Documents](../java/Document-Database.md)" are md instead of asciidoctor syntax
[x] "Using Polymorphic Queries": Should "OrientDB" actually be here "ArcadeDB"? (twice)

4. Security

[ ] "4.1 Server": "Security Policy" does not work
[x] "4.5 Settings": "Appendix A" does not work

6. Tools

[x] "6.6 Downgrade to older version of ArcadeDB": [https://semver.org/,semantic versioning] seems to be wiki instead of asciidoctor syntax

8. SQL

[ ] "expand()": "UNWIND" is pointing to a non-existing target.

11. Apendix

[ ] 11.1 Data Types: "Managing Dates" is pointing to a non-existing target.

Thanks Christian for the detailed missing parts, I'll fix all of them soon.

@lvca I could start fixing some of these linking issues: A recurring issue is that sometimes labels are set but not used, so I would need to know if you prefer to have (custom) labels for sections potentially yielding "nicer" URL fragments, or the auto-generated label from the section title?

For the remaining issues in Sections 3,4, and 11 you would have to take a look, but none of those is too urgent I would guess.

I think the recent update broke a few links across the SQL commands documentation, e.g. the new custom label for "SQL Select" linked from:
https://github.com/erickj/arcadedb-docs/blame/fix-sql-links/src/main/asciidoc/sql/chapter.adoc#L13
I had actually started a change to fix these links myself here, https://github.com/erickj/arcadedb-docs/commit/1557a9bd24a61342c3e4f600c33caa31fd45fafc
but then I discovered that this issue existed, and it was actually moving towards custom labels for the doc sections, I had gone in the opposite direction using the standard adoc labels and realized I had undone some of the recent changes.
Is custom labels the standard for all the SQL keywords & functions? if so I'm happy to contribute another CL fixing up all the tables and internal document links, because at the moment many links are broken through the SQL docs and it makes navigating a pain.
e.g. on https://docs.arcadedb.com/#_sql-truncate-type all the links to "DELETE" and "TRUNCATE  BUCKET" are not right

@erickj it would be awesome if you could send a PR with the fixes. We prefer custom labels if possible, because the anchor is more user friendly. Thanks in advance!

FYI, I've addressed issue 8 re: "UNWIND" linking to a non-existing target


Update Whim core to use immutable ILayoutEngine classes

[x] Remove ILayoutEngine
[x] Workspace
[x] WorkspaceManager
[ ] Replace all Immutable class and file name references
[ ] Remove old TreeLayoutEngine plugin
[ ] TODOs
[ ] Tests

FloatingLayoutPlugin no longer listens to IWindowManager.WindowMoved - hopefully MoveWindowToPoint -> AddAtPoint catches it.


Flutter Gallery alpha: Data tables filter outside the table

Steps to Reproduce

Install the Flutter Gallery alpha from the Play store
Open the app & navigate to Material Components: Data tables
Scroll to the bottom
The filter on the bottom left is outside the table

This is working as intended -- the row can be scrolled.
cc @willlarche who may have ideas for what we should do instead of making the row scrollable?

Moving to m4 since this doesn't match our m3 criteria.

@willlarche Let me know if we get any specific guidance on this, otherwise in the meantime I'm going to leave this as-is on the basis that it's working as intended.

Requesting guidance. Stand-by.

Here's a design. Is this sufficient?

Thanks. Is there a formal spec for this? (e.g. saying what the minimum width should be before we just report overflow because of a poorly-written UI, what we should do in different languages for the word "items", what we should do when the table is wider, etc)

No there isn't. Whomever is assigned to the work will need to have a proper kick-off with the designer.

Hey @willlarche, do you have the source code of the design that you posted?
If you could link the repository I would be so greatful, thanks!

These are designer mocks actually.
On Thu, Jan 2, 2020 at 8:20 AM Lucas Alves<EMAIL_ADDRESS>wrote:

Hey @willlarche https://github.com/willlarche, do you have the source
code of the design that you posted?
If you could link the repository I would be so greatful, thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/14595?email_source=notifications&email_token=AAJWNZKMJPIQKSQZM4JE6VLQ3XSY3A5CNFSM4EQA2YJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH6KHPY#issuecomment-570205119,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJWNZJXQCNAVTUHSXSM2T3Q3XSY3ANCNFSM4EQA2YJQ
.

Closing since this seems to be fixed


Twilio token error

Describe the bug
When I put the twilio token and I request to save, I receive this error:
invalid UpdateSMSProviderTwilioRequest.Id: value length must be between 1 and 200 runes, inclusive
Expected behavior
Accept the Twilio configuration.
Screenshots

Desktop (please complete the following information):

OS: MacOS
Browser: Chrome
Version: 103.0.5060.114

Zitadel Version: v2.0.0-v2-alpha.39-amd64
Ps.: I tried older version and I got the same error.

hi @MLStoltzenburg
Thank you for your information. We will have a look at this and get back to you.


Workflow that creates an issue with available updates

Depends on https://github.com/krzema12/github-actions-kotlin-dsl/pull/170

@krzema12 conflicts solved


The Help LBRY save crypto update

Description

Added "as featured on techcrunch, etc." on the bottom, help lbry save crypto banner, and updated some stylesheet

we're not going to use the "Help LBRY Save Crypto" header and it also includes an update to PHP 8
if you want to submit a PR with just the "as featured on" update, we'd accept that

copy. @kauffj I didn't see that


Follow up to incorporate feedback from Vy and Ian for #11968.

Also fixes SQL feature support table for #12148.

This change is

v21.2/expression-indexes.md, line 138 at r2 (raw file):
Previously, vy-ton (Vy Ton) wrote…
The EXPLAIN output here should be without the index hint
The example flow is:

Show EXPLAIN for query with full scan
Create index
EXPLAIN should show that the optimizer uses the new index without the @timestamp_idx index hint

If I run w/out the index hint it does a full scan:
EXPLAIN SELECT jsonb_pretty(user_profile) FROM users WHERE parse_timestamp(user_profile->>'birthdate') = '2011-11-07';
info
distribution: full
vectorized: true
• render
│ estimated row count: 1
│
└── • filter
│ estimated row count: 1
│ filter: parse_timestamp(user_profile->>'birthdate') = '2011-11-07 00:00:00'
│
└── • scan
estimated row count: 3 (100% of the table; stats collected 3 days ago)
table: users@primary
spans: FULL SCAN
(14 rows)
@mgartner Is that expected?


Temporary fix to local_dataflow_boost_small_vector test

"Fixes" #3808. This sets the allocator explicitly in the test to avoid problems with dataflow not knowing what to do with a void allocator.
@hkaiser I'd be happy with this as a solution for the release to not have to rush in a proper fix.
I'm also tempted to say that this isn't even our problem since standard containers don't support void as an allocator either, but you're a better judge than I am of how bad this is and what we can reasonably do to support it.

Just for the record, before and after (since I haven't updated pycicle to have a Boost 1.70 builder).
All right, then let's go ahead with this for now.


Accuracy error: Users can't park 24 hours a day (at least in Sunderland)

@sanjaypoyzer I'm not sure about if these changes should be made. By having the permit you are unrestricted by the restricted hours, therefore you can park 24 hours a day 7 days a week. I.e. you can park there all the time, not just in the restricted hours.


IPTV-org

Addon Manifest URL
https://stremio-iptv-org.vercel.app/manifest.json
Addon Description
Iptv.org Stremio Addon
8000+ Searchable Streams
Language of Content
None
Choose Labels

[ ] anime
[ ] asian drama
[ ] bollywood
[ ] cartoons
[ ] debrid support
[ ] http streams
[X] live tv
[ ] metadata
[ ] misc
[ ] movies
[ ] music
[ ] nsfw
[ ] podcasts
[ ] radios
[ ] subtitles
[ ] torrents
[ ] tv shows
[ ] video games

v2 updated and added channel categories


Abstractions project

Created a new abstractions project to hold interfaces and whatnot. For now, I just moved some of the Tracker stuff in there. The game mode interface will go in there, and we can probably slowly pull other things in there over time.

Looks good. I do wonder if some of these new interfaces should be abstract classes instead.

I guess with as many properties as there are here, I suppose abstract classes would make more sense, yeah.

Switched to abstract classes for AutoTracker, Tracker, and the SpeechRecognitionService (due to the event - interfaces don't seem to work well with events that aren't used).
While I was at it, I cleaned up a lot of the warnings that had cropped up in builds since the .net 7 upgrade, most of which were in regards to code being only accessible on Windows.


Refactor (phase 6, part 2) to remove the validation database - load_study called in the validation view

Please review #651 first
Summary Change Description
load_study is now run in --validate mode inside the validation view.  Basically, when run in validate mode, it always raises an exception that contains the load status of every file and includes some file group exceptions.  (The individual exceptions reported by file for the grouped errors are changed to warnings (but kept in the output for cross-reference so that the user can decide to address issues either by file or by (for example) compound (for missing compounds).

In detail, here are the changes in this PR:
The Validation view now creates a stub version of a yaml to be able to run load_study.  To support that...

Added method add_ms_data that adds config data to the study yaml file
Added method add_sample_data that adds config data to the study yaml file
Added method create_yaml to create a study yaml file
Added method validate_study that creates a temporary directory, calls load_study, and returns a MultiLoadStatus object
The validation interface now always copies the file to a temp directory so that it can be co-located with the temporary yaml file.

Improved the display of the validation interface...

Made the file names reported from group exceptions inside package_group_exceptions only refer to the file by name (and not path - because it's to a temporary directory)
Changed the behavior of the validation interface to base pass/warn/fail for each file on AggregatedErrors.is_error (a new attribute) since is_fatal only refers to whether it should be raised - not whether it's an error or warning.  The validation interface uses the exception mechanism to pass load status data to the validation view.
Changed the behavior of the validation to set is_valid to false even if there are only warnings so that the user can decide whether to ignore them.
Created method get_validation_results in order to extract the data needed by the existing template from the MultiLoadStatus object.  The original intent was to change the template to use the MultiLoadStatus object, but in order to nicely decorate the errors and warnings, I decided to keep the original variables passed to the template.
Added an exception type to the data that is passed to the template so that it could be bolded.
Indented the error message under the exception type and excluded the type and exception number from the message so that the page is easier to visually scan.
Changed the notes in the template to an expandable list of help tips.
Group errors and passed files appear at the top.
Created method get_ordered_status_keys

Created grouped related errors to enable users to address exceptions by type instead of by file (because the same error can come from multiple files)...

Formatted the AllMissingCompounds exception better

Improved error reporting on the command line...

Added a numbered parameter to get_buffered_exception_summary_string so that it could optionally prepend the error with the exception number (and type)
Raised a SheetMergeError only if there is a cell on the row with a value.  (It still tracks completely empty rows to be able to prevent meaningless or difficult to interpret errors that otherwise pop up after the merge.)
Changed the name of the ExistingMSRun exception to MSRunAlreadyLoadedOrNotUnique to be less ambiguous to users.
Made MissingRequiredValues skip rows involved in a SheetMergeError
Referenced the animal name/ID in the RequiredValuesError to provide better context than the row numbers (which can be erroneous when there's a SheetMergeError or animals belonging to multiple studies).  To do this, I created a separate exception class names RequiredSampleValuesError, whose constructor optionally takes the animal ID header name.  The missing_values dict is also structured differently.

Bug fixes from part 1...

Fixed a KeyError bug in the compilation of missing compound data in load_study
Added the missing validate parameter to the call to load_animals_samples in load_study
Fixed a bug where success statuses were not being passed to the validation interface.  This meant that the load_study script now always raises a MultiLoadStatus exception when in validate mode and raises an AggregatedErrorsSet exception if there are actual errors when NOT in validate mode.  --dry-run mode thus will only raise a DryRun exception if there were no errors.
Fixed a bug in the indexing of missing_compound_exception.compounds_dict
Passed the validate option to load_animals_and_samples in load_study.py
Added calls to self.load_statuses.init_load in load_study to retain passed statuses for reporting in the validation interface.

Misc...

Improved the comments and warning content of maintained_model
Renamed handle_grouped_exceptions to create_grouped_exceptions and made it not raise an exception in any case.
Removed the unnecessary try block around load_study's outer atomic transaction.

Previous Phases

Phase 1

[x] 1. Load scripts generate as many actionable errors as possible in 1 run
[x] 2. If a load action in the script requires input involved in a previous error, skip that load action
[x] 3. Make it possible to control the verbosity of the loads
[x] 4. Raise error on unknown headers

Phase 2

[x] 5. Make it possible to defer mass auto-updates outside of the load scripts (so it can be run by either load_study or load_study_set)

Phase 3

[x] 6. Dry-run mode has no database side-effects when there's an exception or when run in dry run mode (and specifically when not run in --validate mode)

[x] 6.1. Wrap loading code in an atomic transaction

Phase 4

[x] 7. Validation page works by running in dry-run mode on the main database

Phase 5

[x] 8. Remove the validation database

[x] 8.1. Remove .using(db), .save(using=db), and if self.db == settings.TRACEBASE_DB: rec.full_clean()
[x] 8.2. Revert database settings
[x] 8.3. Update docs

Current Phase

Phase 6

9. Add the ability to run load_study inside the validation interface instead of just individual loaders

[x] 9.1. Add AggregatedErrors to load_study
[x] 9.2.

Code Review Notes
Will push test fixes soon...
More to come...
Checklist

[x] Updated changelog
[x] All issue requirements satisfied (or no linked issues)
[x] Linting passes.
[x] Migrations created & committed (or no model changes)
Tests

[x] Tests implemented (or no code changes)
[x] All example load tests pass (remotely) (or their failures predated and are unrelated to this branch)

Merged in a branch with tests and a few minor fixes of some related and some unrelated things.

The conflict resolution here seems confusing, so I'm just going to wait until the parent branch is merged before attempting to resolve it.

All tests pass and I re-applied outdated comments.  We're good to go.

Merge when you are ready.

Are you suggesting I merge without either Fan or John performing a review?  I made the suggested updates to merge_object.  Once those tests/lints are done, I can merge, if that's the case.

Merge when you are ready.

Are you suggesting I merge without either Fan or John performing a review? I made the suggested updates to merge_object. Once those tests/lints are done, I can merge, if that's the case.

No, I just meant that I'm approving it and leaving it to you to decide how to address the comments.

b. Just so I don't forget...

[ ] TODO: Run the loading code on ALL of the current data on dev.

There were 3 studies with errors:

#72
#73
#74

But, I realized that there are some changes to load_study_set I forgot to make that affect running the load as a curator, so I will be putting out another PR shortly that should be the final one in this series.


Create fundamentals overview

Fixes #2343
This also fixes the Fundamentals/Servers submenu so it follows the .NET Core TOC pattern.

:x: Validation status: errors

File
Status
Preview URL
Details

aspnetcore/client-side/yeoman.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/environments.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/error-handling.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/hosting.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/index.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/owin.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/request-features.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/servers/index.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/servers/overview.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/servers/toc.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/toc.md
:white_check_mark:Succeeded

aspnetcore/index.md
:white_check_mark:Succeeded

aspnetcore/intro/index.md
:white_check_mark:Succeeded

aspnetcore/migration/rc1-to-rtm.md
:white_check_mark:Succeeded

aspnetcore/toc.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:x: Validation status: errors

File
Status
Preview URL
Details

aspnetcore/client-side/yeoman.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/environments.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/error-handling.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/hosting.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/index.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/owin.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/request-features.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/servers/index.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/servers/overview.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/servers/toc.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/toc.md
:white_check_mark:Succeeded

aspnetcore/index.md
:white_check_mark:Succeeded

aspnetcore/intro/index.md
:white_check_mark:Succeeded

aspnetcore/migration/rc1-to-rtm.md
:white_check_mark:Succeeded

aspnetcore/toc.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:x: Validation status: errors

File
Status
Preview URL
Details

aspnetcore/client-side/yeoman.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/environments.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/error-handling.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/hosting.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/index.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/owin.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/request-features.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/servers/index.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/servers/overview.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/servers/toc.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/toc.md
:white_check_mark:Succeeded

aspnetcore/index.md
:white_check_mark:Succeeded

aspnetcore/intro/index.md
:white_check_mark:Succeeded

aspnetcore/migration/rc1-to-rtm.md
:white_check_mark:Succeeded

aspnetcore/toc.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:x: Validation status: errors

File
Status
Preview URL
Details

aspnetcore/client-side/yeoman.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/environments.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/error-handling.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/hosting.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/index.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/owin.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/request-features.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/servers/index.md
:white_check_mark:Succeeded

aspnetcore/intro/index.md
:white_check_mark:Succeeded

aspnetcore/migration/rc1-to-rtm.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

aspnetcore/client-side/yeoman.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/environments.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/error-handling.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/hosting.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/index.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/owin.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/request-features.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/servers/index.md
:white_check_mark:Succeeded

aspnetcore/intro/index.md
:white_check_mark:Succeeded

aspnetcore/migration/rc1-to-rtm.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

aspnetcore/client-side/yeoman.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/environments.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/error-handling.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/hosting.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/index.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/owin.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/request-features.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/servers/index.md
:white_check_mark:Succeeded

aspnetcore/intro/index.md
:white_check_mark:Succeeded

aspnetcore/migration/rc1-to-rtm.md
:white_check_mark:Succeeded

aspnetcore/toc.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

aspnetcore/client-side/yeoman.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/environments.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/error-handling.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/hosting.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/index.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/owin.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/request-features.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/servers/index.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/servers/overview.md
:white_check_mark:Succeeded

aspnetcore/index.md
:white_check_mark:Succeeded

aspnetcore/intro/index.md
:white_check_mark:Succeeded

aspnetcore/migration/rc1-to-rtm.md
:white_check_mark:Succeeded

aspnetcore/toc.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

aspnetcore/client-side/yeoman.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/environments.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/error-handling.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/hosting.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/index.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/owin.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/request-features.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/servers/index.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/servers/overview.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/servers/toc.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/toc.md
:white_check_mark:Succeeded

aspnetcore/index.md
:white_check_mark:Succeeded

aspnetcore/intro/index.md
:white_check_mark:Succeeded

aspnetcore/migration/rc1-to-rtm.md
:white_check_mark:Succeeded

aspnetcore/toc.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@Rick-Anderson Please review - when testing note that TOC changes are sometimes not rendered due to caching, you may have to hard refresh several times.


Submitting malware and non-malware to Microsoft for analysis

Hi,
Please fix the following link:
https://www.microsoft.com/wdsi/filesubmission
When I tried to open, I got - 403 Page Error.
P.S. I can't submitting a new malware samples.

Thank you for the feedback! Because this is not related to docs.microsoft.com, we cannot address the issue in this forum.


[WFLY-10237] Upgrade HAL to 3.0.0.Alpha3

https://issues.jboss.org/browse/WFLY-10237

Retest this please

Failure looks related:
[15:43:42][Step 2/3] Surefire report watcher
[15:43:42][Step 2/3] [INFO] Downloading: http://repository.ci.wildfly.org/content/groups/public/org/jboss/hal/hal-console/3.0.0.Alpha3/hal-console-3.0.0.Alpha3.pom
[15:43:44][Step 2/3] [INFO] Downloading: http://repository.jboss.org/nexus/content/groups/public/org/jboss/hal/hal-console/3.0.0.Alpha3/hal-console-3.0.0.Alpha3.pom
[15:43:44][Step 2/3] [INFO] Downloading: https://repo.maven.apache.org/maven2/org/jboss/hal/hal-console/3.0.0.Alpha3/hal-console-3.0.0.Alpha3.pom
[15:43:44][Step 2/3] [WARNING] The POM for org.jboss.hal:hal-console:jar:resources:3.0.0.Alpha3 is missing, no dependency information available
[15:43:44][Step 2/3] [INFO] Downloading: http://repository.ci.wildfly.org/content/groups/public/org/jboss/hal/hal-console/3.0.0.Alpha3/hal-console-3.0.0.Alpha3-resources.jar
[15:43:44][Step 2/3] [INFO] Downloading: http://repository.jboss.org/nexus/content/groups/public/org/jboss/hal/hal-console/3.0.0.Alpha3/hal-console-3.0.0.Alpha3-resources.jar
[15:43:44][Step 2/3] [INFO] Downloading: https://repo.maven.apache.org/maven2/org/jboss/hal/hal-console/3.0.0.Alpha3/hal-console-3.0.0.Alpha3-resources.jar
[15:43:44][Step 2/3] Failed to execute goal on project wildfly-feature-pack: Could not resolve dependencies for project org.wildfly:wildfly-feature-pack:pom:13.0.0.Alpha1-SNAPSHOT: Could not find artifact org.jboss.hal:hal-console:jar:resources:3.0.0.Alpha3 in brontes-mirror (http://repository.ci.wildfly.org/content/groups/public/)
[15:43:44][Step 2/3] [INFO]
[15:43:44][Step 2/3] [INFO] --------------------------

@hpehl did you forget to deploy it?

@kabir I need to check...

I deployed to the wrong repository. Artefacts should now be in https://repository.jboss.org/nexus/

Retest this please

I need to adjust tests in org.jboss.as.test.integration.management.console

Retest this please

The test which still fails is org.jboss.as.test.integration.jca.metrics.DataSourceCfgMetricUnitTestCase.testStatistics and seems not related to the console upgrade.


OptiX SDK 7.7.0 - FUNCTION_TABLE_MISMATCH

Since i decided to do some testing of OptiX SDK's compiled with CUDA 11.4 to get around that pesky "cudacheck" i cant figure out, i came across a new error.
Caught exception: OPTIX_ERROR_FUNCTION_TABLE_SIZE_MISMATCH: Optix call 'optixInit()' failed
The optixQueryFunctionTable line reads this on SDK 7.6:
trace:nvoptix:optixQueryFunctionTable (68, 0, (nil), (nil), 0x140068470, 376)
and this on SDK 7.7:
trace:nvoptix:optixQueryFunctionTable (84, 0, (nil), (nil), 0x140068470, 384)
So.. Difference in tablesize between 7.6 and 7.7 - Check
https://github.com/SveSop/wine-nvoptix/blob/master/src/nvoptix.c#L83 satisfied - Check
(I also checked that the implementation of ABI84 function table is the same size as the optixQueryFunctionTable call requests, and it matches)
Still the demo/sample code that does this "check" fails..
OPTIX_CHECK( optixInit() );
So.,. CUDA SDK >=11.6 got a new sort of "check" that cant be bypassed, and now OptiX SDK 7.7 got some sort of new "check" that cant be bypassed??? Color me suspicious..... Ideas welcome @Saancreed
PS. The SDK 7.7 samples run fine native Linux, so afaik drivers++ should handle the windows compiled ones just as fine?

I had a look at Nvidia's headers and 384 indeed seems to be the correct table size for ABI version 84 / API version 7.7.0, but right now I'm on 525 Vulkan dev driver which doesn't seem to support OptiX 7.7 (I get ERROR: initOptiX() initOptiXFunctionTable() failed: 7801 which is OPTIX_ERROR_UNSUPPORTED_ABI_VERSION when trying to run intro_denoiser from OptiX_Apps repo on Linux) and I'm waiting for next 535 release before switching to that.
Anyway, this is strange. The implementation of optixInit as seen in https://raytracing-docs.nvidia.com/optix7/api/optix__stubs_8h_source.html can only ever return OPTIX_ERROR_FUNCTION_TABLE_SIZE_MISMATCH if this is what we return from wine-nvoptix, which returns what the native driver returns to us, which… doesn't make any sense.
Have you tried logging what does the native libnvoptix.so return to us?
    OptixResult result;

    switch (abiId)
    {
        case 84:
            result = optixQueryFunctionTable_84(numOptions, optionKeys, optionValues, functionTable, sizeOfTable);
        …
    }

    TRACE("(%d, %u, %p, %p, %p, %zu): ret %d\n", abiId, numOptions, optionKeys, optionValues, functionTable, sizeOfTable, result);

    return result;

If it does give us the OPTIX_ERROR_FUNCTION_TABLE_SIZE_MISMATCH result, then why does it work for native OptiX applications? If it doesn't, then how can this error ever appear for the Windows application running in Wine?
I can try to debug this myself once I untangle my driver situation and then I'll also be able to check how Windows NV driver behaves because I actually have a working installation of Windows 11 on this laptop.

If it does give us the OPTIX_ERROR_FUNCTION_TABLE_SIZE_MISMATCH result, then why does it work for native OptiX applications? If it doesn't, then how can this error ever appear for the Windows application running in Wine?

Well.. it does NOT it seems...
Inserting a dummy call in the "switch" part of nvoptix.c and TRACE the value of ret somewhat like this:
OptixResult ret = OPTIX_ERROR_FUNCTION_TABLE_SIZE_MISMATCH;
ret = poptixQueryFunctionTable(84, 0, 0, 0, functionTable, 384);
TRACE("Return code: %d\n", ret);

Returns 0 -     OPTIX_SUCCESS                               = 0,
Any other number than 384  returns     OPTIX_ERROR_FUNCTION_TABLE_SIZE_MISMATCH    = 7802,
So, from what i am able to gather, the Linux driver returns what we would think.... Atleast from the wine-nvoptix implementation and its call to liboptix.so.

I can try to debug this myself once I untangle my driver situation and then I'll also be able to check how Windows NV driver behaves because I actually have a working installation of Windows 11 on this laptop.

I guess the next step would be to write some small binary just doing this call and check if 384 returns success both in Linux AND Windows? Will see if i can whip something incredibly small together, but i am not really sure where to start, since the demo/sample thingys provided here is nothing near "minor" 😃

Hrmpf... Calling it like this:
ret = optixQueryFunctionTable_84(numOptions, optionKeys, optionValues, functionTable, 384);
fails with 7802...
So.. What error did i make? lol
calling:
ret = optixQueryFunctionTable_68(numOptions, optionKeys, optionValues, functionTable, 376);
returns 0 - Success
So.. Hmm... I am certain i have made MORE typo's some place, and it is not some sinister plan here.. 🤣

One of the issues i have is that afaik i cant run both Visual Studio 2019 and 2022 in the same windows install - and cuda SDK 11.4 is not compatible with VS2022.. thus i could not test OptiX demo's compiled with 2022 and cuda 12.xx (due to the issue with CUDA). But i set up a 2nd windows machine so i can do that now... and this was why i got around to do the actual testing.
Easy fix - should have caught that before - but atleast i got around to do some fiddling with it again 😄
Thanks for doing some checking, and sorry for the noise @Saancreed

No worries, I'm glad you were able to figure that out. I feel like this entire process of dumping wrappers for a new table, hooking it up and updating ABI numbers could be automated somehow to make it a little less error-prone. But that's an adventure for another day :sweat_smile:

No worries, I'm glad you were able to figure that out. I feel like this entire process of dumping wrappers for a new table, hooking it up and updating ABI numbers could be automated somehow to make it a little less error-prone. But that's an adventure for another day 😅

Yeah.. Then again it is not thaaat often its updated SDK wise...
It would probably have been caught if i had not cut corners and ASSUMED it worked without testing due to this pesky "need CUDA < 11.5" thingy.. But will hopefully be a bit more careful next time and actually run newer SDK's compiled with older CUDA 😝


clicli.txt

@ArduinoBot

Hello @galarb. The automated system here only operates on open pull requests. Since your submission was already accepted and the pull request merged, the bot won't pay any more attention to this pull request.
But this human is happy to provide assistance. Was there something you needed from the bot?

We give a conservative estimate that the new release should be available for installation everywhere within one day's time.
You can monitor the process by checking the logs from the Library Manager indexer on the dedicated web page for your library here:
http://downloads.arduino.cc/libraries/logs/github.com/galarb/clicli/
However, even after the tag is shown as processed on that page, there will be some additional delay as the updated index works its way through the CDN and local caches to become available in the Library Manager of the user's IDE.

Thanks for your support,
Another question if I may,
Why are my examples not showing in the file\examples\clicli menu?
Thanks inn advance,

Best Regards,
Gal Arbel
Mobile: +972 502158529
On 9 Oct 2022, at 17:10, per1234 @.***> wrote:
We give a conservative estimate that the new release should be available for installation everywhere within one day's time.
You can monitor the process by checking the logs from the Library Manager indexer on the dedicated web page for your library here:
http://downloads.arduino.cc/libraries/logs/github.com/galarb/clicli/ http://downloads.arduino.cc/libraries/logs/github.com/galarb/clicli/
However, even after the tag is shown as processed on that page, there will be some additional delay as the updated index works its way through the CDN and local caches to become available in the Library Manager of the user's IDE.
—
Reply to this email directly, view it on GitHub https://github.com/arduino/library-registry/pull/1928#issuecomment-1272551132, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUCSL63CZXOUAMV7XA6RXI3WCLG6BANCNFSM6AAAAAAQ2O4D4U.
You are receiving this because you were mentioned.

Because your example is not a valid sketch:
Spaces are not allowed in sketch names.
A sketch is a folder. The folder name must match the primary .ino filename.
Your current invalid attempt at creating an example sketch looks like this:
examples/
└── simple usage.ino

A valid example sketch would look like this:
examples/
└── SimpleUsage/
    └── SimpleUsage.ino

Please take the time to read the Arduino Sketch Specification to learn all about the Arduino sketch format:
https://arduino.github.io/arduino-cli/latest/sketch-specification/


I can't download any song or playlist

I have already try to copy Spotify URL via web page and application and also I have made a second attempt with Deezer but without success.
Here output:
manu@manu-GS60-6QE:~/Music/smd$ ./main.py -dp "https://www.deezer.com/playlist/5852955582?utm_source=deezer&utm_content=playlist-5852955582&utm_term=1409000942_1587411805&utm_medium=web"
Downloading 1 of 50
ERROR: This video is unavailable.
2020-04-20 21:44:11,494 - ERROR - Some problems on classify loop
ERROR: This video is unavailable.
2020-04-20 21:44:13,276 - ERROR - Some problems on classify loop
ERROR: This video is unavailable.
2020-04-20 21:44:14,993 - ERROR - Some problems on classify loop
ERROR: This video is unavailable.
2020-04-20 21:44:16,578 - ERROR - Some problems on classify loop
ERROR: This video is unavailable.
Traceback (most recent call last):
  File "/home/manu/.local/lib/python3.7/site-packages/mutagen/_util.py", line 235, in _openfile
    fileobj = open(filename, "rb+" if writable else "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'cache/D64786125T/D64786125T.mp3'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./main.py", line 771, in <module>
    CLI.main(sys.argv[1:])
  File "./main.py", line 654, in main
    md.downloadByDeezerUrlPlaylistMode(array[i+1], CLI.path)
  File "./main.py", line 441, in downloadByDeezerUrlPlaylistMode
    data=info
  File "/home/manu/Music/smd/editor.py", line 67, in setTags
    ID3=ID3
  File "/home/manu/.local/lib/python3.7/site-packages/mutagen/_file.py", line 49, in __init__
    self.load(*args, **kwargs)
  File "/home/manu/.local/lib/python3.7/site-packages/mutagen/_util.py", line 139, in wrapper
    writable, create) as h:
  File "/usr/lib/python3.7/contextlib.py", line 112, in __enter__
    return next(self.gen)
  File "/home/manu/.local/lib/python3.7/site-packages/mutagen/_util.py", line 256, in _openfile
    raise MutagenError(e)
mutagen.MutagenError: [Errno 2] No such file or directory: 'cache/D64786125T/D64786125T.mp3'

manu@manu-GS60-6QE:~/Music/smd$ ./main.py -sp "https://open.spotify.com/playlist/37i9dQZF1DWTlgzqHpWg4m"
Downloading 1 of 72
ERROR: This video is unavailable.
2020-04-20 21:36:56,081 - ERROR - Some problems on classify loop
ERROR: This video is unavailable.
2020-04-20 21:36:57,848 - ERROR - Some problems on classify loop
ERROR: This video is unavailable.
2020-04-20 21:36:59,623 - ERROR - Some problems on classify loop
ERROR: This video is unavailable.
2020-04-20 21:37:01,344 - ERROR - Some problems on classify loop
2020-04-20 21:37:01,351 - ERROR - Youtube:os.makedirs('cache/'+path)
ERROR: This video is unavailable.
Traceback (most recent call last):
  File "/home/manu/.local/lib/python3.7/site-packages/mutagen/_util.py", line 235, in _openfile
    fileobj = open(filename, "rb+" if writable else "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'cache/3Pnhzf3Knhdsavx0VM2ZmG/3Pnhzf3Knhdsavx0VM2ZmG.mp3'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./main.py", line 771, in <module>
    CLI.main(sys.argv[1:])
  File "./main.py", line 624, in main
    md.downloadBySpotifyUriPlaylistMode(array[i+1], CLI.path)
  File "./main.py", line 229, in downloadBySpotifyUriPlaylistMode
    data=info
  File "/home/manu/Music/smd/editor.py", line 67, in setTags
    ID3=ID3
  File "/home/manu/.local/lib/python3.7/site-packages/mutagen/_file.py", line 49, in __init__
    self.load(*args, **kwargs)
  File "/home/manu/.local/lib/python3.7/site-packages/mutagen/_util.py", line 139, in wrapper
    writable, create) as h:
  File "/usr/lib/python3.7/contextlib.py", line 112, in __enter__
    return next(self.gen)
  File "/home/manu/.local/lib/python3.7/site-packages/mutagen/_util.py", line 256, in _openfile
    raise MutagenError(e)
mutagen.MutagenError: [Errno 2] No such file or directory: 'cache/3Pnhzf3Knhdsavx0VM2ZmG/3Pnhzf3Knhdsavx0VM2ZmG.mp3'

thanks in advance

Try a VPN and check if it works


[driver] propagate exit code from package:test

Driver returns exit code 0 even when tests fail. This commit fixes it by
propagating the exit code set by package:test.
NOTE: this PR will cause the infra bot to start failing. This is expected as currently the bot is showing a false positive.

/cc @devoncarew

LGTM


remove unused tests from distribution, some metadata, add maintainer

Replaces #3.

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender


Bluetooth: Mesh: Introduce separate workq for ADV EXT

Since the default Advertising Extended will send in sysworkq and maybe block syswork in a while(send_sync), and also will be block by other applications which also use sysworkq, in this condition, the BT Mesh Message will cached.

Hi, considering issues with collaboration between Mesh and Host do we really need to use system work queue?
https://github.com/zephyrproject-rtos/zephyr/issues/77241
Probably it is worth to leave only specific queue that @LingaoM added here and remove the system work queue usage.
@PavelVPV, @jhedberg opinions?

Hi, considering issues with collaboration between Mesh and Host do we really need to use system work queue? #77241 Probably it is worth to leave only specific queue that @LingaoM added here and remove the system work queue usage. @PavelVPV, @jhedberg opinions?

I looked back at commit history, the first time sending Mesh messages use extended advertising was used in sysworkq was introduced : https://github.com/zephyrproject-rtos/zephyr/pull/30005 .
At this time, the Host send_sync(will handle by BT TX thread), so there are no risk for Conflict or dead-lock.
But after https://github.com/zephyrproject-rtos/zephyr/pull/72090, BT TX thread was removed, and will increase risk deak-lock with Zephyr Bluetooth Mesh implementation, which leads to the controversy here:https://github.com/zephyrproject-rtos/zephyr/issues/77241
So, from my point of view, this commit should be submitted as a PR with the commit to reconstruct BT TX.

@LingaoM are you still working on the PR? I started reviewing it but I see you did some changes.

@LingaoM are you still working on the PR? I started reviewing it but I see you did some changes.

Done, now, thanks.

I wonder if we try another approach and try to back-off when the host API returns an error which per my understanding (or please correct me if I missing something) can now happen if the host ran out of cmd buffers. If this worked then we wouldn't need an extra thread and could just try to reschedule the advertiser and send the same adv again (same for proxy).
One problem I could imaging with this is that if some other code also tries to send something from a higher priority context, then mesh can never get a change to send anything. But this I think can be checked.

Answering to myself. I implemented a stress test to check this: https://github.com/PavelVPV/zephyr/commit/15c9049f34a99fd0520ccb7384676b4a335a724a
Yes, this approach will work, but will put a lot of strain on CPU because the host doesn't have an API to tell that it has a free buffer. So for now using separate thread will guarantee that stack will always be able to send a message.

@PavelVPV bbsim also failed, I'm no ideas for this.

@PavelVPV bbsim also failed, I'm no ideas for this.

The stack suspends faster than manages to complete publication. This should work:
diff --git a/tests/bsim/bluetooth/mesh/src/test_suspend.c b/tests/bsim/bluetooth/mesh/src/test_suspend.c
index 5ec6a8dc685..404ed4213df 100644
--- a/tests/bsim/bluetooth/mesh/src/test_suspend.c
+++ b/tests/bsim/bluetooth/mesh/src/test_suspend.c
@@ -295,6 +295,7 @@ static void dut_pub_common(bool disable_bt)
                ASSERT_OK_MSG(k_sem_take(&publish_sem, K_SECONDS(30)), "Pub timed out");
        }

+       k_sleep(K_MSEC(100));
        ASSERT_OK_MSG(bt_mesh_suspend(), "Failed to suspend Mesh.");


1_0_2p openssl/ssl/d1_pkt.c assert in do_dtls1_write

This happens after 6..20 hours. If assert is removed, it crashes.
What would be a better workaround? This function seems unchanged in latest 1.0.2.
    /*
     * first check if there is a SSL3_BUFFER still being written out.  This
     * will happen with non blocking IO
     */
    if (s->s3->wbuf.left != 0) {
        OPENSSL_assert(0);      /* XDTLS: want to see if we ever get here */
        return (ssl3_write_pending(s, type, buf, len));
    }

Try upgrading to 1.1.1. I suspect this may be fixed in later versions. 1.0.2 is only receiving security fixes now so doesn't have all the same bug fixes.

@mattcaswell
1.1.1 replaces the hard assertion with the softer one. We ported the change to 1.0.2 and the library does not crash but there is an SSL error on the socket. Is there any other fix that could solve the root problem?
We run into this issue while doing large file upload/download over DTLS.

So, with 1.1.1, do you get some kind of error in the OpenSSL error stack?

We are using 1.0.2 after porting the soft assertion changes (https://github.com/openssl/openssl/commit/380a522f689252e7f19e0c44ea49461ec7bd040f#diff-8c0990f60e086be2afa066eb843ff9bcR761). We get this error but of course, the library does not crash:
SSL Exception: error:140F5044:SSL routines:do_dtls1_write:internal error
We did not integrate the 1.1.1 openssl yet because we have Poco dependency and need to check compatibility with it. Do you know if 1.1.1 can fix this issue?

Is it possible you have network issues?  Can you do tests to see if the file size matters? Yes, that will be a pain, but right now folks are just guessing.

We can easily reproduce it with file sizes beyond a limit (somewhere around 800 MB). The network was stable during this period.

The network is stable?  How do you know?  Do a packet capture (ideally just around the time it fails :) and see what things look like. DTLS is just a thin layer above UDP, so my guess would be UDP issues, retransmits, packet loss, etc., causing the write error.  What is errno at the time of error?

Do you know if 1.1.1 can fix this issue?

I don't know for sure. However there are many fixes for DTLS in 1.1.1 that don't exist in 1.0.2 - so there is a good chance that it will. Note that 1.0.2 is out of support from the end of this year so you should be moving off it anyway.

my guess would be UDP issues, retransmits, packet loss, etc., causing the write error.

That shouldn't cause an assertion failure though. DTLS should be tolerant of an unstable network. If the network is so unstable that a connection cannot be established I still would not expect to see an assertion failure.

The comment in the quoted snippet doesn't ensure confidence that the assert is correct :)  But like I said, I was guessing. I agree moving to a current release is a good first step.

@mattcaswell @richsalz
Thanks for your inputs. I am going to try integrating 1.1.1 and will update the thread with my findings.

Thanks for your inputs. I am going to try integrating 1.1.1 and will update the thread with my findings.

Did upgrading to 1.1.1 solve this problem?

Marking as inactive, to be closed at the end of 3.4 dev barring further input


Document use of pattern parameter when calling MapFallbackToPage

As per https://github.com/aspnet/AspNetCore/issues/13167, can you please document how to specify the pattern parameter when calling MapFallbackToPage()? Using this parameter, you can host your Blazor application in a non-root URL, for example at /spa/*

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

ID: 79da574a-570f-04eb-86bd-c8065a016f44
Version Independent ID: ac771374-6102-b838-57d2-e99bcf3f7d3e
Content: ASP.NET Core Blazor routing
Content Source: aspnetcore/blazor/routing.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

Note to engineering when this is triaged: If I'm going to address this, I need a note on if/how the app base path relates to this (<base href="/spa/">).


AHelp and verb "teleport to" functionality should use following

Description

If you're following someone and tp to someone else it breaks since you're still parented to the other person. IMO  the ahelp button should just use following instead like what ghost roles do
The verbs should also use following (at least TP to should obv)
The actual command is in engine so can't change that, but the content stuff can be changed to just use something else
Screenshots
these

Additional context

Replace with Follow command and it'll work better.