Bugs item #1837716, was opened at 2007-11-24 15:44
Message generated for change (Settings changed) made by leogregianin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=183771…
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: other
Group: None
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: David Crochet (crochet_david)
Assigned to: Nobody/Anonymous (nobody)
Summary: crash with cosmetic_change.py
Initial Comment:
The python verbose :
dcrochet@linux-fxgk:~/pywikipedia> python cosmetic_changes.py -new
Checked for running processes. 1 processes currently running, including the current
process.
ATTENTION: You can run this script as a stand-alone for testing purposes.
However, the changes are that are made are only minor, and other users
might get angry if you fill the version histories and watchlists with such
irrelevant changes.
Do you really want to continue? ([y]es, [N]o) y
Getting 60 pages from wikiversity:fr...
>> Vocabulaire/Portugais/Prérequis conseillés
<<<
Traceback (most recent call last):
File "cosmetic_changes.py", line 400, in ?
main()
File "cosmetic_changes.py", line 396, in main
bot.run()
File "cosmetic_changes.py", line 361, in run
self.treat(page)
File "cosmetic_changes.py", line 342, in treat
changedText = ccToolkit.change(page.get())
File "cosmetic_changes.py", line 94, in change
text = self.translateAndCapitalizeNamespaces(text)
File "cosmetic_changes.py", line 154, in translateAndCapitalizeNamespaces
wrongNamespaces.append(defaultNs[0].lower() + defaultNs[1:])
IndexError: string index out of range
dcrochet@linux-fxgk:~/pywikipedia>
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss)
Date: 2007-11-25 09:48
Message:
Logged In: YES
user_id=1327030
Originator: NO
Fixed in r4590.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=183771…