rdavydov / Twitch-Channel-Points-Miner-v2

A simple script that will watch a stream for you and earn the channel points.
GNU General Public License v3.0
1.12k stars 333 forks source link

Same issue with tags in Stream.py - latest version #346

Closed ilovecoding69420 closed 11 months ago

ilovecoding69420 commented 11 months ago

Describe the bug

Traceback (most recent call last): File "/usr/src/app/run.py", line 82, in twitch_miner.mine( File "/usr/src/app/TwitchChannelPointsMiner/TwitchChannelPointsMiner.py", line 204, in mine self.run(streamers=streamers, blacklist=blacklist, followers=followers) File "/usr/src/app/TwitchChannelPointsMiner/TwitchChannelPointsMiner.py", line 293, 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 != {} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: 'NoneType' object is not iterable

Steps to reproduce

Clone 1.8.6 version and run

Expected behavior

Working miner

Operating system

Ubuntu 22.04.3 LTS

Python version

3.10.12

Miner version

1.8.6

Other relevant software versions

No response

Logs

-

Additional context

No response

rdavydov commented 11 months ago

Impossible, you're not using 1.8.6. Clone in the new dir and try again.

rdavydov commented 11 months ago

Also, you didn't provide any logs. Provide the logs and the contents of your TwitchChannelPointsMiner/classes/entities/Stream.py

ilovecoding69420 commented 11 months ago

image It's a huge log.. where shoud I upload it?

rdavydov commented 11 months ago

First of all, clone with git clone https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2.git in the new empty dir and try again.

rdavydov commented 11 months ago

And I don't need your old debug logs, I need the log from you last miner start with the alleged error. And the full console output, starting from the script start.

ilovecoding69420 commented 11 months ago

my fault, I was using not upgraded version from docker, not running the py file from the folder 💀

rdavydov commented 11 months ago

By the way, Docker image is also updated to 1.8.6 with the fix.