Raymo111 / kahoot-answer-bot

A bot to win Kahoots
189 stars 130 forks source link

Get rid of asyncio errors #16

Open Raymo111 opened 2 years ago

Raymo111 commented 2 years ago

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
sealldeveloper commented 1 year ago

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

Raymo111 commented 1 year ago

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.

sealldeveloper commented 1 year ago

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.