You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When stream goes offline, bot tries to leave IRC chat, but this happens instead:
(I tweaked code just for colors and translations, i didn't change actual code)
It says:
Exception found in: video-playback-by-id and message: {'server_time': 1714428539, 'type': 'stream_down'} references to files
f"Leaving IRC chat {self.channel}", extra={"emoji": ":speech_balloon:", "event": Events.streamer_offline}
File "C:\Program Files\Python310\lib\enum.py", line 437, in getattr
raise AttributeError(name) from None
AttributeError: streamer_offline
Tried with fresh and clean version, same error. It appeared 5-6 days ago.
If i press CTRL+C it will says that CTRL+C is found, but whole error will be just duplicated and console will freeze.
Steps to reproduce
Launch bot
Wait for stream to end
Error
Expected behavior
Print message about stream end, and being able to print recap
Looks like problem solved, reinstalled Python 3.12.3 with dependencies, and now it's working, but on first launch it said:
File "C:\Users\djhgs\Desktop\Twitch-Channel-Points-Miner-v2-master\TwitchChannelPointsMiner\classes\WebSocketsPool.py", line 235, in on_message
ws.streamers[streamer_index].set_offline()
File "C:\Users\djhgs\Desktop\Twitch-Channel-Points-Miner-v2-master\TwitchChannelPointsMiner\classes\entities\Streamer.py", line 125, in set_offline
self.toggle_chat()
File "C:\Users\djhgs\Desktop\Twitch-Channel-Points-Miner-v2-master\TwitchChannelPointsMiner\classes\entities\Streamer.py", line 288, in toggle_chat
self.leave_chat()
File "C:\Users\djhgs\Desktop\Twitch-Channel-Points-Miner-v2-master\TwitchChannelPointsMiner\classes\entities\Streamer.py", line 262, in leave_chat
self.irc_chat.stop()
File "C:\Users\djhgs\Desktop\Twitch-Channel-Points-Miner-v2-master\TwitchChannelPointsMiner\classes\Chat.py", line 103, in stop
f"Отключение от чата {self.channel}", extra={"emoji": ":speech_balloon:", "event": Events.streamer_offline}
^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'Events' has no attribute 'streamer_offline'
So i just replaced 'streamer_offline' with 'STREAMER_OFFLINE' and now it's working
Describe the bug
When stream goes offline, bot tries to leave IRC chat, but this happens instead:
(I tweaked code just for colors and translations, i didn't change actual code)
It says:
Exception found in: video-playback-by-id and message: {'server_time': 1714428539, 'type': 'stream_down'}
references to files
f"Leaving IRC chat {self.channel}", extra={"emoji": ":speech_balloon:", "event": Events.streamer_offline}
File "C:\Program Files\Python310\lib\enum.py", line 437, in getattr
raise AttributeError(name) from None
AttributeError: streamer_offline
Tried with fresh and clean version, same error. It appeared 5-6 days ago.
If i press CTRL+C it will says that CTRL+C is found, but whole error will be just duplicated and console will freeze.
Steps to reproduce
Expected behavior
Print message about stream end, and being able to print recap
Operating system
Windows 11 PRO 23H2 (build OS 22631.3447)
Python version
3.10.6
Miner version
1.9.5
Other relevant software versions
No response
Logs
Log file
Console output
Additional context
No response
The text was updated successfully, but these errors were encountered: