Bugs item #2872725, was opened at 2009-10-04 19:51 Message generated for change (Settings changed) made by mu301 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2872725...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: None
Status: Closed Resolution: Duplicate
Priority: 5 Private: No Submitted By: mikeu (mu301) Assigned to: Nobody/Anonymous (nobody) Summary: welcome.py TypeError creeps back in
Initial Comment: The -timeoffset:X in welcome.py worked in r7328. It is broken in r7363 and r7373.
bash-3.00$ python welcome.py -random -limit:2000 -break -timeoffset:4320 Loading signature list... Traceback (most recent call last): File "welcome.py", line 982, in ? bot.run() File "welcome.py", line 786, in run for users in self.parseNewUserLog(): File "welcome.py", line 676, in parseNewUserLog params['lestart'] = int(now.strftime("%Y-%m-%dT%H:%M:%SZ")) ValueError: invalid literal for int(): 2009-10-01T23:37:45Z bash-3.00$ python version.py Pywikipedia [http] trunk/pywikipedia (r7373, 2009/10/04, 19:46:54) Python 2.4.4 (#1, Jan 10 2007, 01:25:01) [C]
The same error as appears above is seen with r7363.
RE: comment in closed bug ID: 2865343
I confirm that r7328 works:
bash-3.00$ python welcome.py -random -limit:2000 -break -timeoffset:4320 Loading signature list... Querying new user log from API.... [Skip]... <!-- snip output showing correct behaviour... --> bash-3.00$ python version.py Pywikipedia [http] trunk/pywikipedia (r7328, 2009/09/29, 07:27:56) Python 2.4.4 (#1, Jan 10 2007, 01:25:01) [C]
----------------------------------------------------------------------
Comment By: mikeu (mu301)
Date: 2009-10-04 20:22
Message: See ID: 2872239
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2872725...