-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
whist-server | INFO: 192.168.178.22:51308 - "GET / HTTP/1.1" 200 OK
whist-server | ERROR: Exception in ASGI application
whist-server | Traceback (most recent call last):
whist-server | File "/usr/local/lib/python3.10/site-packages/starlette/responses.py", line 318, in __call__
whist-server | stat_result = await anyio.to_thread.run_sync(os.stat, self.path)
whist-server | File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 31, in run_sync
whist-server | return await get_asynclib().run_sync_in_worker_thread(
whist-server | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
whist-server | return await future
whist-server | File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 867, in run
whist-server | result = context.run(func, *args)
whist-server | FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.10/site-packages/whist_server/api/../../static/ace-of-spades-icon-17.jpg'
whist-server |
whist-server | During handling of the above exception, another exception occurred:
whist-server |
whist-server | Traceback (most recent call last):
whist-server | File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 372, in run_asgi
whist-server | result = await app(self.scope, self.receive, self.send)
whist-server | File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 75, in __call__
whist-server | return await self.app(scope, receive, send)
whist-server | File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 269, in __call__
whist-server | await super().__call__(scope, receive, send)
whist-server | File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 124, in __call__
whist-server | await self.middleware_stack(scope, receive, send)
whist-server | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 184, in __call__
whist-server | raise exc
whist-server | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in __call__
whist-server | await self.app(scope, receive, _send)
whist-server | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/cors.py", line 84, in __call__
whist-server | await self.app(scope, receive, send)
whist-server | File "/usr/local/lib/python3.10/site-packages/starlette/exceptions.py", line 93, in __call__
whist-server | raise exc
whist-server | File "/usr/local/lib/python3.10/site-packages/starlette/exceptions.py", line 82, in __call__
whist-server | await self.app(scope, receive, sender)
whist-server | File "/usr/local/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__
whist-server | raise e
whist-server | File "/usr/local/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
whist-server | await self.app(scope, receive, send)
whist-server | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 670, in __call__
whist-server | await route.handle(scope, receive, send)
whist-server | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 266, in handle
whist-server | await self.app(scope, receive, send)
whist-server | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 68, in app
whist-server | await response(scope, receive, send)
whist-server | File "/usr/local/lib/python3.10/site-packages/starlette/responses.py", line 321, in __call__
whist-server | raise RuntimeError(f"File at path {self.path} does not exist.")
whist-server | RuntimeError: File at path /usr/local/lib/python3.10/site-packages/whist_server/api/../../static/ace-of-spades-icon-17.jpg does not exist.
whist-server | INFO: 192.168.178.22:51308 - "GET /favicon.ico HTTP/1.1" 500 Internal Server Error