Bugs item #2879418, was opened at 2009-10-15 01:58 Message generated for change (Settings changed) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2879418...
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: Nobody/Anonymous (nobody)
Assigned to: xqt (xqt)
Summary: fixing_redirects.py broken
Initial Comment: Doesn't work, see error messages in http://pastebin.ca/1620839
DBG> BUG: Non-unicode (<type 'str'>) passed to wikipedia.output without decoder! File "fixing_redirects.py", line 219, in <module> main() File "fixing_redirects.py", line 207, in main workon(page) File "fixing_redirects.py", line 143, in workon text = page.get() File "/home/yann/wikimedia/bots/pywikipedia-cvs/wikipedia.py", line 684, in get self._contents = self._getEditPage(get_redirect = get_redirect, throttle = throttle, sysop = sysop) File "/home/yann/wikimedia/bots/pywikipedia-cvs/wikipedia.py", line 752, in _getEditPage data = query.GetData(params, self.site()) File "/home/yann/wikimedia/bots/pywikipedia-cvs/query.py", line 73, in GetData wikipedia.output("==================") File "/home/yann/wikimedia/bots/pywikipedia-cvs/wikipedia.py", line 7763, in output print traceback.print_stack() None
My locale is fr_FR.UTF-8 I use the latest svn version. python version.py Pywikipedia [http] trunk/pywikipedia (r7471, 2009/10/14, 21:49:53) Python 2.5.2 (r252:60911, Jul 22 2009, 15:33:10) [GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)]
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-10-15 15:50
Message: done in r7474
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2879418...
pywikipedia-bugs@lists.wikimedia.org