Bugs item #1952844, was opened at 2008-04-27 19:51 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1952844...
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: General Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Ginosal (ginosal) Assigned to: Nobody/Anonymous (nobody) Summary: problems when pages are put with put_async
Initial Comment: Since I've upgraded Ubuntu to 8.04 (and, subsequently, Python to 2.5, I think) I have problems with scripts using the ''put_async'' instruction. These scripts crash when I try to perform the second edit in the session. The message I get is the following:
File "solve_disambiguation.py", line 962, in <module> main() File "solve_disambiguation.py", line 956, in main bot.run() File "solve_disambiguation.py", line 869, in run if not self.treat(refPage, disambPage): File "solve_disambiguation.py", line 753, in treat refPage.put_async(text,comment=self.comment) File "/media/hda4/pywikipedia/wikipedia.py", line 1113, in put_async _putthread.start() File "/usr/lib/python2.5/threading.py", line 434, in start raise RuntimeError("thread already started")
I've solved the problem changing ''put_async'' in ''put'', but bot working becomes slower and boring. What should I do?
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1952844...
pywikipedia-l@lists.wikimedia.org