Bugs item #2877280, was opened at 2009-10-12 22:46 Message generated for change (Tracker Item Submitted) made by masti01 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2877280...
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: Open Resolution: None Priority: 5 Private: No Submitted By: masti (masti01) Assigned to: Nobody/Anonymous (nobody) Summary: replace.py does not accept 2arguments with regexp
Initial Comment: python pywikipedia/replace.py -regexp "J.Giżycki" "[[Jerzy Giżycki (krytyk filmowy)|J.Giżycki]]" -catr:Szachy -log Traceback (most recent call last): File "pywikipedia/replace.py", line 716, in <module> main() File "pywikipedia/replace.py", line 580, in main raise wikipedia.Error, 'require even number of replacements.' wikipedia.Error: require even number of replacements.
using it with wikidump helps, but no reason to crash
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2877280...
pywikipedia-bugs@lists.wikimedia.org