Bugs item #2792996, was opened at 2009-05-17 17:43 Message generated for change (Comment added) made by nicdumz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2792996...
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: interwiki Group: None
Status: Closed Resolution: Invalid
Priority: 5 Private: No Submitted By: xqt (xqt) Assigned to: Nobody/Anonymous (nobody) Summary: index Error in wikipedia.isDisambig
Initial Comment:
C:\Programme\Python25\pywikipedia>version.py Pywikipedia [http] trunk/pywikipedia (r6820, May 04 2009, 16:33:49) Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
Version: nightly:pywikipedia 2009-05-14T05:16:03.813649Z 6886
Getting 6 pages from wikipedia:zh-classical... Dump af (wikipedia) saved Traceback (most recent call last): File "C:\Programme\Python25\pywikipedia\interwiki.py", line 2145, in <module> bot.run() File "C:\Programme\Python25\pywikipedia\interwiki.py", line 1865, in run self.queryStep() File "C:\Programme\Python25\pywikipedia\interwiki.py", line 1838, in queryStep
self.oneQuery() File "C:\Programme\Python25\pywikipedia\interwiki.py", line 1834, in oneQuery subject.batchLoaded(self) File "C:\Programme\Python25\pywikipedia\interwiki.py", line 1120, in batchLoad ed (skip, alternativePage) = self.disambigMismatch(page, counter) File "C:\Programme\Python25\pywikipedia\interwiki.py", line 960, in disambigMi smatch elif not self.originPage.isDisambig() and page.isDisambig(): File "C:\Programme\Python25\pywikipedia\wikipedia.py", line 1146, in isDisambi g for t in distl File "C:\Programme\Python25\pywikipedia\wikipedia.py", line 1146, in <genexpr>
for t in distl IndexError: string index out of range
C:\Programme\Python25\pywikipedia>
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-05-17 17:59
Message: It's related, but no, it's not the best fix we can provide =)
I'm pretty sure that your version is not 6886. Well maybe interwiki is on rev6886, but it looks like your last update was r6820, given the version.py output.
Anyway, I'm saying this because I already fixed that issue in rev6879: please update _completely_ your local copy (family files included: this bug has been fixed.
----------------------------------------------------------------------
Comment By: Matthieu (chtitdraco) Date: 2009-05-17 17:48
Message: I'm not an expert, but I think this is the same thing as I reported on https://sourceforge.net/tracker/?func=detail&aid=2792959&group_id=93...
There is a patch available there too.
Cheers!
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2792996...
pywikipedia-bugs@lists.wikimedia.org