Open rbrisita opened 5 months ago
Describe the bug Asyncio queues are created outside of the current event loop which results in this error:
Task <Task pending name='Task-16' coro=<send_messages() running at ~/01/software/source/server/server.py:199> cb=[gather.<locals>._done_callback() at /usr/lib/python3.9/asyncio/tasks.py:764]> got Future <Future pending> attached to a different loop
This stems from 01/software/source/server/server.py::websocket_endpoint function and the send_task statement.
01/software/source/server/server.py::websocket_endpoint
send_task
To Reproduce Steps to reproduce the behavior:
poetry run 01 --local
Expected behavior Request and response when interacting with 01OS.
Desktop (please complete the following information):
Additional context Other PRs were merged and an exception printed out to allow this error to be seen. PR to resolve this will follow.
Describe the bug Asyncio queues are created outside of the current event loop which results in this error:
This stems from
01/software/source/server/server.py::websocket_endpoint
function and thesend_task
statement.To Reproduce Steps to reproduce the behavior:
poetry run 01 --local
Expected behavior Request and response when interacting with 01OS.
Desktop (please complete the following information):
Additional context Other PRs were merged and an exception printed out to allow this error to be seen. PR to resolve this will follow.