Bugs item #2821636, was opened at 2009-07-15 06:07 Message generated for change (Comment added) made by silvonen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2821636...
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: Works For Me Priority: 7 Private: No Submitted By: Mikko Silvonen (silvonen) Assigned to: Nobody/Anonymous (nobody) Summary: Interwiki run terminates with KeyError in wikipedia.py
Initial Comment:
python interwiki.py -autonomous -lang:fi -namespace:0 -start:"Rjazanin alue"
NOTE: Number of pages queued is 0, trying to add 60 more. Dump fi (wikipedia) saved Traceback (most recent call last): File "interwiki.py", line 2156, in <module> bot.run() File "interwiki.py", line 1865, in run self.queryStep() File "interwiki.py", line 1838, in queryStep self.oneQuery() File "interwiki.py", line 1806, in oneQuery site = self.selectQuerySite() File "interwiki.py", line 1780, in selectQuerySite self.generateMore(globalvar.maxquerysize - mycount) File "interwiki.py", line 1711, in generateMore page = self.pageGenerator.next() File "c:\svn\pywikipedia\pagegenerators.py", line 711, in NamespaceFilterPageGenerator for page in generator: File "c:\svn\pywikipedia\pagegenerators.py", line 729, in DuplicateFilterPageGenerator for page in generator: File "c:\svn\pywikipedia\pagegenerators.py", line 254, in AllpagesPageGenerator for page in site.allpages(start = start, namespace = namespace, includeredirects = includeredirects): File "c:\svn\pywikipedia\wikipedia.py", line 5644, in allpages for p in data['query']['allpages']: KeyError: 'query'
python version.py
Pywikipedia [http] trunk/pywikipedia (r7065, 2009/07/14, 19:34:51) Python 2.5.4 (r254:67916, Jan 29 2009, 12:02:11) [MSC v.1310 32 bit (Intel)]
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen) Date: 2009-07-22 08:23
Message: jandudik, I think you should submit a new bug report about your problem, as the symptoms are different.
----------------------------------------------------------------------
Comment By: JAn (jandudik) Date: 2009-07-21 11:44
Message: interwiki.py -force -whenneeded -start:Waa -lang:nv
does not work for me with r7083
bot doesn't crash, but never load a list of pages
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen) Date: 2009-07-21 06:29
Message: Did somebody fix this? I updated to r7083 today, and my interwiki bot no longer has this problem.
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen) Date: 2009-07-17 19:53
Message: PS. Line 5644 of wikipedia.py was added in r7063 on Tuesday:
http://svn.wikimedia.org/viewvc/pywikipedia?view=rev&revision=7063
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen) Date: 2009-07-17 06:43
Message: Giving this a bit more priority, as this makes interwiki.py unusable.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2821636...
pywikipedia-bugs@lists.wikimedia.org