Bugs item #2853381, was opened at 2009-09-07 08:56
Message generated for change (Tracker Item Submitted) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=285338…
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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: xqt (xqt)
Assigned to: Nobody/Anonymous (nobody)
Summary: isbn.py: index error
Initial Comment:
isbn.py r6798 2009-05-03
Working on
http://tr.wikipedia.org/w/index.php?title=Ahmed_Alevi&oldid=5823201 the
following error raises:
File "C:\Programme\Python25\pywikipedia\isbn.py", line 1357, in
hyphenateIsbnNumbers
text = isbnR.sub(_hyphenateIsbnNumber, text)
File "C:\Programme\Python25\pywikipedia\isbn.py", line 1352, in
_hyphenateIsbnNumber
i.format()
File "C:\Programme\Python25\pywikipedia\isbn.py", line 1228, in format
result += rest[:-1] + '-' + rest[-1]
IndexError: string index out of range
This error comes trying formatting 'ISBN 978-9799668806'
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=285338…