I'm new to using bots. I've had some success, using it on the wiki appropedia.org, but when I run replace.py without the -always parameter, I get an error. The second time I answer "y" (yes), I get "RuntimeError: thread already started" and the bot stops.
E.g. when I run this command:
python replace.py -xml:currentdump.xml -excepttext:"[[appropriate technology]]" "appropriate technology" "[[appropriate technology]]"
...the first change is successful, but the next time I hit yes, I get:
Do you want to accept these changes? ([y]es, [N]o, [a]ll) y Changing page [[en:Tire shingles]] Traceback (most recent call last): File "replace.py", line 555, in <module> main() File "replace.py", line 551, in main bot.run() File "replace.py", line 325, in run page.put_async(new_text) File "/home/cwg/pwb/wikipedia.py", line 1033, in put_async _putthread.start() File "/usr/lib/python2.5/threading.py", line 434, in start raise RuntimeError("thread already started") RuntimeError: thread already started
Any help appreciated!
Thanks