Skip to content

[backend] Main menu image deadlock #40

@hubicios

Description

@hubicios

Sometimes image is not being loaded.
image

Exception inside application: Single thread executor already being used, would deadlock
Traceback (most recent call last):
  File "/home/solhu/Documents/Semester07/PDI/RobotCheckers/venv/lib/python3.9/site-packages/channels/staticfiles.py", line 40, in __call__
    return await self.staticfiles_handler_class()(
  File "/home/solhu/Documents/Semester07/PDI/RobotCheckers/venv/lib/python3.9/site-packages/channels/staticfiles.py", line 56, in __call__
    return await super().__call__(scope, receive, send)
  File "/home/solhu/Documents/Semester07/PDI/RobotCheckers/venv/lib/python3.9/site-packages/channels/http.py", line 198, in __call__
    await self.handle(scope, async_to_sync(send), body_stream)
  File "/home/solhu/Documents/Semester07/PDI/RobotCheckers/venv/lib/python3.9/site-packages/asgiref/sync.py", line 409, in __call__
    raise RuntimeError(
RuntimeError: Single thread executor already being used, would deadlock
HTTP GET /static/resources/img/main_menu_image.svg 500 [0.44, 127.0.0.1:56402]

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions