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

neffi's things #337

Closed
antoineverin opened this issue Oct 22, 2024 · 0 comments · Fixed by #341
Closed

neffi's things #337

antoineverin opened this issue Oct 22, 2024 · 0 comments · Fixed by #341
Assignees
Labels
bug Something isn't working

Comments

@antoineverin
Copy link
Contributor

django    | Traceback (most recent call last):
django    |   File "/usr/local/lib/python3.12/site-packages/channels/routing.py", line 62, in __call__
django    |     return await application(scope, receive, send)
django    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django    |   File "/usr/local/lib/python3.12/site-packages/channels/security/websocket.py", line 37, in __call__
django    |     return await self.application(scope, receive, send)
django    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django    |   File "/usr/local/lib/python3.12/site-packages/channels/sessions.py", line 47, in __call__
django    |     return await self.inner(dict(scope, cookies=cookies), receive, send)
django    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django    |   File "/usr/local/lib/python3.12/site-packages/channels/sessions.py", line 263, in __call__
django    |     return await self.inner(wrapper.scope, receive, wrapper.send)
django    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django    |   File "/usr/local/lib/python3.12/site-packages/channels/auth.py", line 185, in __call__
django    |     return await super().__call__(scope, receive, send)
django    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django    |   File "/usr/local/lib/python3.12/site-packages/channels/middleware.py", line 24, in __call__
django    |     return await self.inner(scope, receive, send)
django    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django    |   File "/usr/local/lib/python3.12/site-packages/channels/routing.py", line 132, in __call__
django    |     return await application(
django    |            ^^^^^^^^^^^^^^^^^^
django    |   File "/usr/local/lib/python3.12/site-packages/channels/consumer.py", line 94, in app
django    |     return await consumer(scope, receive, send)
django    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django    |   File "/usr/local/lib/python3.12/site-packages/channels/consumer.py", line 58, in __call__
django    |     await await_many_dispatch(
django    |   File "/usr/local/lib/python3.12/site-packages/channels/utils.py", line 50, in await_many_dispatch
django    |     await dispatch(result)
django    |   File "/usr/local/lib/python3.12/site-packages/channels/consumer.py", line 73, in dispatch
django    |     await handler(message)
django    |   File "/app/games/tournament.py", line 286, in send_next_round_id
django    |     else {"type": "next_round_id", "id": uuid_list[i]}
django    |                                          ~~~~~~~~~^^^
django    | IndexError: list index out of range
django    | 2024-10-22 10:28:02,264 [ERROR] daphne.server: Exception inside application: list index out of range
django    | Traceback (most recent call last):
django    |   File "/usr/local/lib/python3.12/site-packages/channels/routing.py", line 62, in __call__
django    |     return await application(scope, receive, send)
django    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django    |   File "/usr/local/lib/python3.12/site-packages/channels/security/websocket.py", line 37, in __call__
django    |     return await self.application(scope, receive, send)
django    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django    |   File "/usr/local/lib/python3.12/site-packages/channels/sessions.py", line 47, in __call__
django    |     return await self.inner(dict(scope, cookies=cookies), receive, send)
django    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django    |   File "/usr/local/lib/python3.12/site-packages/channels/sessions.py", line 263, in __call__
django    |     return await self.inner(wrapper.scope, receive, wrapper.send)
django    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django    |   File "/usr/local/lib/python3.12/site-packages/channels/auth.py", line 185, in __call__
django    |     return await super().__call__(scope, receive, send)
django    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django    |   File "/usr/local/lib/python3.12/site-packages/channels/middleware.py", line 24, in __call__
django    |     return await self.inner(scope, receive, send)
django    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django    |   File "/usr/local/lib/python3.12/site-packages/channels/routing.py", line 132, in __call__
django    |     return await application(
django    |            ^^^^^^^^^^^^^^^^^^
django    |   File "/usr/local/lib/python3.12/site-packages/channels/consumer.py", line 94, in app
django    |     return await consumer(scope, receive, send)
django    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django    |   File "/usr/local/lib/python3.12/site-packages/channels/consumer.py", line 58, in __call__
django    |     await await_many_dispatch(
django    |   File "/usr/local/lib/python3.12/site-packages/channels/utils.py", line 50, in await_many_dispatch
django    |     await dispatch(result)
django    |   File "/usr/local/lib/python3.12/site-packages/channels/consumer.py", line 73, in dispatch
django    |     await handler(message)
django    |   File "/app/games/tournament.py", line 286, in send_next_round_id
django    |     else {"type": "next_round_id", "id": uuid_list[i]}
django    |                                          ~~~~~~~~~^^^
django    | IndexError: list index out of range
@Neffi42 Neffi42 added the bug Something isn't working label Oct 22, 2024
@Neffi42 Neffi42 linked a pull request Oct 22, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants