New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Exception in ASGI application #11855
Comments
Same |
Disabling depth-lib fixed it for me. Why did it break now, 3 months after the last lib update, is anyone's guess. |
for me it was installing 3.33.1 gradio instead of 3.32 |
It definately isn't with the extension. I've tried removing all extensions and then ran it again. It's definately related to Stable Diffusion Webui |
Did it. I've also upgraded all the libraries & extensions to the latest version. Didn't worked out, either |
Hm. Try git reset all, if nothing works just copy the important parts and
reinstall
…On Tue, Jul 18, 2023, 19:53 Nayan Kasturi ***@***.***> wrote:
for me it was installing 3.33.1 gradio instead of 3.32
Did it. I've also upgraded all the libraries & extensions to the latest
version. Didn't worked out, either
—
Reply to this email directly, view it on GitHub
<#11855 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADZANFDVZTHXOCMEKJVUXUDXQ3ESNANCNFSM6AAAAAA2ODGMAQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
|
Got it solved out. It's due to the latest update in sd-webui-depth-lib Extension. Uninstalling it or Going back to commit 28a2238 solved it. |
had the same problem when updated to 1.5RC. switch gradio_client back to 0.2.7 solve the problem |
God bless you, it worked!! |
if you don't want to reinstall gradio client, you can check jexom/sd-webui-depth-lib#36 |
Thankyou. It worked 👍 |
Thank you, It worked |
My situation is that after installing depth-lib, an error was reported. I just deleted the depth-lib extension and it's fine |
There's an issue with the depth-lib repo. Do not install it or if already installed, delete the repo before running the SD WebUI. |
TLDR: Longer version: Steps I performed to get my stable diffusion working again:
The venv folder was rebuilt and started working. The reason I take extra care to point this out is because I tried running SD with no extensions in the /extensions folder and still got the same error. I can only guess that miaoshouai-assistant puts something in the folder that causes the issue, or requires a dependency that causes the issue. Hope this helps ♥ |
Is there an existing issue for this?
What happened?
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/uvicorn/protocols/http/h11_impl.py", line 408, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/usr/local/lib/python3.10/dist-packages/uvicorn/middleware/proxy_headers.py", line 84, in call
return await self.app(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/fastapi/applications.py", line 289, in call
await super().call(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/applications.py", line 122, in call
await self.middleware_stack(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 184, in call
raise exc
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 162, in call
await self.app(scope, receive, _send)
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/cors.py", line 83, in call
await self.app(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/gzip.py", line 24, in call
await responder(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/gzip.py", line 44, in call
await self.app(scope, receive, self.send_with_gzip)
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/exceptions.py", line 79, in call
raise exc
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "/usr/local/lib/python3.10/dist-packages/fastapi/middleware/asyncexitstack.py", line 20, in call
raise e
File "/usr/local/lib/python3.10/dist-packages/fastapi/middleware/asyncexitstack.py", line 17, in call
await self.app(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 718, in call
await route.handle(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 66, in app
response = await func(request)
File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 273, in app
raw_response = await run_endpoint_function(
File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 192, in run_endpoint_function
return await run_in_threadpool(dependant.call, **values)
File "/usr/local/lib/python3.10/dist-packages/starlette/concurrency.py", line 41, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
File "/usr/local/lib/python3.10/dist-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
File "/usr/local/lib/python3.10/dist-packages/gradio/routes.py", line 271, in api_info
return gradio.blocks.get_api_info(config, serialize) # type: ignore
File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 504, in get_api_info
serializer = serializing.COMPONENT_MAPPINGtype
KeyError: 'dataset'
Steps to reproduce the problem
What should have happened?
Model should get change easily and images should be generated & NO BUGS
Version or Commit where the problem happens
v1.4.1
What Python version are you running on ?
Python 3.10.x
What platforms do you use to access the UI ?
Other/Cloud
What device are you running WebUI on?
Other GPUs
Cross attention optimization
xformers
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
List of extensions
3d openpose
aspect ratio helper
batch links
civitai browser
controlnet
depth library
huggingface
image browser
lycoris
openpose_editor
posex
remove bg
tunnels
tag complete
Console logs
Additional information
I'm working on Colab
The text was updated successfully, but these errors were encountered: