https://bugzilla.wikimedia.org/show_bug.cgi?id=69645
Bug ID: 69645 Summary: Breaking change with timestamp Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: info@gno.de Web browser: --- Mobile Platform: ---
There was a breaking change for timestamps on last few day which breaked my bot:
10:58:05:
something unexpeted happend, trace: Traceback (most recent call last): File "C:\pwb\core\scripts\vm-auto-erl-neu.py", line 557, in <module> blockedUsers, nexttimestamp = loadBlockedUsers(nexttimestamp) File "C:\pwb\core\scripts\vm-auto-erl-neu.py", line 124, in loadBlockedUsers diffS = timeExpS - timeS TypeError: unsupported operand type(s) for -: 'str' and 'int'
10:58:55:
something unexpeted happend, trace: Traceback (most recent call last): File "C:\pwb\core\scripts\vm-auto-erl-neu.py", line 557, in <module> blockedUsers, nexttimestamp = loadBlockedUsers(nexttimestamp) File "C:\pwb\core\scripts\vm-auto-erl-neu.py", line 124, in loadBlockedUsers diffS = timeExpS - timeS TypeError: unsupported operand type(s) for -: 'str' and 'int'
10:59:45: