lllyasviel / lllyasviel/ControlNet
ERROR: Exception in ASGI application
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 34.1k
- Forks
- 3k
- PR merge metrics
- No merged PRs in 30d
Description
Finally finished installing....
However, an error occurs when uploading a image.
I am a window11 user.
Does anyone know about this problem?
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\naver\AppData\Roaming\Python\Python310\site-packages\uvicorn\protocols\http\h11_impl.py", line 407, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "C:\Users\naver\AppData\Roaming\Python\Python310\site-packages\uvicorn\middleware\proxy_headers.py", line 69, in call
return await self.app(scope, receive, send)
File "C:\Users\naver\AppData\Roaming\Python\Python310\site-packages\fastapi\applications.py", line 1054, in call
await super().call(scope, receive, send)
File "C:\Users\naver\AppData\Roaming\Python\Python310\site-packages\starlette\applications.py", line 123, in call
await self.middleware_stack(scope, receive, send)
File "C:\Users\naver\AppData\Roaming\Python\Python310\site-packages\starlette\middleware\errors.py", line 186, in call
raise exc
File "C:\Users\naver\AppData\Roaming\Python\Python310\site-packages\starlette\middleware\errors.py", line 164, in call
await self.app(scope, receive, _send)
File "C:\Users\naver\AppData\Roaming\Python\Python310\site-packages\starlette\middleware\cors.py", line 85, in call
await self.app(scope, receive, send)
File "C:\Users\naver\AppData\Roaming\Python\Python310\site-packages\starlette\middleware\exceptions.py", line 65, in call
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "C:\Users\naver\AppData\Roaming\Python\Python310\site-packages\starlette_exception_handler.py", line 64, in wrapped_app
raise exc
File "C:\Users\naver\AppData\Roaming\Python\Python310\site-packages\starlette_exception_handler.py", line 53, in wrapped_app
await app(scope, receive, sender)
File "C:\Users\naver\AppData\Roaming\Python\Python310\site-packages\starlette\routing.py", line 756, in call
await self.middleware_stack(scope, receive, send)
File "C:\Users\naver\AppData\Roaming\Python\Python310\site-packages\starlette\routing.py", line 776, in app
await route.handle(scope, receive, send)
File "C:\Users\naver\AppData\Roaming\Python\Python310\site-packages\starlette\routing.py", line 297, in handle
await self.app(scope, receive, send)
File "C:\Users\naver\AppData\Roaming\Python\Python310\site-packages\starlette\routing.py", line 77, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "C:\Users\naver\AppData\Roaming\Python\Python310\site-packages\starlette_exception_handler.py", line 64, in wrapped_app
raise exc
File "C:\Users\naver\AppData\Roaming\Python\Python310\site-packages\starlette_exception_handler.py", line 53, in wrapped_app
await app(scope, receive, sender)
File "C:\Users\naver\AppData\Roaming\Python\Python310\site-packages\starlette\routing.py", line 72, in app
response = await func(request)
File "C:\Users\naver\AppData\Roaming\Python\Python310\site-packages\fastapi\routing.py", line 278, in app
raw_response = await run_endpoint_function(
File "C:\Users\naver\AppData\Roaming\Python\Python310\site-packages\fastapi\routing.py", line 193, in run_endpoint_function
return await run_in_threadpool(dependant.call, **values)
File "C:\Users\naver\AppData\Roaming\Python\Python310\site-packages\starlette\concurrency.py", line 42, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
File "C:\Users\naver\AppData\Roaming\Python\Python310\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "C:\Users\naver\AppData\Roaming\Python\Python310\site-packages\anyio_backends_asyncio.py", line 2144, in run_sync_in_worker_thread
return await future
File "C:\Users\naver\AppData\Roaming\Python\Python310\site-packages\anyio_backends_asyncio.py", line 851, in run
result = context.run(func, *args)
File "C:\Users\naver\anaconda3\lib\site-packages\gradio\routes.py", line 282, in api_info
return gradio.blocks.get_api_info(config, serialize) # type: ignore
File "C:\Users\naver\anaconda3\lib\site-packages\gradio\blocks.py", line 504, in get_api_info
serializer = serializing.COMPONENT_MAPPING[type](https://github.com/williamyang1991/Rerender_A_Video/issues/131)
KeyError: 'dataset'
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The traceback points to Gradio's routes.py and blocks.py, ending in KeyError: 'dataset' during an image upload on Windows 11. Start by reproducing the upload with the reported environment and inspect that dependency path; done means the upload completes without this exception and the failure is covered by a reproducible check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fastapi, python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100