Hi, since some time interwiki.py crashes when it encounters disambig page. example from pl.wiki:
$python pywikipedia/interwiki.py -start:"Gaines (ujednoznacznienie)" NOTE: Number of pages queued is 0, trying to add 60 more. Dump pl (wikipedia) saved Traceback (most recent call last): File "pywikipedia/interwiki.py", line 2156, in <module> bot.run() File "pywikipedia/interwiki.py", line 1865, in run self.queryStep() File "pywikipedia/interwiki.py", line 1838, in queryStep self.oneQuery() File "pywikipedia/interwiki.py", line 1806, in oneQuery site = self.selectQuerySite() File "pywikipedia/interwiki.py", line 1780, in selectQuerySite self.generateMore(globalvar.maxquerysize - mycount) File "pywikipedia/interwiki.py", line 1711, in generateMore page = self.pageGenerator.next() File "/home/mst/pw/pywikipedia/pagegenerators.py", line 729, in DuplicateFilterPageGenerator for page in generator: File "/home/mst/pw/pywikipedia/pagegenerators.py", line 254, in AllpagesPageGenerator for page in site.allpages(start = start, namespace = namespace, includeredirects = includeredirects): File "/home/mst/pw/pywikipedia/wikipedia.py", line 5647, in allpages for p in data['query']['allpages']: KeyError: 'query'
$python pywikipedia/version.py Pywikipedia (r7080 (wikipedia.py), 2009/07/19, 12:40:06) Python 2.6 (r26:66714, Jun 8 2009, 16:07:26) [GCC 4.4.0 20090506 (Red Hat 4.4.0-4)]
masti
pywikipedia-l@lists.wikimedia.org