Page MenuHomePhabricator

Breaking change with timestamp
Closed, InvalidPublic

Description

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:


Version: core-(2.0)
Severity: normal

Details

Reference
bz69645

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:36 AM
bzimport set Reference to bz69645.
bzimport added a subscriber: Unknown Object (????).

Unless you already work on a patch it would be nice to know what 'vm-auto-erl-neu.py' actually does in line 124.

Xqt, does your script use TimeStripper? if so, Mpaa probably can help.