Bugs item #1847781, was opened at 2007-12-10 11:53 Message generated for change (Comment added) made by crochet_david You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1847781...
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: David Crochet (crochet_david) Assigned to: Nobody/Anonymous (nobody) Summary: crah of replace.py
Initial Comment: python verbose :
dcrochet@linux-fxgk:~/pywikipedia> python replace.py -xml:frwikiversity.xml "[[fr:Catégorie:" "[[Catégorie:" Checked for running processes. 1 processes currently running, including the current process. Reading XML dump... Getting 2 pages from wikiversity:fr... No changes were necessary in [[Modèle:Documentation modèle compliqué]]
Modèle:Traduit de <<<
- [[fr:Catégorie:Modèle de l'espace "Discussion"|Traduit de]] + [[Catégorie:Modèle de l'espace "Discussion"|Traduit de]] - [[fr:Catégorie:Modèle bandeau|Traduit de]] + [[Catégorie:Modèle bandeau|Traduit de]] - [[fr:Catégorie:Traduction]] + [[Catégorie:Traduction]]
Do you want to accept these changes? ([y]es, [N]o, [a]ll) y Waiting for 1 pages to be put. Estimated time remaining: 0:00:10 Getting a page to check if we're logged in on wikiversity:fr Saving page [[Modèle:Traduit de]] failed: Traceback (most recent call last): File "/home/dcrochet/pywikipedia/wikipedia.py", line 5465, in async_put page.put(newtext, comment, watchArticle, minorEdit, force) File "/home/dcrochet/pywikipedia/wikipedia.py", line 1160, in put newtext = ccToolkit.change(newtext) File "/home/dcrochet/pywikipedia/cosmetic_changes.py", line 98, in change text = self.translateAndCapitalizeNamespaces(text) File "/home/dcrochet/pywikipedia/cosmetic_changes.py", line 149, in translateAndCapitalizeNamespaces thisNs = family.namespace(self.site.lang, nsNumber) File "/home/dcrochet/pywikipedia/family.py", line 2394, in namespace raise KeyError('ERROR: title for namespace %d in language %s unknown' % (ns_number, code)) KeyError: 'ERROR: title for namespace 100 in language fr unknown'
----------------------------------------------------------------------
Comment By: David Crochet (crochet_david)
Date: 2007-12-10 16:43
Message: Logged In: YES user_id=1944800 Originator: YES
ok, cela fonctionne correctement
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss) Date: 2007-12-10 13:11
Message: Logged In: YES user_id=1327030 Originator: NO
Fixed in r4686.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1847781...
pywikipedia-l@lists.wikimedia.org