Skip to content

Instantly share code, notes, and snippets.

@anakimluke
Created June 3, 2023 17:23
Show Gist options
  • Save anakimluke/4de75e708fcd4122fcd59297f67877ae to your computer and use it in GitHub Desktop.
Save anakimluke/4de75e708fcd4122fcd59297f67877ae to your computer and use it in GitHub Desktop.
exception log
2023-05-30 21:15:25,418 - DEBUG - < :tmi.twitch.tv RECONNECT^M
2023-05-30 21:15:25,418 - DEBUG - Dispatching event: raw_data
2023-05-30 21:15:25,418 - DEBUG - dispatching event raw_data
2023-05-30 21:15:25,418 - DEBUG - ACTION: RECONNECT:: Twitch has gracefully closed the connection and will reconnect.
2023-05-30 21:15:25,419 - DEBUG - Dispatching event: reconnect
2023-05-30 21:15:25,419 - DEBUG - dispatching event reconnect
2023-05-30 21:15:25,894 - DEBUG - > PASS oauth:<redacted>
2023-05-30 21:15:25,894 - DEBUG - > NICK foo
2023-05-30 21:15:25,894 - DEBUG - > CAP REQ :twitch.tv/commands
2023-05-30 21:15:25,894 - DEBUG - > CAP REQ :twitch.tv/tags
2023-05-30 21:15:25,894 - DEBUG - > CAP REQ :twitch.tv/membership
2023-05-30 21:15:25,895 - DEBUG - > JOIN #bar
2023-05-30 21:15:25,895 - DEBUG - > JOIN #baz
2023-05-30 21:15:25,895 - DEBUG - > JOIN #foo
2023-05-30 21:15:25,896 - ERROR - Websocket connection was closed: None
2023-05-30 21:15:26,238 - DEBUG - > PASS oauth:<redacted>
2023-05-30 21:15:26,238 - DEBUG - > NICK foo
2023-05-30 21:15:26,238 - DEBUG - > CAP REQ :twitch.tv/commands
2023-05-30 21:15:26,238 - DEBUG - > CAP REQ :twitch.tv/tags
2023-05-30 21:15:26,239 - DEBUG - > CAP REQ :twitch.tv/membership
2023-05-30 21:15:26,239 - DEBUG - > JOIN #bar
2023-05-30 21:15:26,239 - DEBUG - > JOIN #baz
2023-05-30 21:15:26,239 - DEBUG - > JOIN #foo
2023-05-30 21:15:26,337 - DEBUG - < :tmi.twitch.tv 001 foo :Welcome, GLHF!^M
:tmi.twitch.tv 002 foo :Your host is tmi.twitch.tv^M
:tmi.twitch.tv 003 foo :This server is rather new^M
:tmi.twitch.tv 004 foo :-^M
:tmi.twitch.tv 375 foo :-^M
:tmi.twitch.tv 372 foo :You are in a maze of twisty passages, all alike.^M
:tmi.twitch.tv 376 foo :>^M
:tmi.twitch.tv CAP * ACK :twitch.tv/commands^M
:tmi.twitch.tv CAP * ACK :twitch.tv/tags^M
:tmi.twitch.tv CAP * ACK :twitch.tv/membership^M
2023-05-30 21:15:26,338 - DEBUG - Dispatching event: raw_data
2023-05-30 21:15:26,338 - DEBUG - dispatching event raw_data
2023-05-30 21:15:26,338 - INFO - Successfully logged onto Twitch WS: foo
2023-05-30 21:15:26,355 - DEBUG - < :foo!foo@foo.tmi.twitch.tv JOIN #bar^M
:foo.tmi.twitch.tv 353 foo = #bar :foo^M
:foo.tmi.twitch.tv 366 foo #bar :End of /NAMES list^M
@badge-info=;badges=;color=#008000;display-name=foo;emote-sets=<redacted>;mod=0;subscriber=0;user-type= :tmi.twitch.tv USERSTATE #bar^M
@emote-only=0;followers-only=-1;r9k=0;room-id=<redacted>;slow=0;subs-only=0 :tmi.twitch.tv ROOMSTATE #bar^M
2023-05-30 21:15:26,355 - DEBUG - Dispatching event: raw_data
2023-05-30 21:15:26,355 - DEBUG - dispatching event raw_data
2023-05-30 21:15:26,356 - DEBUG - ACTION: JOIN:: bar
2023-05-30 21:15:26,356 - DEBUG - Dispatching event: channel_joined
2023-05-30 21:15:26,356 - DEBUG - dispatching event channel_joined
2023-05-30 21:15:26,356 - DEBUG - Dispatching event: join
2023-05-30 21:15:26,356 - DEBUG - dispatching event join
2023-05-30 21:15:26,356 - DEBUG - ACTION: USERSTATE:: bar
2023-05-30 21:15:26,356 - DEBUG - Dispatching event: userstate
2023-05-30 21:15:26,356 - DEBUG - dispatching event userstate
2023-05-30 21:15:26,379 - DEBUG - < :foo!foo@foo.tmi.twitch.tv JOIN #baz^M
:foo.tmi.twitch.tv 353 foo = #baz :foo^M
:foo.tmi.twitch.tv 366 foo #baz :End of /NAMES list^M
@badge-info=;badges=;color=#008000;display-name=foo;emote-sets=<redacted>;mod=0;subscriber=0;user-type= :tmi.twitch.tv USERSTATE #baz^M
@emote-only=0;followers-only=-1;r9k=0;room-id=<redacted>;slow=0;subs-only=0 :tmi.twitch.tv ROOMSTATE #baz^M
2023-05-30 21:15:26,379 - DEBUG - Dispatching event: raw_data
2023-05-30 21:15:26,380 - DEBUG - dispatching event raw_data
2023-05-30 21:15:26,380 - DEBUG - ACTION: JOIN:: baz
2023-05-30 21:15:26,380 - DEBUG - Dispatching event: channel_joined
2023-05-30 21:15:26,380 - DEBUG - dispatching event channel_joined
2023-05-30 21:15:26,380 - DEBUG - Dispatching event: join
2023-05-30 21:15:26,380 - DEBUG - dispatching event join
2023-05-30 21:15:26,380 - DEBUG - ACTION: USERSTATE:: baz
2023-05-30 21:15:26,381 - DEBUG - Dispatching event: userstate
2023-05-30 21:15:26,381 - DEBUG - dispatching event userstate
2023-05-30 21:15:26,402 - DEBUG - < :foo!foo@foo.tmi.twitch.tv JOIN #foo^M
:foo.tmi.twitch.tv 353 foo = #foo :foo^M
:foo.tmi.twitch.tv 366 foo #foo :End of /NAMES list^M
@badge-info=;badges=broadcaster/1;color=#008000;display-name=foo;emote-sets=<redacted>;mod=0;subscriber=0;user-type= :tmi.twitch.tv USERSTATE #foo^M
@emote-only=0;followers-only=-1;r9k=0;room-id=<redacted>;slow=0;subs-only=0 :tmi.twitch.tv ROOMSTATE #foo^M
2023-05-30 21:15:26,402 - DEBUG - Dispatching event: raw_data
2023-05-30 21:15:26,402 - DEBUG - dispatching event raw_data
2023-05-30 21:15:26,402 - DEBUG - ACTION: JOIN:: foo
2023-05-30 21:15:26,403 - DEBUG - Dispatching event: channel_joined
2023-05-30 21:15:26,403 - DEBUG - dispatching event channel_joined
2023-05-30 21:15:26,403 - DEBUG - Dispatching event: join
2023-05-30 21:15:26,403 - DEBUG - dispatching event join
2023-05-30 21:15:26,403 - DEBUG - ACTION: USERSTATE:: foo
2023-05-30 21:15:26,403 - DEBUG - Dispatching event: userstate
2023-05-30 21:15:26,403 - DEBUG - dispatching event userstate
2023-05-30 21:15:36,907 - DEBUG - Dispatching event: channel_join_failure
2023-05-30 21:15:36,907 - DEBUG - dispatching event channel_join_failure
2023-05-30 21:15:36,907 - DEBUG - Dispatching event: channel_join_failure
2023-05-30 21:15:36,907 - DEBUG - dispatching event channel_join_failure
2023-05-30 21:15:36,907 - DEBUG - Dispatching event: channel_join_failure
2023-05-30 21:15:36,907 - DEBUG - dispatching event channel_join_failure
2023-05-30 21:15:36,907 - ERROR - The channel "bar" was unable to be joined. Check the channel is valid.
2023-05-30 21:15:36,908 - ERROR - The channel "baz" was unable to be joined. Check the channel is valid.
2023-05-30 21:15:36,908 - ERROR - The channel "foo" was unable to be joined. Check the channel is valid.
2023-05-30 21:15:48,754 - ERROR - Task exception was never retrieved
future: <Task finished name='Task-39702' coro=<WSConnection._join_future_handle() done, defined at /usr/local/lib/python3.9/dist-packages/twitchio/websocket.py:325> exception=KeyError('foo')>
Traceback (most recent call last):
File "/usr/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
fut.result()
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/twitchio/websocket.py", line 327, in _join_future_handle
await asyncio.wait_for(fut, timeout=timeout)
File "/usr/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/twitchio/websocket.py", line 330, in _join_future_handle
self._join_pending.pop(channel)
KeyError: 'foo'
2023-05-30 21:15:48,758 - ERROR - Task exception was never retrieved
future: <Task finished name='Task-39701' coro=<WSConnection._join_future_handle() done, defined at /usr/local/lib/python3.9/dist-packages/twitchio/websocket.py:325> exception=KeyError('baz')>
Traceback (most recent call last):
File "/usr/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
fut.result()
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/twitchio/websocket.py", line 327, in _join_future_handle
await asyncio.wait_for(fut, timeout=timeout)
File "/usr/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/twitchio/websocket.py", line 330, in _join_future_handle
self._join_pending.pop(channel)
KeyError: 'baz'
2023-05-30 21:15:48,758 - ERROR - Task exception was never retrieved
future: <Task finished name='Task-39700' coro=<WSConnection._join_future_handle() done, defined at /usr/local/lib/python3.9/dist-packages/twitchio/websocket.py:325> exception=KeyError('bar')>
Traceback (most recent call last):
File "/usr/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
fut.result()
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/twitchio/websocket.py", line 327, in _join_future_handle
await asyncio.wait_for(fut, timeout=timeout)
File "/usr/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/twitchio/websocket.py", line 330, in _join_future_handle
self._join_pending.pop(channel)
KeyError: 'bar'
2023-05-30 21:15:55,336 - DEBUG - < :<some user here>!<some user here>@<some user here>.tmi.twitch.tv JOIN #baz^M
@anakimluke
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment