Bugs item #2716315, was opened at 2009-03-27 06:38
Message generated for change (Tracker Item Submitted) made by nicdumz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=271631…
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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: NicDumZ — Nicolas Dumazet (nicdumz)
Assigned to: Russell Blau (russblau)
Summary: gcmlimit may not be over 500 (set to 5000)
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%8…
).
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
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=271631…