Bugs item #2831667, was opened at 2009-08-03 21:49 Message generated for change (Comment added) made by valhallasw You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2831667...
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: Fixed
Priority: 5 Private: No Submitted By: David Crochet (crochet_david)
Assigned to: Merlijn S. van Deen (valhallasw)
Summary: error when using replace.py
Initial Comment: Version : Pywikipedia (r7101 (wikipedia.py), 2009/07/27, 15:54:13) Python 2.4.2 (#1, Jan 10 2008, 17:45:02) [GCC 4.1.2 20070115 (prerelease) (SUSE Linux)]
replace.py output this : Reading XML dump... Traceback (most recent call last): File "replace.py", line 705, in ? main() File "replace.py", line 701, in main bot.run() File "replace.py", line 353, in run for page in self.generator: File "/home/dcrochet/pywikipedia/pagegenerators.py", line 821, in __iter__ except GeneratorExit: NameError: global name 'GeneratorExit' is not defined
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2009-08-04 03:52
Message: Fixed in r7104
valhallasw * r7104 /trunk/pywikipedia/pagegenerators.py: (Ugly) fix for bug #2831667. See
http://www.mail-archive.com/python-dev@python.org/msg12668.html and follow-ups for more information.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2831667...
pywikipedia-bugs@lists.wikimedia.org