Description
Describe the bug
This just started happening today (Feb 28, 2024). Originally the bot was running (started at 11:55am PST). When I went to check on it tonight (after several hours), I noticed it was getting an error, so, I stopped it. Now I can't get it to run again.
I believe this is the relevant part of the log outputted when starting the bot:
File "/[my folders snipped]/TwitchChannelPointsMiner/classes/entities/Drop.py", line 41, in __init__
self.end_at = datetime.strptime(dict["endAt"], "%Y-%m-%dT%H:%M:%SZ")
File "/usr/lib/python3.8/_strptime.py", line 568, in _strptime_datetime
tt, fraction, gmtoff_fraction = _strptime(data_string, format)
File "/usr/lib/python3.8/_strptime.py", line 349, in _strptime
raise ValueError("time data %r does not match format %r" %
ValueError: time data '2024-03-01T01:29:59.999Z' does not match format '%Y-%m-%dT%H:%M:%SZ'
I'm just a novice programmer, but, I'm wondering if it's having a problem with the leap day tomorrow, Feb 29th?
Steps to reproduce
cd to main bot folder and execute: python3 run.py
Expected behavior
the bot start-up like it normally does
Operating system
Ubuntu 20.04.6 LTS
Python version
3.8.10
Miner version
Python 3.8.10 (default, Nov 22 2023, 10:22:35) [GCC 9.4.0]
Other relevant software versions
No response
Logs
Here's the text of what I see when I start the bot: https://gist.github.com/duey/d3f9400e0b18e675d70e3eb15d8a35b3
Here's my full log file output for today (over 6000 lines): https://gist.github.com/duey/c134daca09c84b4a2b50e00fc8e2b205
Here's my run.py for the bot: https://gist.github.com/duey/a5f66013b27d3c75d31eed57b5f983a9
Additional context
I also tried doing a git pull to make sure that I had the latest update, and it only updated the README.md and assets/charts.html files. Output from git pull command here: https://gist.github.com/duey/3e9961bca63273e09e9ec8e58663f5f0
It's been running fine for several weeks now. I tend to only run it a couple of times during the week, and, so, the last time I ran it was Fri, Feb 23, 2024. There was no errors then.