Bugs item #3440423, was opened at 2011-11-20 02:46 Message generated for change (Tracker Item Submitted) made by crochet_david You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3440423...
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: replace.py and require even number of replacements
Initial Comment: crochet@dcrochet-desktop:~/Robots/pywikipedia$ python version.py Pywikipedia [http] trunk/pywikipedia (r9773, 2011/11/16, 21:21:14) Python 2.7.2+ (default, Oct 4 2011, 20:03:08) [GCC 4.6.1] config-settings: use_api = True use_api_login = True unicode test: ok dcrochet@dcrochet-desktop:~/Robots/pywikipedia$ python replace.py -family:"commons" -lang:"commons" -subcat:"Palace and park of Versailles" "{{fr|Jardins et Parc du château de Versailles}}" "{{eu|Lorategiak eta jauregia, Versailles Parkea}}{{fr|Jardins et Parc du château de Versailles}}" Traceback (most recent call last): File "replace.py", line 838, in <module> main() File "replace.py", line 666, in main raise pywikibot.Error, 'require even number of replacements.' pywikibot.exceptions.Error: require even number of replacements. dcrochet@dcrochet-desktop:~/Robots/pywikipedia$
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3440423...