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
--
Chris Watkins (a.k.a. Chriswaterguy)

Appropedia.org - Sharing knowledge to build rich, sustainable lives.

Blog: chriswaterguy.livejournal.com/

Buying at Amazon, eBay etc? Start at http://appropedia.maatiam.com and a percentage of your purchase supports Appropedia - at no extra cost.

Where men are the most sure and arrogant, they are commonly the most mistaken, and have there given reins to passion, without that proper deliberation and suspense, which can alone secure them from the grossest absurdities. -- David Hume