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.11k stars 326 forks source link

Bot isn't running anymore #349

Closed 45O closed 10 months ago

45O commented 10 months ago

Describe the bug

Bot does not run when opened

Steps to reproduce

Install and use Version 1.8.2 (1.8.6 isn't working for me) Run run.py after setup

Expected behavior

25/08 09:31:11 - Loading data for 19 streamers. Please wait... 25/08 09:31:26 - Streamer does not exist 25/08 09:31:29 - (398.35k points) is Offline! 25/08 09:31:30 - (185.55k points) is Offline! 25/08 09:31:32 - (15.79k points) is Offline! 25/08 09:31:33 - (149.83k points) is Offline! 25/08 09:31:35 - (174.08k points) is Offline! 25/08 09:31:36 - (347.31k points) is Offline! 25/08 09:31:38 - (671.12k points) is Offline! 25/08 09:31:39 - (5.09k points) is Offline! 25/08 09:31:41 - (55.54k points) is Offline! 25/08 09:31:42 - (26.79k points) is Offline! 25/08 09:31:43 - (288.12k points) is Offline! 25/08 09:31:45 - (212.72k points) is Offline! 25/08 09:31:46 - (54.49k points) is Offline! 25/08 09:31:48 - (74.8k points) is Offline! 25/08 09:31:49 - (149.28k points) is Offline! 25/08 09:31:51 - (200.46k points) is Offline! 25/08 09:31:52 - (9.38k points) is Offline! 25/08 09:31:53 - (20.91k points) is Offline! Exception in thread Sync campaigns/inventory: Traceback (most recent call last): File "C:\Users\patch\AppData\Local\Programs\Python\Python39\lib\threading.py", line 950, in _bootstrap_inner self.run() File "C:\Users\patch\AppData\Local\Programs\Python\Python39\lib\threading.py", line 888, in run self._target(*self._args, **self._kwargs) File "C:\Users\patch\OneDrive\Desktop\Twitch-Channel-Points-Miner-v2-1.8.2\TwitchChannelPointsMiner\classes\Twitch.py", line 799, in sync_campaigns self.get_drops_dashboard(status="ACTIVE") File "C:\Users\patch\OneDrive\Desktop\Twitch-Channel-Points-Miner-v2-1.8.2\TwitchChannelPointsMiner\classes\Twitch.py", line 700, in get_drops_dashboard filter(lambda x: x["status"] == status.upper(), campaigns)) TypeError: 'NoneType' object is not iterable

Operating system

Windows 10 Pro 22H2 19045.2130

Python version

3.9.0

Miner version

1.8.2

Other relevant software versions

No response

Logs

https://gist.github.com/45O/fb34635913aa5258a5ce75c2197fb64c https://gist.github.com/45O/8241c0255520a119278a947601ea5bc0

Additional context

No response

h2373 commented 10 months ago

its working for me but its not working 24/7 even after connecting with uptimerobot

Kubix606 commented 10 months ago

its working for me but its not working 24/7 even after connecting with uptimerobot

I have the same problem

Veatra commented 10 months ago

1.8.6 was a fix for a recent twitch change, without it the script won't start

h2373 commented 10 months ago

@Kubix606 msg here if you get the solution <3

45O commented 10 months ago

1.8.6 was a fix for a recent twitch change, without it the script won't start

1.8.6 does not work for me, I try run the setup.py it doesn't work and I've been using 1.8.2 for a while so I stuck with it as I had issues using 1.8.3 when it released

C:\Users\patch\OneDrive\Desktop\Twitch-Channel-Points-Miner-v2-1.8.6>setup.py usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help

error: no commands supplied

c0rrre commented 10 months ago
git clone https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2
pip install -r requirements.txt
python run.py

There are only these 3 steps u need to execute. No need to use the setup.py

45O commented 10 months ago

Whenever I run 1.8.6 I just get this in the CMD and it doesn't appear to actually run: https://gist.github.com/45O/6d812f9b4bd6bd5349bc9181e8eedaaa that's why I stuck with 1.8.2 as I had the same issue on 1.8.3 and never upgraded till it broke, It loads all of the streamer's with the same broken output but doesn't appear to actually claim

Veatra commented 10 months ago

Whenever I run 1.8.6 I just get this in the CMD and it doesn't appear to actually run: https://gist.github.com/45O/6d812f9b4bd6bd5349bc9181e8eedaaa that's why I stuck with 1.8.2 as I had the same issue on 1.8.3 and never upgraded till it broke, It loads all of the streamer's with the same broken output but doesn't appear to actually claim

have you set this to false? emoji=False

45O commented 10 months ago

Oh wow I forgot to do that, well shit :D Is there anyway to get the old outputs back without it telling me their channel ID

cronex2011 commented 10 months ago

its working for me but its not working 24/7 even after connecting with uptimerobot

I have the same problem

i Change the code. I create the run.py file but dont start it with python run.py I worte in the main.py this code : "import subprocess

Run the other script

subprocess.run(["python", "Folder/run.py"])"

Then click the run button in replit.com Now they start with the main.py and this start the run.py and all work 24/7