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-b...@lists.wikimedia.org
          Reporter: i...@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:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to