https://bugzilla.wikimedia.org/show_bug.cgi?id=55208
Web browser: --- Bug ID: 55208 Summary: invalid literal found for minutesDiff Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: interwiki.py Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1418/ Reported by: xqt Created on: 2012-03-10 11:43:20 Subject: invalid literal found for minutesDiff Original description: Timestamps seems to be different.
Trace:
Dump cu (wikipedia) appended. Traceback (most recent call last): File "C:\pwb\trunk\interwiki.py", line 2573, in <module> main() File "C:\pwb\trunk\interwiki.py", line 2547, in main bot.run() File "C:\pwb\trunk\interwiki.py", line 2287, in run self.queryStep() File "C:\pwb\trunk\interwiki.py", line 2265, in queryStep subj.finish(self) File "C:\pwb\trunk\interwiki.py", line 1699, in finish time.gmtime())) File "C:\pwb\trunk\interwiki.py", line 1567, in minutesDiff int(time1[6:8])) * 24 + int(time1[8:10])) * 60 + \ ValueError: invalid literal for int() with base 10: '3-' Updating page [[tr:Kaplan]] via API
version.py: C:\pwb\trunk Pywikipedia trunk/pywikipedia/ (r9974, 2012/03/09, 11:08:24) Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)] config-settings: use_api = True use_api_login = True unicode test: ok
https://bugzilla.wikimedia.org/show_bug.cgi?id=55208
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceforge.net/p/p | |ywikipediabot/bugs/1418
https://bugzilla.wikimedia.org/show_bug.cgi?id=55208
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |UNCONFIRMED CC| |info@gno.de Ever confirmed|1 |0
--- Comment #1 from xqt info@gno.de --- timestamps format has been changed this month and there where a fix for wikipedia.py (see gerrit 88235). Should be confirmed.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55208
Mpaa mpaa.wiki@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mpaa.wiki@gmail.com
--- Comment #2 from Mpaa mpaa.wiki@gmail.com --- (In reply to comment #1)
timestamps format has been changed this month and there where a fix for wikipedia.py (see Gerrit change #88235). Should be confirmed.
Timestamp has the expected format, I think this bug can be closed.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55208
--- Comment #3 from Mpaa mpaa.wiki@gmail.com --- (In reply to comment #2)
(In reply to comment #1)
timestamps format has been changed this month and there where a fix for wikipedia.py (see Gerrit change #88235). Should be confirmed.
Timestamp has the expected format, but type is mismatched in minutesDiff (long expected instead of int). Fix on its way.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55208
--- Comment #4 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 89985 had a related patch set uploaded by Mpaa: Bug 55208 - invalid literal found for minutesDiff
https://gerrit.wikimedia.org/r/89985
https://bugzilla.wikimedia.org/show_bug.cgi?id=55208
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |PATCH_TO_REVIEW Ever confirmed|0 |1
https://bugzilla.wikimedia.org/show_bug.cgi?id=55208
--- Comment #5 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 89985 merged by jenkins-bot: Bug 55208 - invalid literal found for minutesDiff
https://gerrit.wikimedia.org/r/89985
https://bugzilla.wikimedia.org/show_bug.cgi?id=55208
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED Resolution|--- |FIXED
pywikipedia-bugs@lists.wikimedia.org