Closed chronoquairium closed 1 year ago
__save_json
is the key to understand what's wrong.
.json file is broken. That happens when you don't end the program gracefully.
Easy solution: just delete analytics/streamername.json.
Or even disable Analytics if you don't need it. It will save you from future errors like this.
You can disable Analytics in my fork: https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2/
Does not help answer either of the questions. What does Analytics do specifically, so that I know whether I need to get the fork or not? I modified some files beyond just run.py so I'd rather not get a new version if I don't have to. In addition, how are you even meant to close the program in a graceful manner? Just closing Git Bash is the only method I'm aware of.
how are you even meant to close the program in a graceful manner?
Already answered, CTRL+C.
What does Analytics do specifically
Read the README.
Alright, am sorry. Didn't connect the dots somehow on Ctrl-C because of it being its own hotkey for copying, and honestly forgot the README had most of that stuff lol. My bad, thank you though.
I don't have any idea why, but it's just one channel doing it, and all 12 others work perfectly. I checked the run.py and it is formatted correctly. Yes, this happens every 5 minutes.