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

Analytics page not working #320

Closed Giuliusg-69 closed 11 months ago

Giuliusg-69 commented 12 months ago

Describe the bug

Hello guys, even if i have put the right code the analytics page is not working and it's giving me the same error, i'll leave error and code images so will be able to help me image

Steps to reproduce

image image

Expected behavior

I tried to solve in many ways but none of them worked, as you can see i enabled analytics but it still doesen't work

Operating system

Windows 11 Version 22H2 (build SO 22621.2070)

Python version

3.11.1

Miner version

1.8.0

Other relevant software versions

No response

Logs

i don't understand how to do this on replit (as i am using replit, but i got the same error also on local)

Additional context

No response

rdavydov commented 12 months ago

replit is not supported anymore, as you already know from our previous conversation.

and for the third time, read the README file please, it was already written there.

but i got the same error also on local

show us please your run.py file on your local machine and your log file (can be found in logs\username.log).

rdavydov commented 12 months ago

oh, i think i already see it in your second screenshot. your run.py file is messed up badly. looks like you don't understand what you're doing. everything starting from line 73 is wrong and shouldn't be there.

use example.py as an example!

Giuliusg-69 commented 12 months ago

hello, i used the example file as example but it doesen't say where to put the text about analytics

SalvadorSTM commented 12 months ago

It's literally in the example file.

image

Uncomment the line.

Giuliusg-69 commented 12 months ago

oh lmao, my bad. Thank you for the help. I have one last question: now that replit is not supported anymore how can we run the script 24/7? Is it possible somehow?

ColinShark commented 12 months ago

oh lmao, my bad. Thank you for the help. I have one last question: now that replit is not supported anymore how can we run the script 24/7? Is it possible somehow?

Rent a VPS at one of the plethora of providers, get a Raspberry Pi, or use something like Uberspace. The latter is shared hosting on a PWYW basis (1+ EUR/m), I use this one myself.