rdavydov / Twitch-Channel-Points-Miner-v2

[NEW] A simple script that will watch a stream for you and earn the channel points. A successor of Tkd-Alex's original repo.
GNU General Public License v3.0
1.21k stars 352 forks source link

Crashing as of 8/21 #344

Closed mpengle closed 1 year ago

mpengle commented 1 year ago

Describe the bug

When starting the Docker image it is crashing, this has not been an issue until today. I re-created my run.py in the event it was updated, same behavior.

` TypeError: 'NoneType' object is not iterable

22/08/23 01:31:44 - INFO - [init]: Twitch Channel Points Miner v2-1.8.5 (fork by rdavydov) 22/08/23 01:31:44 - INFO - [init]: https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2 22/08/23 01:31:44 - INFO - [init]: You are running the version 1.8.5 of this script 22/08/23 01:31:44 - INFO - [init]: The latest version on GitHub is: 1.8.6 22/08/23 01:31:44 - INFO - [run]: πŸ’£ Start session: 'dc9b557b-38d5-47ec-a9d0-3d0786c50f0a' 22/08/23 01:31:44 - INFO - [run]: πŸ“‹ Load 2 followers from your profile! 22/08/23 01:31:44 - INFO - [run]: πŸ€“ Loading data for 2 streamers. Please wait... Traceback (most recent call last): File "/usr/src/app/run.py", line 105, in twitch_miner.mine( File "/usr/src/app/TwitchChannelPointsMiner/TwitchChannelPointsMiner.py", line 210, in mine self.run(streamers=streamers, blacklist=blacklist, followers=followers) File "/usr/src/app/TwitchChannelPointsMiner/TwitchChannelPointsMiner.py", line 299, in run self.twitch.check_streamer_online(streamer) File "/usr/src/app/TwitchChannelPointsMiner/classes/Twitch.py", line 179, in check_streamer_online self.update_stream(streamer) File "/usr/src/app/TwitchChannelPointsMiner/classes/Twitch.py", line 98, in update_stream streamer.stream.update( File "/usr/src/app/TwitchChannelPointsMiner/classes/entities/Stream.py", line 61, in update DROP_ID in [tag["id"] for tag in self.tags] and self.game != {}

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

`

Steps to reproduce

Start the docker image

Expected behavior

Just run like normal

Operating system

Ubuntu

Python version

docker

Miner version

1.8.5

Other relevant software versions

na

Logs

https://gist.github.com/mpengle/d25cd8b3a4dc63fedf4a4d2479cd42a0

Working on debug file, its 42,000 lines for some reason.

Additional context

na

JonJaded commented 1 year ago

Can corroborate.

rdavydov commented 1 year ago

Fixed in 1.8.6.

rdavydov commented 1 year ago

@JonJaded @mpengle did you try 1.8.6?

ajchen03 commented 1 year ago

I get the same error, and that's fixed by updating. Thanks for the supporting

JonJaded commented 1 year ago

@JonJaded @mpengle did you try 1.8.6?

Yup, fixed now. Thanks!

mpengle commented 1 year ago

Thank you for the quick fix! It definitely looks good now.