Bugs item #2716315, was opened at 2009-03-27 05:38 Message generated for change (Comment added) made by sf-robot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2716315...
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: rewrite Group: None
Status: Closed
Resolution: Fixed Priority: 5 Private: No Submitted By: NicDumZ Nicolas Dumazet (nicdumz) Assigned to: Russell Blau (russblau) Summary: undetected session termination
Initial Comment: I have a script which runs everyday on the toolserver to update French maintenance pages related to WP1.0 evaluation ( http://fr.wikipedia.org/wiki/Projet:Am%C3%A9rique_pr%C3%A9colombienne/%C3%89... ).
The main action is to retrieve list of articles from categories. I have included a very simplified version of the script if anyone needs to know what the bot was doing.
And once every month or so (remember, it's a daily task), I get an ApiError about limit:
Traceback (most recent call last): File "/home/nicdumz/pywikipedia/statistiques.py", line 79, in <module> for p in pwsite.categorymembers(cat, namespaces=[1]): File "/home/nicdumz/pywikipedia/pywikibot/data/api.py", line 428, in __iter__ self.data = self.request.submit() File "/home/nicdumz/pywikipedia/pywikibot/data/api.py", line 260, in submit raise APIError(code, info, **result["error"]) pywikibot.data.api.APIError: gcmlimit: gcmlimit may not be over 500 (set to 5000) for users
It looks like a session issue, the bot getting logged out in the middle of his task: today, the bot had already retrieved the contents of ~500 categories before crashing
----------------------------------------------------------------------
Comment By: SourceForge Robot (sf-robot)
Date: 2009-05-05 02:22
Message: This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).
----------------------------------------------------------------------
Comment By: Russell Blau (russblau) Date: 2009-04-20 17:40
Message: Believed fixed in r6643; leaving in Pending status in case this recurs (since the bug by definition only occurs once every 30 days, it is difficult to be certain that all cases are handled correctly)
----------------------------------------------------------------------
Comment By: NicDumZ Nicolas Dumazet (nicdumz) Date: 2009-03-28 02:10
Message: Updating the title: It was definitely a session termination. I got asked for a password on the next run, and it would explain why this bug would only occur every month or so.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2716315...
pywikipedia-bugs@lists.wikimedia.org