Bugs item #3201240, was opened at 2011-03-06 13:35 Message generated for change (Comment added) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3201240...
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: Closed Resolution: Invalid
Priority: 5 Private: No Submitted By: Adrián Chaves Fernández (gallaecio)
Assigned to: xqt (xqt)
Summary: -subcat: not working
Initial Comment: When using -subcat with replace.py in gl.wiktionary I get this:
[chaves@afonsox shyde]$ python replace.py -subcat:"Galego" -fix:"toponimia" unicode test: triggers problem #3081100 Traceback (most recent call last): File "replace.py", line 861, in <module> main() File "replace.py", line 701, in main raise pywikibot.Error, 'require even number of replacements.' pywikibot.exceptions.Error: require even number of replacements.
[chaves@afonsox shyde]$ python version.py Pywikipedia [http] trunk/pywikipedia (r9021, 2011/03/05, 11:11:39) Python 2.7.1 (r271:86832, Dec 20 2010, 19:32:02) [GCC 4.5.1] config-settings: use_api = True use_api_login = True unicode test: triggers problem #3081100
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-03-06 14:57
Message: This command is not known. use -subcats:"Galego" instead (with ending "s")
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3201240...
pywikipedia-bugs@lists.wikimedia.org