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:
https://bugzilla.wikimedia.org/show_bug.cgi?id=69645
Fabian CommodoreFabianus@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |CommodoreFabianus@gmx.de
--- Comment #1 from Fabian CommodoreFabianus@gmx.de --- Unless you already work on a patch it would be nice to know what 'vm-auto-erl-neu.py' actually does in line 124.
https://bugzilla.wikimedia.org/show_bug.cgi?id=69645
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jayvdb@gmail.com
--- Comment #2 from John Mark Vandenberg jayvdb@gmail.com --- Xqt, does your script use TimeStripper? if so, Mpaa probably can help.
https://bugzilla.wikimedia.org/show_bug.cgi?id=69645
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID
--- Comment #3 from xqt info@gno.de --- Somebody used a user block of 1 millennium which breaked the bot. https://de.wikipedia.org/w/index.php?title=Spezial:Logbuch/block&page=Be...
pywikipedia-bugs@lists.wikimedia.org