Raymo111/kahoot-answer-bot

Get rid of asyncio errors

Raymo111 opened this issue · 3 comments

Upon a normal exit, there are asyncio errors of the form

Exception in callback TransportBase._connect_done(<Task cancell.../utils.py:22>>)
handle: <Handle TransportBase._connect_done(<Task cancell.../utils.py:22>>)>
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

asyncio.exceptions.CancelledError
Exception in callback WebSocketTransport._receive_done(<Task cancell...ocket.py:224>>)
handle: <Handle WebSocketTransport._receive_done(<Task cancell...ocket.py:224>>)>
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

asyncio.exceptions.CancelledError

I have found a fix, its an issue with the unmaintained aiocometd package, I'll update my PR for a fix.

I have found a fix, its an issue with the unmaintained aiocometd package, I'll update my PR for a fix.

Noted. I'll wait until they get a fix before I bump the dep version.

I found instead of a fix on the package which has remained untouched, there is a fork that has fixed the issue. It is in the PR.