Raycasts phasing through walls

Hello! p5play user here. Although ray-casting isn't officially supported in p5play, there's a simple workaround to access the native APIs.
I've attached a video of the error occurring.
Screencast from 2024-01-29 16-38-38.webm
I'm doing asynchronous raycasts like this:
function raycast(pos, direction){
    return new Promise((res)=>{
        let rays = [], start = planck.Vec2(pos.x, pos.y), end = planck.Vec2(
            Math.round(pos.x + (10  * Math.cos(direction * Math.PI / 180))),
            Math.round(pos.y + (10  * Math.sin(direction * Math.PI / 180)))
        )

        world.rayCast(start, end, (c, c2)=>{ // Raycast is here
            c.intersection = c2
            rays.push(c)
        })

        setTimeout(()=>{
            res(rays)
        }, 10)
    })
}

Taking in a position of the origin, then doing some maths to figure out a position in the direction I want, casting & waiting 10ms for all the responses.
I then sort them:
rays = rays.sort((a,b)=>{
    return dist(a.intersection.x, a.intersection.y, this.obj.x, this.obj.y)
        - dist(b.intersection.x, b.intersection.y, this.obj.x, this.obj.y)
})

and I assume the first element of that array is the closest raycast, however in the video you can see that is not always the case, mostly between certain rotations?
I'm fairly new to this so any advice will be extremely helpful. Sorry I can't provide an in-depth explanation.

I inexplicably solved this using the "RayCastClosest" example at https://piqnt.com/planck.js/RayCast .
I just imported the function, and everything seemed to... magically work? No idea what wizardry it does. More helpful documentation on this would be nice.

What function did you import that solved the problem?

@shakiba In the docs, the use of the term "callback" in WorldRayCastCallback is a bit misleading because planck's world.rayCast is not an async function. "callback" in JavaScript refers to an input function that runs after the called function finishes, almost always because the caller function is async. I think this function could more accurately be called a filter.
https://github.com/piqnt/planck.js/blob/master/docs/api/classes/world.md#raycast
Also I think since codingMASTER was only interested in finding the closest callback so he found the solution to that in the RayCastClosest function.
@codingMASTER398 This may have been added by Shakiba later but the example now notes "do not assume that fixtures are reported in order. However, by clipping, we can always get the closest fixture."
Why is that? It's because the ray cast is not performed in the straight forward way one may expect, by testing points along the ray cast line, which is called Ray Marching.
Ray casting in Box2D is done by looking at nearby fixtures in the Dynamic AABB Tree, a specialized data structure that stores all the fixture's AABBs. The visually closest nodes to the fixture at the starting point may be stored further apart in the dynamic tree. Since planck's raycasting actually works by looping through fixtures in the tree, that's why fixtures may not be reported in order. Complicated stuff aye?
This also means that unlike with ray marching, we can't cancel a planck raycast just because for example it hits a wall, because the wall might be behind a target object.

In the filter function, returning:
-1 stops the ray casting

0 limits the ray to not go beyond that fixture
1 maintains the full length of the ray cast

@quinton-ashley thanks for your comments and suggestions.
To clarify, the return value of the callback is used to update the initial maxFraction in the raycast input. So 0 would effectively stops the raycast, and negative is ignored as invalid.
Also, I think the parameter is named correctly according to MDN:

A callback function is a function passed into another function as an argument, which is then invoked inside the outer function to complete some kind of routine or action.

Examples of synchronous callbacks include the callbacks passed to Array.prototype.map(), Array.prototype.forEach(), etc. Examples of asynchronous callbacks include the callbacks passed to setTimeout() and Promise.prototype.then().

@shakiba you are right! hmm I didn't know those kinds of functions were also called callbacks.


Token generation

I have a problem generating Revolut token:
What is your mobile phone (used with your Revolut account) [ex : +33612345678] ? +371XXXXXXXX
What is your Revolut app password [ex: 1234] ?
An unknown error has occurred: Status code 204 for url https://api.revolut.com/signin
As I understand, script should ask me for verification code, but I get unknown error.
Is there a solution?

I have the same issue.

It seems Revolut changed somes things

@tducret do you think can you make something for that or not ?
Best

here is the doc : https://developer.revolut.com/docs/build-banking-apps/#introduction-to-the-open-banking-api-global-customer-access-controls

you need to have revolut business run the code?

Hey, any news on this issue?

Fairly sure there's been an api change that now requires channel param to be provided in the signin request payload.

#17 https://github.com/tducret/revolut-python/issues/17


Update Build Pipeline for dev branches

We need to build the container in a dev branch with a dev tag for testing.

Now building a dev tag for each container.


[VC] replace GOBIN with GOPATH/bin

As user may not set $GOBIN, make manifests may fail. This PR replaces $GOBIN with $GOPATH/bin in the Makefile.

/lgtm
/approve


[Menu] Fix position regression

There is one key difference between onEnter and onEntering. The first one is called before the did mount / did updated hooks while the second one is called after. It's important to wait for the did mount / did updated hooks so the Modal can performant the focus management logic correctly. It's only after that we can start messing with the focus like we do in the Menu component.
Closes #13416

Looks good to me👍. Can't test it right now, maybe later.

@TomiCake I would love that. I'm adding a regression test now.


[WIP] Dynamical decoupling

Summary
This PR adds support for dynamical decoupling.
Details and comments
TODO

The PadDynamicalDecoupling pass takes away the layout of the circuit. This should be highlighted in the documentation of that class, but also in tutorials such as this one.
One potential issue caused by this is that transpiling observables based on the circuit layout will fail if your workflow looks like below.
t_circ = transpile(circ, ...)
t_circ = dd_passmanager(...).run(t_circ)

t_observable = SparsePauliOp(...).apply_layout(t_circ.layout)


Use .fusionrc babel plugins

Refs #91
(Currently a stacked diff off #92)

Only change was rebasing the stacked diff. Landing.


True Aim does not adjust together with View Cam in Immersive Firstperson mode.

VANILLA:

IMMERSIVE FIRSTPERSON:

use dynamic height adjustment mod


feat: add format function

Sometimes you want to modify the name of the migration (e.g. in my case I would like to remove the file suffix because it changes depending on whether I run the Typescript or compiled version). This PR introduces a format function in the options that takes care of it.

Watch your whitespace, that's what's causing the CI to fail.  Otherwise this looks good to me and would allow me to solve the same problem.
However I'd go one step further and provide a way to format the name that is in storage too.  That way I can take an existing database that was migrated without a formatter and still not have a migration collision.  You could use the same format function, it would just force the user to add additional logic.  Or you can have different functions for each side: one for formatting files from disk, another for formatting migration names from storage.

Hi @jaulz, thanks for the PR! Please address my comments and also address the suggestion by @kf6kjg. Thanks!

Thanks for your input! I just pushed the updated files.
@kf6kjg do you mean something like this?
https://github.com/sequelize/umzug/pull/196/files#diff-410142b027abfe35d3351577b731ebcaR106-R107

Yeah, that looks like it should work.  I like it.  It'd be good to give and example of how to use the option in the documentation such as
{
  nameFormatter: path => {
    const filename = Path.basename(path); // Isolate the file name from the full path.
    return filename.slice(0, filename.lastIndexOf(".")); // Remove the file extension, leaving just the unique name of the migration.
  }
}

At least that's what I'd use as I have migrations being run under Node on the live server at the moment and I'd like to eventually change over to using Node-TS.  This would prevent the extension change, .js to .ts, from causing any headaches.

Though, reviewing the code a little, I think it'd be good for you to write up some unit tests to exercise this. Also to make sure to fix whatever's causing the existing unit tests to fail - but I suspect you are already on top of that! :D

@kf6kjg okay, it's ready 😊

Okay, I added it including the example of the file extension removal.

This is excellent! I've got the same use-case (ts vs js file extensions).
I don't see this in the master branch yet?


Argo is losing connectivity to K8 pods intermittently

Hi,
We deployed argo 2.6.2 and its working fine. But recently we are observing Argo is losing connectivity to its workflows and our inter dependent workflow schema is getting failed with the below errors. is this know issue with this version of Argo or any work around available to get it fixed.
Error:
**[inf] [01:45:06.689] [00.1GB] [00.0%] [T01] Execution status: Running [Root]
[err] [01:46:59.373] [00.1GB] [00.0%] [T319] Exit code [1] [Root]
Unhandled exception. System.AggregateException: One or more errors occurred. (One or more errors occurred. (time="2020-08-06T19:02:22Z" level=fatal msg="the server was unable to return a response in the time allotted, but may still be processing the request (get workflows.argoproj.io model-gbhjq)"))
---> System.AggregateException: One or more errors occurred. (time="2020-08-06T19:02:22Z" level=fatal msg="the server was unable to return a response in the time allotted, but may still be processing the request (get workflows.argoproj.io model-gbhjq)")**
argo: v2.6.2
BuildDate: 2020-03-12T16:04:25Z
GitCommit: be0a0bb
GitTreeState: clean
GitTag: v2.6.2
GoVersion: go1.13.4
Compiler: gc
Platform: linux/amd64

Kubernetes Version:

Client Version: v1.17.2
Server Version: v1.17.2

Host OS:
Centos 7.7

CNI:
Weave

Thank you and appreciate any help or inputs with this issue?
Regards,
CS

looks like your k8s API server is not responding argo request.  It might be a network delay or K8s API server is under load. Is this issue happening consistently or intermittently?

Thank you for reply.
this is happening intermittently. but when I check GRID load and NW activity, its not super busy. seeing the below errors
Unhandled exception. System.AggregateException: One or more errors occurred. (One or more errors occurred. (time="2020-08-06T19:02:22Z" level=fatal msg="the server was unable to return a response in the time allotted, but may still be processing the request (get workflows.argoproj.io model-z69nq)"))
---> System.AggregateException: One or more errors occurred. (time="2020-08-06T19:02:22Z" level=fatal msg="the server was unable to return a response in the time allotted, but may still be processing the request (get workflows.argoproj.io model-z69nq)")
---> System.Exception: time="2020-08-06T19:02:22Z" level=fatal msg="the server was unable to return a response in the time allotted, but may still be processing the request (get workflows.argoproj.io model-z69nq)"
Unhandled exception. System.AggregateException: One or more errors occurred. (One or more errors occurred. (time="2020-08-06T19:02:22Z" level=fatal msg="the server was unable to return a response in the time allotted, but may still be processing the request (get workflows.argoproj.io model-gbhjq)"))
---> System.AggregateException: One or more errors occurred. (time="2020-08-06T19:02:22Z" level=fatal msg="the server was unable to return a response in the time allotted, but may still be processing the request (get workflows.argoproj.io model-gbhjq)")
---> System.Exception: time="2020-08-06T19:02:22Z" level=fatal msg="the server was unable to return a response in the time allotted, but may still be processing the request (get workflows.argoproj.io model-gbhjq)"
Unhandled exception. System.AggregateException: One or more errors occurred. (One or more errors occurred. (time="2020-08-07T07:41:23Z" level=fatal msg="etcdserver: request timed out"))
---> System.AggregateException: One or more errors occurred. (time="2020-08-07T07:41:23Z" level=fatal msg="etcdserver: request timed out")
---> System.Exception: time="2020-08-07T07:41:23Z" level=fatal msg="etcdserver: request timed out"
Unhandled exception. System.AggregateException: One or more errors occurred. (One or more errors occurred. (time="2020-08-07T08:08:46Z" level=fatal msg="etcdserver: request timed out"))
---> System.AggregateException: One or more errors occurred. (time="2020-08-07T08:08:46Z" level=fatal msg="etcdserver: request timed out")
---> System.Exception: time="2020-08-07T08:08:46Z" level=fatal msg="etcdserver: request timed out"
Unhandled exception. System.AggregateException: One or more errors occurred. (One or more errors occurred. (time="2020-07-30T19:55:44Z" level=fatal msg="Get https://<IP_ADDRESS>:443/apis/argoproj.io/v1alpha1/namespaces/default/workflows/model-bssk2: net/http: TLS handshake timeout"))
---> System.AggregateException: One or more errors occurred. (time="2020-07-30T19:55:44Z" level=fatal msg="Get https://<IP_ADDRESS>:443/apis/argoproj.io/v1alpha1/namespaces/default/workflows/model-bssk2: net/http: TLS handshake timeout")
---> System.Exception: time="2020-07-30T19:55:44Z" level=fatal msg="Get https://<IP_ADDRESS>:443/apis/argoproj.io/v1alpha1/namespaces/default/workflows/model-bssk2: net/http: TLS handshake timeout"
Thanks,
CS


Added support for BC-RT-TRX-CyN

Just asking for confirmation: this change alone made the device work in Home Assistant? Or are there any limitations regarding functionality?

Yes, I'm using this in a productive Home Assistant environment since 3 months and did notice any problems.


How set filter values?

Hi!
Great lib but i don't know how set initial values for filter elements?
Thanks!

Hi! Did you solve it?


Automated backport of #366: Fix operator OCP cluster role setup

Backport of #366 on release-0.14.
#366: Fix operator OCP cluster role setup
For details on the backport process, see the backport requests page.

@skitt @tpantelis is this something we also want in release-0.13?

@skitt @tpantelis is this something we also want in release-0.13?

This code was introduced in 0.14.


Consider API resource user claims to be accessible via user info

IOW, allow user claims to be obtained via user info for an API rather than putting the claims in the AT itself.
This would encourage an API to define their own user claims and associate them with the API scope, but still obtain them dynamically. It will also help discourage APIs from using the user info endpoint for the identity data based on identity scopes that the client is requesting.

This would seem to make a lot of sense.  I'm building a system at the moment that will have multiple services each with an API.  Services will be developed and added over time.  Each service will define claims that will only make sense to itself, as well as using the generic claims.  I'm intending to make my Identity Server act as a repository for other services to store their own claim types, which will be served to them as and when needed.
Doing this via user info would seem to fit that very well.

I have been working on the same idea for that is call a attribute provider using the user info end point.
Here is a description I have written. I will be working on demo code in the coming months.
https://wiki.idesg.org/wiki/index.php?title=Identity_Model_Overview#Problem_to_be_Solved

After discussion, reference tokens already solve this. We don't currently update the user claims from the profile service, though, so perhaps that's what this issue should morph into -- a flag on the ApiResuorce, for example, to dynamically fetch the user claims on each call to introspection.

I also thought about this, and indeed user info endpoint seems the wrong place. It is ment for client, and according to OpenID specification it can be an encrypted token for the specific client itself. So in that case the API will not get far with the answer.
Extending the introspection endpoint with configured claims attributes per scope and/or per resource seems the right approach. Maybe even constructing a JWT ID token to put in the response (optionally signed and encrypted).


CURL to certain port

Can the class connect to certain port?
$url = 'http://example.com:9090';
$mcurl = new Curl\Curl();
$mcurl->setFollowLocation();
$mcurl->get($url);

Yes. I've added an example:
https://github.com/php-curl-class/php-curl-class/blob/master/examples/get_with_port.php


Newtag logic

Storage logic not implemented yet; data will not persist across sessions
Unit Tests have not been written yet


Drag/Drop file opening not working

Drag/drop no longer pulls up the appropriate node to load a file. This is because of core/<node> paths that weren't updated and should be a quick fix.

Actually, this is a framework issue, so I'm closing and moving there.


Fix CI

Fixing CI errors discovered in #72

@justim hm I see, ideally you should use PHPUnit bridge instead of having PHPUnit dependency in your project, but having it is a valid option too.
I tried to unblock PHPUnit in https://github.com/SymfonyCasts/sass-bundle/pull/78 but seems there's an incompatibility issue that causes tests fail, if you have any ideas how to fix it - please, feel free to help

@justim IIRC Symfony is not ready for PHPUnit 10. Do you use PHPUnit 10 with the installed PHPUnit Bridge in your project?

The only way I see for now - either temporarily add "phpunit/phpunit": "^9.6" to the require-dev section or add "phpunit/phpunit": ">=10" into conflict section. IMO Conflict section fits better in this specific case because this package isn't related on phpunit/phpunit directly.
If you have any ideas how to fix it in a different way - please, feel free to share your thoughts or create a PR.

Adding the "phpunit/phpunit": "^9.6" makes the most sense here, I think.
Running the tests does not work with newer versions, so this package depends on that version of PHPUnit (9.6). And, I would say, if you use classes from a package (PHPUnit\Framework\TestCase), then it should be in your composer.json to prevent surprises when one of the dependencies all of a sudden upgrades their dependencies.
This also makes sure this constraint is only there when cloning this repo and running composer install, this has no impact on users that run composer require symfonycasts/sass-bundle to add this package to their project. Using "phpunit/phpunit": ">=10" in the "conflict" section blocks users from users installing this package if they have PHPUnit 10/11 installed. And when users install this they don't install the packages in "require-dev", and will never run the tests in this package.

@justim IIRC Symfony is not ready for PHPUnit 10+ yet. Do you use PHPUnit 10 with the installed PHPUnit Bridge in your project?

Running composer require --dev -W phpunit/phpunit on a fresh Symfony project installs PHPUnit 11. We did not use the bridge.
Want me to do a PR?

@justim yeah, I think you're right, thanks for pointing into it. I missed the fact that conflict works for all while require-dev - only for dev. I made the change in my PR https://github.com/SymfonyCasts/sass-bundle/pull/78
Once again, thanks for reporting it and discuss the possible solutions ❤

You're welcome 👍
Thanks for picking it up so quickly.


Fix list formatting in app-insights-overview.md

The unordered list wasn't showing correctly in the docs due to wrong formatting, fixed it to indent the relevant lines as part of the list.

@AaronMaxwell
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


fix doc inaccuracy in dirEntries

cf FORUM: dirEntries returns relative, not absolute paths

The name of each iterated directory entry contains the absolute or relative path (depending on pathname).

Well, what else could it contain? What's the point of this sentence? Why keep it at all?


The infrastructure development steps are missing in the README

I was planning to deploy the solution in my sandbox account, but I realized that the steps provided are only for building images. Therefore, it lacks infrastructure deployment steps. That being said, I was able to identify the CloudFormation files, but I'm not sure which one to deploy first. Could you please provide a workflow order of CloudFormation templates? Thank you.
also, note that the default root template errors out at the following event

Hi,
If you look in the Readme file at step 6 at the very bottom, it asks to deploy the root-trmplate.yaml. This is the step that deploys the infrastructure in one click

Hi but the problem is that your container seems to be failing for webui

Can you please provide full logs from WebUi container with full stack trace here.

I have uploaded the logs of two containers with full stack please have a look at the 00000 and the 00000 (1) gz
000000 (1).gz
000000.gz

2024-02-14T00:21:39.815Z ERROR:    Exception in ASGI application 2024-02-14T00:21:39.815Z Traceback (most recent call last): 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 412, in run_asgi 2024-02-14T00:21:39.815Z     result = await app(  # type: ignore[func-returns-value] 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__ 2024-02-14T00:21:39.815Z     return await self.app(scope, receive, send) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in __call__ 2024-02-14T00:21:39.815Z     await super().__call__(scope, receive, send) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 123, in __call__ 2024-02-14T00:21:39.815Z     await self.middleware_stack(scope, receive, send) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 186, in __call__ 2024-02-14T00:21:39.815Z     raise exc 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in __call__ 2024-02-14T00:21:39.815Z     await self.app(scope, receive, _send) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/cors.py", line 83, in __call__ 2024-02-14T00:21:39.815Z     await self.app(scope, receive, send) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in __call__ 2024-02-14T00:21:39.815Z     await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app 2024-02-14T00:21:39.815Z     raise exc 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app 2024-02-14T00:21:39.815Z     await app(scope, receive, sender) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 758, in __call__ 2024-02-14T00:21:39.815Z     await self.middleware_stack(scope, receive, send) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 778, in app 2024-02-14T00:21:39.815Z     await route.handle(scope, receive, send) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 299, in handle 2024-02-14T00:21:39.815Z     await self.app(scope, receive, send) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 79, in app 2024-02-14T00:21:39.815Z     await wrap_app_handling_exceptions(app, request)(scope, receive, send) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app 2024-02-14T00:21:39.815Z     raise exc 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app 2024-02-14T00:21:39.815Z     await app(scope, receive, sender) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 74, in app 2024-02-14T00:21:39.815Z     response = await func(request) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 299, in app 2024-02-14T00:21:39.815Z     raise e 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 294, in app 2024-02-14T00:21:39.815Z     raw_response = await run_endpoint_function( 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 193, in run_endpoint_function 2024-02-14T00:21:39.815Z     return await run_in_threadpool(dependant.call, **values) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/site-packages/starlette/concurrency.py", line 42, in run_in_threadpool 2024-02-14T00:21:39.815Z     return await anyio.to_thread.run_sync(func, *args) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync 2024-02-14T00:21:39.815Z     return await get_async_backend().run_sync_in_worker_thread( 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2134, in run_sync_in_worker_thread 2024-02-14T00:21:39.815Z     return await future 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 851, in run 2024-02-14T00:21:39.815Z     result = context.run(func, *args) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 316, in main 2024-02-14T00:21:39.815Z     config = copy.deepcopy(app.get_blocks().config) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:39.815Z     y = copier(x, memo) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:39.815Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:39.815Z     y = copier(x, memo) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/copy.py", line 206, in _deepcopy_list 2024-02-14T00:21:39.815Z     append(deepcopy(a, memo)) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:39.815Z     y = copier(x, memo) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:39.815Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/copy.py", line 172, in deepcopy 2024-02-14T00:21:39.815Z     y = _reconstruct(x, memo, *rv) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/copy.py", line 271, in _reconstruct 2024-02-14T00:21:39.815Z     state = deepcopy(state, memo) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:39.815Z     y = copier(x, memo) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:39.815Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/copy.py", line 172, in deepcopy 2024-02-14T00:21:39.815Z     y = _reconstruct(x, memo, *rv) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/copy.py", line 271, in _reconstruct 2024-02-14T00:21:39.815Z     state = deepcopy(state, memo) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:39.815Z     y = copier(x, memo) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:39.815Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:39.815Z     y = copier(x, memo) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/copy.py", line 206, in _deepcopy_list 2024-02-14T00:21:39.815Z     append(deepcopy(a, memo)) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/copy.py", line 172, in deepcopy 2024-02-14T00:21:39.815Z     y = _reconstruct(x, memo, *rv) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/copy.py", line 271, in _reconstruct 2024-02-14T00:21:39.815Z     state = deepcopy(state, memo) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:39.815Z     y = copier(x, memo) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:39.815Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:39.815Z     y = copier(x, memo) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/copy.py", line 206, in _deepcopy_list 2024-02-14T00:21:39.815Z     append(deepcopy(a, memo)) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:39.815Z     y = copier(x, memo) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:39.815Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:39.815Z   File "/usr/local/lib/python3.10/copy.py", line 161, in deepcopy 2024-02-14T00:21:39.815Z     rv = reductor(4) 2024-02-14T00:21:39.815Z TypeError: cannot pickle 'dict_keys' object 2024-02-14T00:21:40.319Z ERROR:    Exception in ASGI application 2024-02-14T00:21:40.319Z Traceback (most recent call last): 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 412, in run_asgi 2024-02-14T00:21:40.319Z     result = await app(  # type: ignore[func-returns-value] 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__ 2024-02-14T00:21:40.319Z     return await self.app(scope, receive, send) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in __call__ 2024-02-14T00:21:40.319Z     await super().__call__(scope, receive, send) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 123, in __call__ 2024-02-14T00:21:40.319Z     await self.middleware_stack(scope, receive, send) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 186, in __call__ 2024-02-14T00:21:40.319Z     raise exc 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in __call__ 2024-02-14T00:21:40.319Z     await self.app(scope, receive, _send) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/cors.py", line 83, in __call__ 2024-02-14T00:21:40.319Z     await self.app(scope, receive, send) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in __call__ 2024-02-14T00:21:40.319Z     await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app 2024-02-14T00:21:40.319Z     raise exc 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app 2024-02-14T00:21:40.319Z     await app(scope, receive, sender) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 758, in __call__ 2024-02-14T00:21:40.319Z     await self.middleware_stack(scope, receive, send) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 778, in app 2024-02-14T00:21:40.319Z     await route.handle(scope, receive, send) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 299, in handle 2024-02-14T00:21:40.319Z     await self.app(scope, receive, send) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 79, in app 2024-02-14T00:21:40.319Z     await wrap_app_handling_exceptions(app, request)(scope, receive, send) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app 2024-02-14T00:21:40.319Z     raise exc 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app 2024-02-14T00:21:40.319Z     await app(scope, receive, sender) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 74, in app 2024-02-14T00:21:40.319Z     response = await func(request) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 299, in app 2024-02-14T00:21:40.319Z     raise e 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 294, in app 2024-02-14T00:21:40.319Z     raw_response = await run_endpoint_function( 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 193, in run_endpoint_function 2024-02-14T00:21:40.319Z     return await run_in_threadpool(dependant.call, **values) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/site-packages/starlette/concurrency.py", line 42, in run_in_threadpool 2024-02-14T00:21:40.319Z     return await anyio.to_thread.run_sync(func, *args) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync 2024-02-14T00:21:40.319Z     return await get_async_backend().run_sync_in_worker_thread( 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2134, in run_sync_in_worker_thread 2024-02-14T00:21:40.319Z     return await future 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 851, in run 2024-02-14T00:21:40.319Z     result = context.run(func, *args) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 316, in main 2024-02-14T00:21:40.319Z     config = copy.deepcopy(app.get_blocks().config) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:40.319Z     y = copier(x, memo) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:40.319Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:40.319Z     y = copier(x, memo) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/copy.py", line 206, in _deepcopy_list 2024-02-14T00:21:40.319Z     append(deepcopy(a, memo)) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:40.319Z     y = copier(x, memo) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:40.319Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/copy.py", line 172, in deepcopy 2024-02-14T00:21:40.319Z     y = _reconstruct(x, memo, *rv) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/copy.py", line 271, in _reconstruct 2024-02-14T00:21:40.319Z     state = deepcopy(state, memo) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:40.319Z     y = copier(x, memo) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:40.319Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/copy.py", line 172, in deepcopy 2024-02-14T00:21:40.319Z     y = _reconstruct(x, memo, *rv) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/copy.py", line 271, in _reconstruct 2024-02-14T00:21:40.319Z     state = deepcopy(state, memo) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:40.319Z     y = copier(x, memo) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:40.319Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:40.319Z     y = copier(x, memo) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/copy.py", line 206, in _deepcopy_list 2024-02-14T00:21:40.319Z     append(deepcopy(a, memo)) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/copy.py", line 172, in deepcopy 2024-02-14T00:21:40.319Z     y = _reconstruct(x, memo, *rv) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/copy.py", line 271, in _reconstruct 2024-02-14T00:21:40.319Z     state = deepcopy(state, memo) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:40.319Z     y = copier(x, memo) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:40.319Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:40.319Z     y = copier(x, memo) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/copy.py", line 206, in _deepcopy_list 2024-02-14T00:21:40.319Z     append(deepcopy(a, memo)) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:40.319Z     y = copier(x, memo) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:40.319Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:40.319Z   File "/usr/local/lib/python3.10/copy.py", line 161, in deepcopy 2024-02-14T00:21:40.319Z     rv = reductor(4) 2024-02-14T00:21:40.319Z TypeError: cannot pickle 'dict_keys' object 2024-02-14T00:21:40.825Z ERROR:    Exception in ASGI application 2024-02-14T00:21:40.825Z Traceback (most recent call last): 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 412, in run_asgi 2024-02-14T00:21:40.825Z     result = await app(  # type: ignore[func-returns-value] 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__ 2024-02-14T00:21:40.825Z     return await self.app(scope, receive, send) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in __call__ 2024-02-14T00:21:40.825Z     await super().__call__(scope, receive, send) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 123, in __call__ 2024-02-14T00:21:40.825Z     await self.middleware_stack(scope, receive, send) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 186, in __call__ 2024-02-14T00:21:40.825Z     raise exc 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in __call__ 2024-02-14T00:21:40.825Z     await self.app(scope, receive, _send) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/cors.py", line 83, in __call__ 2024-02-14T00:21:40.825Z     await self.app(scope, receive, send) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in __call__ 2024-02-14T00:21:40.825Z     await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app 2024-02-14T00:21:40.825Z     raise exc 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app 2024-02-14T00:21:40.825Z     await app(scope, receive, sender) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 758, in __call__ 2024-02-14T00:21:40.825Z     await self.middleware_stack(scope, receive, send) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 778, in app 2024-02-14T00:21:40.825Z     await route.handle(scope, receive, send) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 299, in handle 2024-02-14T00:21:40.825Z     await self.app(scope, receive, send) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 79, in app 2024-02-14T00:21:40.825Z     await wrap_app_handling_exceptions(app, request)(scope, receive, send) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app 2024-02-14T00:21:40.825Z     raise exc 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app 2024-02-14T00:21:40.825Z     await app(scope, receive, sender) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 74, in app 2024-02-14T00:21:40.825Z     response = await func(request) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 299, in app 2024-02-14T00:21:40.825Z     raise e 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 294, in app 2024-02-14T00:21:40.825Z     raw_response = await run_endpoint_function( 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 193, in run_endpoint_function 2024-02-14T00:21:40.825Z     return await run_in_threadpool(dependant.call, **values) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/site-packages/starlette/concurrency.py", line 42, in run_in_threadpool 2024-02-14T00:21:40.825Z     return await anyio.to_thread.run_sync(func, *args) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync 2024-02-14T00:21:40.825Z     return await get_async_backend().run_sync_in_worker_thread( 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2134, in run_sync_in_worker_thread 2024-02-14T00:21:40.825Z     return await future 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 851, in run 2024-02-14T00:21:40.825Z     result = context.run(func, *args) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 316, in main 2024-02-14T00:21:40.825Z     config = copy.deepcopy(app.get_blocks().config) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:40.825Z     y = copier(x, memo) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:40.825Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:40.825Z     y = copier(x, memo) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/copy.py", line 206, in _deepcopy_list 2024-02-14T00:21:40.825Z     append(deepcopy(a, memo)) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:40.825Z     y = copier(x, memo) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:40.825Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/copy.py", line 172, in deepcopy 2024-02-14T00:21:40.825Z     y = _reconstruct(x, memo, *rv) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/copy.py", line 271, in _reconstruct 2024-02-14T00:21:40.825Z     state = deepcopy(state, memo) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:40.825Z     y = copier(x, memo) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:40.825Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/copy.py", line 172, in deepcopy 2024-02-14T00:21:40.825Z     y = _reconstruct(x, memo, *rv) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/copy.py", line 271, in _reconstruct 2024-02-14T00:21:40.825Z     state = deepcopy(state, memo) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:40.825Z     y = copier(x, memo) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:40.825Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:40.825Z     y = copier(x, memo) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/copy.py", line 206, in _deepcopy_list 2024-02-14T00:21:40.825Z     append(deepcopy(a, memo)) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/copy.py", line 172, in deepcopy 2024-02-14T00:21:40.825Z     y = _reconstruct(x, memo, *rv) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/copy.py", line 271, in _reconstruct 2024-02-14T00:21:40.825Z     state = deepcopy(state, memo) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:40.825Z     y = copier(x, memo) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:40.825Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:40.825Z     y = copier(x, memo) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/copy.py", line 206, in _deepcopy_list 2024-02-14T00:21:40.825Z     append(deepcopy(a, memo)) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:40.825Z     y = copier(x, memo) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:40.825Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:40.825Z   File "/usr/local/lib/python3.10/copy.py", line 161, in deepcopy 2024-02-14T00:21:40.825Z     rv = reductor(4) 2024-02-14T00:21:40.825Z TypeError: cannot pickle 'dict_keys' object 2024-02-14T00:21:41.331Z ERROR:    Exception in ASGI application 2024-02-14T00:21:41.331Z Traceback (most recent call last): 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 412, in run_asgi 2024-02-14T00:21:41.331Z     result = await app(  # type: ignore[func-returns-value] 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__ 2024-02-14T00:21:41.331Z     return await self.app(scope, receive, send) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in __call__ 2024-02-14T00:21:41.331Z     await super().__call__(scope, receive, send) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 123, in __call__ 2024-02-14T00:21:41.331Z     await self.middleware_stack(scope, receive, send) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 186, in __call__ 2024-02-14T00:21:41.331Z     raise exc 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in __call__ 2024-02-14T00:21:41.331Z     await self.app(scope, receive, _send) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/cors.py", line 83, in __call__ 2024-02-14T00:21:41.331Z     await self.app(scope, receive, send) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in __call__ 2024-02-14T00:21:41.331Z     await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app 2024-02-14T00:21:41.331Z     raise exc 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app 2024-02-14T00:21:41.331Z     await app(scope, receive, sender) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 758, in __call__ 2024-02-14T00:21:41.331Z     await self.middleware_stack(scope, receive, send) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 778, in app 2024-02-14T00:21:41.331Z     await route.handle(scope, receive, send) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 299, in handle 2024-02-14T00:21:41.331Z     await self.app(scope, receive, send) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 79, in app 2024-02-14T00:21:41.331Z     await wrap_app_handling_exceptions(app, request)(scope, receive, send) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app 2024-02-14T00:21:41.331Z     raise exc 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app 2024-02-14T00:21:41.331Z     await app(scope, receive, sender) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 74, in app 2024-02-14T00:21:41.331Z     response = await func(request) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 299, in app 2024-02-14T00:21:41.331Z     raise e 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 294, in app 2024-02-14T00:21:41.331Z     raw_response = await run_endpoint_function( 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 193, in run_endpoint_function 2024-02-14T00:21:41.331Z     return await run_in_threadpool(dependant.call, **values) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/site-packages/starlette/concurrency.py", line 42, in run_in_threadpool 2024-02-14T00:21:41.331Z     return await anyio.to_thread.run_sync(func, *args) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync 2024-02-14T00:21:41.331Z     return await get_async_backend().run_sync_in_worker_thread( 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2134, in run_sync_in_worker_thread 2024-02-14T00:21:41.331Z     return await future 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 851, in run 2024-02-14T00:21:41.331Z     result = context.run(func, *args) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 316, in main 2024-02-14T00:21:41.331Z     config = copy.deepcopy(app.get_blocks().config) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:41.331Z     y = copier(x, memo) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:41.331Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:41.331Z     y = copier(x, memo) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/copy.py", line 206, in _deepcopy_list 2024-02-14T00:21:41.331Z     append(deepcopy(a, memo)) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:41.331Z     y = copier(x, memo) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:41.331Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/copy.py", line 172, in deepcopy 2024-02-14T00:21:41.331Z     y = _reconstruct(x, memo, *rv) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/copy.py", line 271, in _reconstruct 2024-02-14T00:21:41.331Z     state = deepcopy(state, memo) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:41.331Z     y = copier(x, memo) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:41.331Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/copy.py", line 172, in deepcopy 2024-02-14T00:21:41.331Z     y = _reconstruct(x, memo, *rv) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/copy.py", line 271, in _reconstruct 2024-02-14T00:21:41.331Z     state = deepcopy(state, memo) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:41.331Z     y = copier(x, memo) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:41.331Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:41.331Z     y = copier(x, memo) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/copy.py", line 206, in _deepcopy_list 2024-02-14T00:21:41.331Z     append(deepcopy(a, memo)) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/copy.py", line 172, in deepcopy 2024-02-14T00:21:41.331Z     y = _reconstruct(x, memo, *rv) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/copy.py", line 271, in _reconstruct 2024-02-14T00:21:41.331Z     state = deepcopy(state, memo) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:41.331Z     y = copier(x, memo) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:41.331Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:41.331Z     y = copier(x, memo) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/copy.py", line 206, in _deepcopy_list 2024-02-14T00:21:41.331Z     append(deepcopy(a, memo)) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:41.331Z     y = copier(x, memo) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:41.331Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:41.331Z   File "/usr/local/lib/python3.10/copy.py", line 161, in deepcopy 2024-02-14T00:21:41.331Z     rv = reductor(4) 2024-02-14T00:21:41.331Z TypeError: cannot pickle 'dict_keys' object 2024-02-14T00:21:41.838Z ERROR:    Exception in ASGI application 2024-02-14T00:21:41.838Z Traceback (most recent call last): 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 412, in run_asgi 2024-02-14T00:21:41.838Z     result = await app(  # type: ignore[func-returns-value] 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__ 2024-02-14T00:21:41.838Z     return await self.app(scope, receive, send) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in __call__ 2024-02-14T00:21:41.838Z     await super().__call__(scope, receive, send) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 123, in __call__ 2024-02-14T00:21:41.838Z     await self.middleware_stack(scope, receive, send) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 186, in __call__ 2024-02-14T00:21:41.838Z     raise exc 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in __call__ 2024-02-14T00:21:41.838Z     await self.app(scope, receive, _send) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/cors.py", line 83, in __call__ 2024-02-14T00:21:41.838Z     await self.app(scope, receive, send) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in __call__ 2024-02-14T00:21:41.838Z     await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app 2024-02-14T00:21:41.838Z     raise exc 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app 2024-02-14T00:21:41.838Z     await app(scope, receive, sender) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 758, in __call__ 2024-02-14T00:21:41.838Z     await self.middleware_stack(scope, receive, send) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 778, in app 2024-02-14T00:21:41.838Z     await route.handle(scope, receive, send) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 299, in handle 2024-02-14T00:21:41.838Z     await self.app(scope, receive, send) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 79, in app 2024-02-14T00:21:41.838Z     await wrap_app_handling_exceptions(app, request)(scope, receive, send) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app 2024-02-14T00:21:41.838Z     raise exc 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app 2024-02-14T00:21:41.838Z     await app(scope, receive, sender) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 74, in app 2024-02-14T00:21:41.838Z     response = await func(request) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 299, in app 2024-02-14T00:21:41.838Z     raise e 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 294, in app 2024-02-14T00:21:41.838Z     raw_response = await run_endpoint_function( 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 193, in run_endpoint_function 2024-02-14T00:21:41.838Z     return await run_in_threadpool(dependant.call, **values) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/site-packages/starlette/concurrency.py", line 42, in run_in_threadpool 2024-02-14T00:21:41.838Z     return await anyio.to_thread.run_sync(func, *args) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync 2024-02-14T00:21:41.838Z     return await get_async_backend().run_sync_in_worker_thread( 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2134, in run_sync_in_worker_thread 2024-02-14T00:21:41.838Z     return await future 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 851, in run 2024-02-14T00:21:41.838Z     result = context.run(func, *args) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 316, in main 2024-02-14T00:21:41.838Z     config = copy.deepcopy(app.get_blocks().config) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:41.838Z     y = copier(x, memo) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:41.838Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:41.838Z     y = copier(x, memo) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/copy.py", line 206, in _deepcopy_list 2024-02-14T00:21:41.838Z     append(deepcopy(a, memo)) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:41.838Z     y = copier(x, memo) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:41.838Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/copy.py", line 172, in deepcopy 2024-02-14T00:21:41.838Z     y = _reconstruct(x, memo, *rv) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/copy.py", line 271, in _reconstruct 2024-02-14T00:21:41.838Z     state = deepcopy(state, memo) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:41.838Z     y = copier(x, memo) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:41.838Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/copy.py", line 172, in deepcopy 2024-02-14T00:21:41.838Z     y = _reconstruct(x, memo, *rv) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/copy.py", line 271, in _reconstruct 2024-02-14T00:21:41.838Z     state = deepcopy(state, memo) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:41.838Z     y = copier(x, memo) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:41.838Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:41.838Z     y = copier(x, memo) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/copy.py", line 206, in _deepcopy_list 2024-02-14T00:21:41.838Z     append(deepcopy(a, memo)) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/copy.py", line 172, in deepcopy 2024-02-14T00:21:41.838Z     y = _reconstruct(x, memo, *rv) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/copy.py", line 271, in _reconstruct 2024-02-14T00:21:41.838Z     state = deepcopy(state, memo) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:41.838Z     y = copier(x, memo) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:41.838Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:41.838Z     y = copier(x, memo) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/copy.py", line 206, in _deepcopy_list 2024-02-14T00:21:41.838Z     append(deepcopy(a, memo)) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/copy.py", line 146, in deepcopy 2024-02-14T00:21:41.838Z     y = copier(x, memo) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/copy.py", line 231, in _deepcopy_dict 2024-02-14T00:21:41.838Z     y[deepcopy(key, memo)] = deepcopy(value, memo) 2024-02-14T00:21:41.838Z   File "/usr/local/lib/python3.10/copy.py", line 161, in deepcopy 2024-02-14T00:21:41.838Z     rv = reductor(4) 2024-02-14T00:21:41.838Z TypeError: cannot pickle 'dict_keys' object 2024-02-14T00:21:42.338Z Running on local URL:  http://<IP_ADDRESS>:8080 2024-02-14T00:21:42.338Z Traceback (most recent call last): 2024-02-14T00:21:42.338Z   File "/code/app/main.py", line 47, in <module> 2024-02-14T00:21:42.338Z     UI.queue( 2024-02-14T00:21:42.338Z   File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 2041, in launch 2024-02-14T00:21:42.338Z     raise ValueError( 2024-02-14T00:21:42.338Z ValueError: When localhost is not accessible, a shareable link must be created. Please set share=True or check your proxy settings to allow access to localhost.

This seems to be an issue with dependencies and versions. Most likely gradio version. I will try to deploy on my account and let you know

I was able to replicate the issue, it seems gradio 4.18.0 broke the app for some reason
So I pinned gradio version to 4.17.0 and it works.
Please test and let me know how you go.

I also opened an issue with gradio https://github.com/gradio-app/gradio/issues/7412

Issue was fix from gradio side as well. Closing issue

I was able to replicate the issue, it seems gradio 4.18.0 broke the app for some reason So I pinned gradio version to 4.17.0 and it works. Please test and let me know how you go.

Thank you very much. I've successfully deployed the solution, but I have a question for you. Does it support GUI-based creation of constructs? For instance, if I wanted to create a triangle or a circle? Also, could you please explain the process for adding additional models? Despite this query, I'm quite satisfied with the product overall.

Not sure what you mean or referring to. May be if you can give an example.


Every fluid collected by skyroot bucket becomes water

Related to #187.
Code snippet containing the error:
In aether/items/tools/SkyrootBucket.java
if (fluid != Fluids.EMPTY) {     playerIn.incrementStat(Stats.USED.getOrCreateStat(this));      playerIn.playSound(SoundEvents.ITEM_BUCKET_FILL, 1.0F, 1.0F);      ItemStack fillStack = this.fillBucket(currentStack, playerIn, AetherItems.SKYROOT_WATER_BUCKET);

On my end, Github didn't format the code correctly. Basically, this code treats every fluid as if it's water.

I would fix it myself, but I'm not sure what the proper interaction is with lava, dense_aercloud, etc.

It should only be able to pick up water. There is no skyroot lava bucket (because wood), and the dense aercloud is supposed to be picked up by whatever vial thing azzy made, but don't worry about that for now

Thanks. I'll write up a fix then

Fixed in #201


Configure CI to run Pact tests with Support API

The GitHub action has been configured in the provider (support-api) and can now be called as part of CI to verify the provider contract when the consumer builds.
Depends on https://github.com/alphagov/support-api/pull/967, which defines the pact-verify workflow that this uses.
Related PRS:

https://github.com/alphagov/support-api/pull/967
https://github.com/alphagov/gds-api-adapters/pull/1273
https://github.com/alphagov/support-api/pull/964

Trello card: https://trello.com/c/QBYirV6S/3494-add-pact-test-for-create-support-tickets-endpoint-5

CI passing after a minor workflow fix: https://github.com/alphagov/support-api/pull/976
Merging as Deb is on annual leave.


Update scout so that it uses the scout.svc.datawire.io host rather than kubernaut.io

For a long time Scout has reported to a URL path on the kubernaut.io domain. We want to decouple scout from Kubernaut's domain for two reasons:

Scout should have its own host address because it's easier to change the host address for development and testing reasons than assign a different path.

Break the slight coupling of unrelated services that arose from convenience rather than any valid technical reason.

Scout is going to live under Metriton going forward before it's eventually replaced. This is now tracked in GH-6


Do we have prepared statements and do we cache them?

Do we have prepared statements and do we cache them?
Can we add a page in docs explaining this?

I just found out this on docs:

It might be a good idea to disable prepared statements in pgx for performance reasons:

Why?

Here it says the opposite: https://github.com/jackc/pgx#performance

Prepared statements have the largest performance advantage when a single session is being used to execute a large number of similar statements. The performance difference will be particularly significant if the statements are complex to plan or rewrite, for example, if the query involves a join of many tables or requires the application of several rules. If the statement is relatively simple to plan and rewrite but relatively expensive to execute, the performance advantage of prepared statements will be less noticeable.

I don't have much to add.

"if you disable it goes faster" reflects my understanding accurately, but either way the performance difference is not big.

Instead, reading the PG docs I understand that if them are activated DON'T necessarily decrease performances, even in the simplest cases.

Prepared statements may improve performance if you prepare a statement once and then use it multiple times. But what really happens in practice is more like

prepare a statement
use the statement
reset the session
repeat

Oh wow.
This makes me understand the amount of lack of knowledge that I already felt I had.

reset the session

Can you add a page in the docs that explains well how a DB connection works using Bun?
Today there are so many things to learn and it is often very convenient to copy code from the "Getting started" page without really understanding what you are doing.
I ask you only a few lines (even schematic) that I can then also improve with PR.
Or maybe we can link to some guides that explain well how the connection to a db between Golang, Bun (or others) and Postgres works.
Please, we newbies need it!

I try to update docs on a regular basis, but I don't think that this is kind of information that new users should worry about. Even for experienced users my advice is to not waste your time on prepared statements (with Postgres). No matter what database client you are using. There is nothing bad with it, but it is a premature optimization and there are better ways to speedup your queries (batching).
So I don't see the point in writing an article about prepared statements that in the end says "don't use prepared statements". Most users already don't.


Deploy using UI

https://www.kubeflow.org/docs/gke/deploy/deploy-ui/
The link is broken:
https://master.kubeflow.org/docs/gke/deploy/deploy-ui/deploy-cli.md

Hi @anton-wundeman Thanks for bringing this up, appreciate it!
/assign @Bobgy @8bitmp3 @RFMVasconcelos

@anton-wundeman For Kubeflow 1.0, the link to deploying with UI is: https://v1-0-branch.kubeflow.org/docs/gke/deploy/deploy-ui/ (you can switch branches in the docs to find the guides to older KF versions).
As far as I know, from Kubeflow 1.1:

... deploying Kubeflow via the click to deploy web application is no longer supported. Please use kustomize and kpt to deploy Kubeflow.

Similar Issue https://github.com/kubeflow/website/issues/2095.
Does this resolve the Issue?

@8bitmp3 Deploying with the UI is no longer supported even for older versions.
The link to "deploy using kustomize and kpt" appears to link to https://www.kubeflow.org/docs/gke/deploy/deploy-cli/ which is correct; fixed by #2119


Need to merge code to main often (once a day) so others are not blocked and can continue development

Noted.

Noted.


No syntax highlighting in docs.rs docs and are in a poor state.

Probably because should_fail is given as an attribute in the code blocks so that tests still pass. To get both to work, we should follow this part of the Rust docs:

Yes, that's right: you can add lines that start with #, and they will be hidden from the output, but will be used when compiling your code. You can use this to your advantage. In this case, documentation comments need to apply to some kind of function, so if I want to show you just a documentation comment, I need to add a little function definition below it. At the same time, it's only there to satisfy the compiler, so hiding it makes the example more clear. You can use this technique to explain longer examples in detail, while still preserving the testability of your documentation.

The documentation itself is also pretty bad and needs some work.

should_fail isn't a thing that exists, perhaps you meant should_panic but you probably actually wanted to use no_run.


cannot convert 0 (untyped int constant) to struct{ExitCode uint32}

Compile time error while compiling project
github.com/kubescape/kubevuln/scanner
scanner\anchorescan.go:412:49: cannot convert 0 (untyped int constant) to struct{ExitCode uint32}
scanner\anchorescan.go:656:50: cannot convert 0 (untyped int constant) to struct{ExitCode uint32}

Maintainers, pls help to review this pr request, compile error while building kubevuln.

Hi! I’m not able to reproduce this on master when building with go version go1.18.3 linux/amd64. The build finishes successfully for me.
I have:

Cloned the repo.
Run make in its root.

And the project has been built successfully.
Maybe check your go version and try again?

I have go version 19
Get Outlook for iOShttps://aka.ms/o0ukef

From: Vlad Klokun @.>
Sent: Thursday, October 13, 2022 2:03:50 PM
To: kubescape/kubevuln @.>
Cc: Mahesh @.>; Author @.>
Subject: Re: [kubescape/kubevuln] cannot convert 0 (untyped int constant) to struct{ExitCode uint32} (PR #21)
Hi! I’m not able to reproduce this on master when building with go version go1.18.3 linux/amd64. The build finishes successfully for me.
I have:

Cloned the repo.
Run make in its root.

And the project has been built successfully.
Maybe check your go version and try again?
—
Reply to this email directly, view it on GitHubhttps://github.com/kubescape/kubevuln/pull/21#issuecomment-1277241646, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASDMHYQUUTXLZHIQ55A4WM3WC7CO5ANCNFSM6AAAAAAQWWSG4I.
You are receiving this because you authored the thread.Message ID: @.***>

@Bezbran Is the anchor scanner still in use? I think this code is deprecated

@Bezbran Is the anchor scanner still in use? I think this code is deprecated

@dwertent, yes, we are still using it.


What is the difference between "Miss" in "Main Errors" and "FalseNeg" in "Special Errors"

As mentioned in the paper:

Missed GT Oracle: Reduce the number of GT in the mAP calculation by the number of missed ground truth.
False Negative Oracle: Set number of GT to the number of true positive detections.

I think these two errors are similar, but their dAP are different.
I wonder what is the difference between them.
Thanks! @dbolya

Hi Yuxin,
Missed detections don't include all false negatives, since a false negative could also be a classification or localization error.
Consider the situation where there's one detection and one ground truth in the image. Let's say that detection perfectly localizes the object, but predicts the wrong class. In this case, we have one false positive (the detection) and one false negative (the GT not properly classified). Since this is a Classification Error, of which that GT is a part of, it is not a Missed Error (since the detector didn't miss it, it just classified it wrong). Thus, the Missed GT Oracle would not fix this error, only the Classification Oracle would (and it fixes both at once by changing the detection to the correct class).
On the other hand, the False Negative Oracle and False Positive Oracles would count this as 2 separate errors, one false negative (the GT), and one false positive (the detection). Under those two oracles, these two errors get fixed individually rather than together (like for classification and localization error).

Everything fell into place~
Thanks for your TIDE & prompt response :)
@dbolya


debian: allow rules to pick ACS_BUILD_OPTS from env

Only now debian builds can be noredist etc.
Old PR: https://github.com/apache/cloudstack/pull/1149
cc @remibergsma

Thanks @bhaisaab I will merge this now, as I count the LGTMs in PR #1149 (in this case running the tests again is not needed).


Add 5.7.1 support

I don't see why from 87c884750b3006943f756dca8467674b61335d25 5.7 wasn't applied on windows as well, maybe CI will show us

Hi @keith and thanks for the PR!
Looks good only needs an update to the version resolver test 👍
I've yet to look into the issues with windows and why it haven't worked since 5.7 😞

I wonder if @compnerd has any advice

updated the tests, hopefully we're good at least on macOS + ubuntu

What has the issue(s) on Windows been?

What has the issue(s) on Windows been?

@compnerd this is the failed test action for Windows: https://github.com/swift-actions/setup-swift/actions/runs/3396434764/jobs/5669030944#step:5:393

3221225781 = 0xC0000135.  I suspect that you are not refreshing the shell and as such are missing changes to Path which results in DLLs not being found.

3221225781 = 0xC0000135. I suspect that you are not refreshing the shell and as such are missing changes to Path which results in DLLs not being found.

@compnerd would choco refreshenv work, if we actually had choco installed on the runner? Or even just running RefreshEnv.cmd if we could include it somehow? https://github.com/chocolatey/choco/blob/stable/src/chocolatey.resources/redirects/RefreshEnv.cmd

I don't know that script, but if it works in any shape like what I do with compnerd/gha-setup-swift, it should work.

avoided the windows bump for now, hoping this works as is


Not working with ember-data v3.2.0-beta.2

After upgrading from 3.2.0-beta.1 to 3.2.0-beta.2 I've got some issues related to serializing fragments:
Error: Assertion Failed: You need to pass a model name to the store's serializerFor method
    at new EmberError (assets/vendor.js:36279:25)
    at Object.assert (assets/vendor.js:36522:15)
    at Class.serializerFor (assets/vendor.js:395562:49)
    at Class.superWrapper [as serializerFor] (assets/vendor.js:67773:22)
    at Class.serializeFragment [as serialize] (assets/vendor.js:396431:30)
    at Class.serializeAttribute (assets/vendor.js:451412:29)
    at snapshot.eachAttribute (assets/vendor.js:451342:14)
    at Ember.get.forEach (assets/vendor.js:436820:16)
    at Map.forEach (<anonymous>)
    at MapWithDeprecations.forEach (assets/vendor.js:433902:22)

This project's tests don't pass either. git bisect points to emberjs/data#5413
/cc @runspired

Given the commit the bisect points at, I suspect model-fragments has a similar race condition to the one we solved in it.

The root cause is that internalModel is now responsible for deciding the current UI value instead of the attr on the record.  This allows us to be lazier about materializing the record.  Fragments is currently dependent on the record being materialized and the properties accessed in order to setup _fragments. This was always likely to be buggy, but now it is even more so. However, we can patch internalModel.setupData similar to our other method extensions to properly setup fragments. I'll have a PR up shortly.

@runspired thanks a ton! I spent some time trying to pinpoint what the issue was and this helps alot.

Not sure where to put this, but I have some code that in ED 3.1 worked:
this.store.createRecord('something', { someModelFragement: { foo: 1 } });

That now requires I set
let something = this.store.createRecord('something');
something.set('someModelFragement', store.createFragment('fragement-name', {foo: 1});

Was the former never supposed to work?

I did some spelunking today to see if I could write something that'd follow along with @runspired's comment above, but found it to be a bit more complex than I had originally thought.
@runspired Would you be able to spend a little bit of time explaining the thought process of your fix and I'll implement?  I got so far as creating a simple dummy repo with my above example and linking edmf.  It doesn't seem as if in createRecord flow that internalModel.setupData is ever called.
Instead it calls:
// in store
let internalModel = this._buildInternalModel
internalModel.loadedData(); // which just emits a data loaded event
return internalModel.getRecord(properties); // which has logic to construct a record given `attributes` `belongsTo` and `hasMany`.

I'm stuck on what function we should extend.
Any help would be very much appreciated.  :beers:


Swift 3 support

Hey, great work with the slider! I used it without any problems with Swift 2.2, but then I migrated to Swift 3 and now I have some small problems, it does not compile because of those lines:
override func layoutSublayersOfLayer(_ layer: CALayer) {
super.layoutSublayersOfLayer(layer)
updateLayerFrames()
}
the error states this function does not override anything in the superclass...

Try changing it to:
override func layoutSublayers(of layer: CALayer) {
super.layoutSublayers(of: layer)
updateLayerFrames()
}
The reason is that this function has been renamed in Swift 3.

Thank you man for a quick solution and a great answer, it of course works :)


The go.mod compatibility level is also set to 1.17. Once 1.19
is released, we should bump to 1.18, as Go always supports the
current version and one older, so we should stick with this as
well.

Comment from @AkihiroSuda on #290 made me think we should have coverage here to avoid breaking things by accident.
The test suite is currently pretty fast, but we can always cut the matrix down if running 3x3 (Go x OS) gets to be too much.


Organization service returns 500 error when querying list of organization

We bumped into this bug when testing the service from the Swagger UI with Rong. The service was started in detach mode.
cc @rrchai

I can get the list of organizations when starting the service with:

nx serve challenge-registry-organization-service
nx serve-detach challenge-registry-organization-service

I can reproduce the error when the organization service is started via the challenge-service-app:
2023-01-10 21:18:33.821  WARN 1 --- [nio-8084-exec-9] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 1146, SQLState: 42S02
2023-01-10 21:18:33.822 ERROR 1 --- [nio-8084-exec-9] o.h.engine.jdbc.spi.SqlExceptionHelper   : Table 'challenge.challenge_organization' doesn't exist


Unable to scroll first section-header into view using arrow keys

🐛 Bug Report
Once you scroll the first section out view it is impossible to scroll it back into view unless you use the the mouse.
🤔 Expected Behavior
I would expect that if you scroll the first item in a section into view the header not only the item is scrolled into view but also its section header
😯 Current Behavior
Impossible to scroll section-header into view. See the following screencast and one can reproduce in the storybook
https://user-images.githubusercontent.com/52631/110013921-79c13f80-7d22-11eb-93ee-c85d236688a6.mp4
💁 Possible Solution
I hacked a bit into Virtualizer.ts
    let x = this.visibleRect.x;
    let y = this.visibleRect.y;
    let minX = layoutInfo.rect.x - offsetX;
    let minY = layoutInfo.rect.y - offsetY;
    if (layoutInfo.parentKey) {
      let parentLayoutInfo = this.layout.getLayoutInfo(layoutInfo.parentKey);
      if (parentLayoutInfo && parentLayoutInfo.rect.y === layoutInfo.rect.y) {
        let headerInfo = this.layout.getLayoutInfo(layoutInfo.parentKey + ':header');
        if (headerInfo) {
          minY = headerInfo.rect.y - offsetY;
        }
      }
    }

where I added the IF-Block, unfortunately one can not access the header-layout-info via API so this feels a bit hacky because I rely on the fact that the header info is stored with the key + ':header' (which is an implementation detail of ListLayout) so ideally one could call an API on Layout to get the information required.
This change does not only scroll the primary section header into view but always the section header if you reach the first item in a section. Another small caveat is that I can not differentiate if you nativate via keys or using the mouse so if you click on the first item in a section and although the item is visible in the view port it still scrolls because the section is not visible
🔦 Context

💻 Code Sample

🌍 Your Environment

Software
Version(s)

react-spectrum

Browser

Operating System

🧢 Your Company/Team

🕷 Tracking Issue (optional)

@ktabors, @tomsontom Scrolling the preceding header into view to ensure that keyboard-only users can access group heading information seems like a reasonable request. Another option, which may have the additional benefit of allowing group headings to be accessed with VoiceOver on iOS, would be to make the headings focusable, like other items in the list. Considering we've had requests to also make disabled items focusable, this may be worth taking up in that context as well.

We will take some time to explore and do research on possible solutions.

@ktabors any news on this - If there's a decision what should be done I'd spend some time implementing it.

We'll want to investigate scrolling the section header into view when the user focuses the first item in a section.


Ui-router V1 component-routing

Hi!
I'm trying to use ui.router(@version v1.0.0-beta.1) with component routed and oc.lazyLoad(@version v1.0.9)
WORK'S FINE
  angular.module('app').config(
    ['$stateProvider',
    function ($stateProvider) {

      $stateProvider
        .state('app.sessions', {
          url: '/sessions',
          template: '<sessions-comp></sessions-comp>', //this is the difference
          resolve: {
            store: function ($ocLazyLoad) {
              return $ocLazyLoad.load(
                {
                  name: "sessions",
                  files: ["app/dev/sessions/sessions.js",
                    "app/dev/sessions/sessions/sessions.component.js",
                    "app/dev/sessions/shared/sessions.service.js",
                    "app/dev/sessions/shared/sessions-list/sessions-list.component.js"]
                }
              );
            }
          }
        });
      }
    ]
    );

NOT WORKING
  angular.module('app').config(
    ['$stateProvider',
    function ($stateProvider) {

      $stateProvider
        .state('app.sessions', {
          url: '/sessions',
          component: 'sessionsComp', //this is the difference
          resolve: {
            store: function ($ocLazyLoad) {
              return $ocLazyLoad.load(
                {
                  name: "sessions",
                  files: ["app/dev/sessions/sessions.js",
                    "app/dev/sessions/sessions/sessions.component.js",
                    "app/dev/sessions/shared/sessions.service.js",
                    "app/dev/sessions/shared/sessions-list/sessions-list.component.js"]
                }
              );
            }
          }
        });
      }
    ]
    );

Does anyone know any solution?
Thanks!

@alo where did you define sessionsComp? Is it an html form?

This is the definition of the component(In that case is a list of elements):
app/dev/sessions/sessions/sessions.component.js
angular
    .module('sessions')
    .component('sessionsComp', {
      templateUrl: 'app/dev/sessions/sessions/sessions.component.html',
      controller: SessionsComponentController,
      bindings: {
        sessions: '<',
      },
    });

  SessionsComponentController.$injection = [ 'SessionsService' ];
  function SessionsComponentController( SessionsService ){
    var vm = this;

    vm.$onInit = function(){
      vm.sessions = vm.sessions.data;
    };

  }

app/dev/sessions/sessions/sessions.component.html

      <md-content layout-padding>

          <cdy-sessions-list cdy-sessions="$ctrl.sessions"></cdy-sessions-list>

      </md-content>

Thanks

@djKooks I've write this repo if you want to test
https://github.com/alo/oclazyload-uirouter-component-routing-tests
Thanks

Resolved and explained here:
https://github.com/angular-ui/ui-router/issues/3102#issuecomment-255422835


When EngineConn process exits, the shutdown hook only closes the default Executor, not all Executors.

When EngineConn process exits, the shutdown hook only closes the default Executor. It should close all executors in the senario with multiple Executors (for example Spark).
For multi-executor EngineConns (such as SparkEngineConn), some executors are not shutdown properly so Yarn application cannot be closed normally.

Fixed in #822


Feature alert: wrong DNS records

Idea: notify user when the DNS records are not what they are supposed to be.

Maybe the following issues can be made in to a feature audit:

https://github.com/nozel-org/serverbot/issues/77
https://github.com/nozel-org/serverbot/issues/75
https://github.com/nozel-org/serverbot/issues/68

It's too bad that the -a parameter already is being used by --alert. Maybe I have to rename one of the two then.

Replaced by https://github.com/nozel-org/serverbot/issues/98.


Improve parsing performance by reducing token cloning

This basically just takes the approach proposed by @alamb in #1561 and runs with it.

Part of https://github.com/apache/datafusion-sqlparser-rs/issues/1558

The main changes involved:

A number of token parsing methods introduced that return a &TokenWithSpan instead of a cloned TokenWithSpan.
A bunch of updates to make use of these new ref returning functions.
Refactoring some of the core peek/expect/consume methods to avoid unnecessary clones
Replace all but one use of expect_keyword with expect_keyword_is.

Results on my M1 MacBook Pro:
# main:00abaf218

❯ cargo bench -- --save-baseline main
    Finished `bench` profile [optimized] target(s) in 0.11s
     Running benches/sqlparser_bench.rs (target/release/deps/sqlparser_bench-9f7a6e6e193d8f5c)
sqlparser-rs parsing benchmark/sqlparser::select
                        time:   [4.2036 µs 4.2197 µs 4.2372 µs]
                        change: [-2.4618% -2.1421% -1.8071%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 9 outliers among 100 measurements (9.00%)
  6 (6.00%) high mild
  3 (3.00%) high severe
Benchmarking sqlparser-rs parsing benchmark/sqlparser::with_select: Collecting 100 samples in estimated 5.0715 s (278k iteratio
sqlparser-rs parsing benchmark/sqlparser::with_select
                        time:   [18.360 µs 18.425 µs 18.486 µs]
                        change: [-5.3763% -2.5663% -0.8662%] (p = 0.02 < 0.05)
                        Change within noise threshold.

# reduce-token-cloning:1ffa2aa4

❯ cargo bench -- --baseline main
   Compiling sqlparser v0.52.0 (/Users/davisp/github/davisp/datafusion-sqlparser-rs)
   Compiling sqlparser_bench v0.1.0 (/Users/davisp/github/davisp/datafusion-sqlparser-rs/sqlparser_bench)
    Finished `bench` profile [optimized] target(s) in 15.76s
     Running benches/sqlparser_bench.rs (target/release/deps/sqlparser_bench-9f7a6e6e193d8f5c)
sqlparser-rs parsing benchmark/sqlparser::select
                        time:   [2.9006 µs 2.9020 µs 2.9034 µs]
                        change: [-31.254% -31.013% -30.769%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 10 outliers among 100 measurements (10.00%)
  4 (4.00%) low mild
  2 (2.00%) high mild
  4 (4.00%) high severe
Benchmarking sqlparser-rs parsing benchmark/sqlparser::with_select: Collecting 100 samples in estimated 5.0415 s (364k iteratio
sqlparser-rs parsing benchmark/sqlparser::with_select
                        time:   [13.785 µs 13.813 µs 13.843 µs]
                        change: [-25.054% -24.778% -24.494%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 2 outliers among 100 measurements (2.00%)
  2 (2.00%) high mild

I merged this PR up to main to resolve a conflict

This PR has another conflict now
What I am hoping / planning to do is make the suggested doc improvements above and get it merged in. I also think it would be fine to merge it in and make the doc comment improvements as a follow on PR
I'll try to do this if no one else beats me to it

I am going to merge this PR up to resolve the conflicts and make some of the suggested improvements in documentation, etc as a follow on PR

I merged up to resolve a conflict. While reviewing the code I have some ideas on how to simplify it -- I'll try and make a PR later today. It will be a fun coding exercuse

Thanks again @davisp @Dandandan and @iffyio

Some follow on PRs:

https://github.com/apache/datafusion-sqlparser-rs/pull/1617
https://github.com/apache/datafusion-sqlparser-rs/pull/1618


depricate doi in favor of url

closes https://github.com/formal-methods-mpi/Literature-Research-Pilot/issues/53

Checking for DOIs only makes sense if every entry would have a doi. However, we require any entry to have at least an url (which is doi.org/theactualdoi for doi-ed entries).


ApplicationInsights.config override to Azure Gov endpoints documentation is misleading

[Enter feedback here]
For anyone having trouble setting up gov endpoints in their applicationinsights.config for .NET framework, this page is very misleading.

The image would suggest that TelemetryChannel.EndpointAddress would be set as a top level node of the config file. But when you do this it silently fails and uses commercial endpoint instead. To make it work, you have to set that down in the TelemetrySinks section like below

Very difficult to figure out something is wrong since AI falls back to defaults silently when its set at the top level.

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

ID: 2b71f799-dc93-1ae1-8b6f-4b37ae35b10b
Version Independent ID: e3543e04-865c-852f-8dce-9fb1f4a39fcf
Content: Azure Application Insights override default SDK endpoints - Azure Monitor
Content Source: articles/azure-monitor/app/custom-endpoints.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @lgayhardt
Microsoft Alias: lagayhar

@PTC-JoshuaMatthews Thanks for your comment! We will review and provide an update as appropriate.

Assigning to content author @lgayhardt for review

@PTC-JoshuaMatthews Thanks for the feedback. We updated the doc to show TelemetrySink. The update should be live tomorrow.
#please-close


XML and JSON schemas

I would add a "question" label here, but it appears that this repo is not supporting labels.
Where, in this repo or another, is the actual XML and JSON schema for reporting the MIPS QA measures (specifically or inclusive of the Registry variety of the same)?  Preferably compliant with w3.org/XML/Schema and/or json-schema.org.
If this does not exist, I would love to participate in such a project, as well as contributing web-standard type content for tools that parse x12 and ccrl file data to calculate said measures (which already exists).
There is a great need out there for not only a clean set of standards for the XML and JSON formats (and NOT in a messy PDF) but also for full real-world examples of output drawn from a real-world data set showing end-to-end implementation.  Such an example and an open platform will allow many people to participate in the improvement process (something we also call "Quality Assurance") for these tools that are attempting to ensure the quality of other things.
Ironic...I know.

Hi @aethelwulffe! Thanks so much for reaching out. In response to your request, we've put together this repository which contains both JSON and XML schemas. Does this help?
I agree with you that a real-world example would be incredibly useful!

Hi @marimiyachi
I am moving my issue over to that repo.  I see you have been at that project for a couple of days, and I should have been checking for new repos.  See you there.

https://github.com/CMSgov/qpp-submissions-schema/issues/3


msh3reach in addition to quicreach

I can also do this outside of the repo but I can also add this into the repro if you are interested. It fits kind of loosely to the scope of the repo.
Basically quicreach since it only does the QUIC handshake doesnt know if the server actually advertises quic. This means that if you are hooked into a CDN provider you might have quic enabled on your IP pool but dont advertise it.
So concretely the recommendation here would be to use https://github.com/nibanks/msh3  and try out all the domains that can do the QUIC handshake and inspect the alt-svc header to see if they advertise h3.

As much as I'd like it to me, msh3 isn't officially supported by MSFT right now (only a pet project of mine). So, we can't create an msh3reach here, or in the microsoft organization currently. I would support you, or someone else, essentially copy/pasting this project and creating an msh3reach on top of msh3. I would definitely star it, and help out as I can.

Maybe you could submodule this repo to share the domains.hpp file.

Makes sense, thanks for considering!
Would you be interested in this feature regardless of using msh3? If you were interested in the data then any http library could be used to do this. We dont even have to do an HTTP3 connection to see the value of the Alt-Svc header.
Otherwise, I can always implement this on my fork of the repo :)
(btw compiled curl with http3 with msh3 and msquic and it works like a charm, nice job!)

Would you be interested in this feature regardless of using msh3? If you were interested in the data then any http library could be used to do this. We dont even have to do an HTTP3 connection to see the value of the Alt-Svc header.

Yes it might be interesting to know which hosts are advertising HTTP/3, but I don't think this project is the right place for that.

(btw compiled curl with http3 with msh3 and msquic and it works like a charm, nice job!)

Thanks!
I'm going to close this issue since it's been decided we won't add anything to quicreach for this.