Bugs item #3564962, was opened at 2012-09-05 02:19 Message generated for change (Comment added) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3564962...
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: None Group: None
Status: Pending Resolution: Invalid
Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody)
Assigned to: xqt (xqt)
Summary: list index out of range (pa.wikt)
Initial Comment: Interwiki crashes when working on wikt and found any page in pa.wikt. When I eun bot for this wiktionary, I got this:
C:\Documents and Settings\Jan>cd\ C:\Dokumenty\py>interwiki.py -async -cleanup -autonomous -wiktionary -lang:pa -family:wiktionary -start:! NOTE: Number of pages queued is 0, trying to add 60 more. Getting 60 pages from wiktionary:pa... Sleeping for 7.0 seconds, 2012-09-05 11:15:15 Dump pa (wiktionary) appended. Traceback (most recent call last): File "C:\Dokumenty\py\interwiki.py", line 2557, in <module> main() File "C:\Dokumenty\py\interwiki.py", line 2531, in main bot.run() File "C:\Dokumenty\py\interwiki.py", line 2270, in run self.queryStep() File "C:\Dokumenty\py\interwiki.py", line 2243, in queryStep self.oneQuery() File "C:\Dokumenty\py\interwiki.py", line 2239, in oneQuery subject.batchLoaded(self) File "C:\Dokumenty\py\interwiki.py", line 1317, in batchLoaded (skip, alternativePage) = self.disambigMismatch(page, counter) File "C:\Dokumenty\py\interwiki.py", line 1081, in disambigMismatch if self.originPage.isDisambig() and not page.isDisambig(): File "C:\Dokumenty\py\wikipedia.py", line 1510, in isDisambig 'Disambiguationspage').split(':', 1)[1]]) IndexError: list index out of range
C:\Dokumenty\py>version.py Pywikipedia trunk/pywikipedia/ (r10512, 2012/08/30, 20:40:38) Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] config-settings: use_api = True use_api_login = True unicode test: ok
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-09-05 06:02
Message: It is not a python framework bug. There was a wrong localisation for pa-wikis done this week in MediaWiki:Disambiguationspage. I reverted it to default. https://translatewiki.net/w/i.php?title=MediaWiki:Disambiguationspage/pa&...
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3564962...
pywikipedia-bugs@lists.wikimedia.org