Skip to content
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

Docker version UI errors #3

Open
shiohiyoko opened this issue Dec 21, 2023 · 0 comments
Open

Docker version UI errors #3

shiohiyoko opened this issue Dec 21, 2023 · 0 comments

Comments

@shiohiyoko
Copy link
Collaborator

when running docker version, the ui shows up, ut doesn't work. All of the buttons does not work and gives this error from f12

index.js:365 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'unnamed_endpoints')
    at Object.j [as submit] (index.js:365:43)
    at pe (Blocks.svelte:286:6)
    at je (Blocks.svelte:280:5)

And the python error

hold-my-nerf  | ERROR:    Exception in ASGI application
hold-my-nerf  | Traceback (most recent call last):
hold-my-nerf  |   File "/usr/local/lib/python3.10/dist-packages/uvicorn/protocols/http/h11_impl.py", line 408, in run_asgi
hold-my-nerf  |     result = await app(  # type: ignore[func-returns-value]
hold-my-nerf  |   File "/usr/local/lib/python3.10/dist-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__
hold-my-nerf  |     return await self.app(scope, receive, send)
hold-my-nerf  |   File "/usr/local/lib/python3.10/dist-packages/fastapi/applications.py", line 1106, in __call__
hold-my-nerf  |     await super().__call__(scope, receive, send)
hold-my-nerf  |   File "/usr/local/lib/python3.10/dist-packages/starlette/applications.py", line 122, in __call__
hold-my-nerf  |     await self.middleware_stack(scope, receive, send)
hold-my-nerf  |   File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 184, in __call__
hold-my-nerf  |     raise exc
hold-my-nerf  |   File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 162, in __call__
hold-my-nerf  |     await self.app(scope, receive, _send)
hold-my-nerf  |   File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/cors.py", line 83, in __call__
hold-my-nerf  |     await self.app(scope, receive, send)
hold-my-nerf  |   File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/exceptions.py", line 79, in __call__
hold-my-nerf  |     raise exc
hold-my-nerf  |   File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/exceptions.py", line 68, in __call__
hold-my-nerf  |     await self.app(scope, receive, sender)
hold-my-nerf  |   File "/usr/local/lib/python3.10/dist-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
hold-my-nerf  |     raise e
hold-my-nerf  |   File "/usr/local/lib/python3.10/dist-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
hold-my-nerf  |     await self.app(scope, receive, send)
hold-my-nerf  |   File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 718, in __call__
hold-my-nerf  |     await route.handle(scope, receive, send)
hold-my-nerf  |   File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 276, in handle
hold-my-nerf  |     await self.app(scope, receive, send)
hold-my-nerf  |   File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 66, in app
hold-my-nerf  |     response = await func(request)
hold-my-nerf  |   File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 274, in app
hold-my-nerf  |     raw_response = await run_endpoint_function(
hold-my-nerf  |   File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 193, in run_endpoint_function
hold-my-nerf  |     return await run_in_threadpool(dependant.call, **values)
hold-my-nerf  |   File "/usr/local/lib/python3.10/dist-packages/starlette/concurrency.py", line 41, in run_in_threadpool
hold-my-nerf  |     return await anyio.to_thread.run_sync(func, *args)
hold-my-nerf  |   File "/usr/local/lib/python3.10/dist-packages/anyio/to_thread.py", line 33, in run_sync
hold-my-nerf  |     return await get_asynclib().run_sync_in_worker_thread(
hold-my-nerf  |   File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
hold-my-nerf  |     return await future
hold-my-nerf  |   File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 807, in run
hold-my-nerf  |     result = context.run(func, *args)
hold-my-nerf  |   File "/usr/local/lib/python3.10/dist-packages/gradio/routes.py", line 282, in api_info
hold-my-nerf  |     return gradio.blocks.get_api_info(config, serialize)  # type: ignore
hold-my-nerf  |   File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 504, in get_api_info
hold-my-nerf  |     serializer = serializing.COMPONENT_MAPPING[type]()
hold-my-nerf  | KeyError: 'dataset'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant