Bugs item #2893194, was opened at 2009-11-06 11:46 Message generated for change (Comment added) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2893194...
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: Pending Resolution: Rejected
Priority: 5 Private: No Submitted By: Yann Forget (yannforget) Assigned to: Nobody/Anonymous (nobody) Summary: Bot crashes with fixing_redirects.py
Initial Comment: $ python fixing_redirects.py "-page:Wikisource:Scriptorium/Août 2007"
Sleeping for 5.0 seconds, 2009-11-06 11:40:49 i>{{EssaiTitre|[[Jules Verne]]|Le Rouge et le t-weight:bold">[[Jules Verne]]</div> <div sty Traceback (most recent call last): File "fixing_redirects.py", line 219, in <module> main() File "fixing_redirects.py", line 207, in main workon(page) File "fixing_redirects.py", line 151, in workon target = page2.getRedirectTarget() File "/home/yann/wikimedia/bots/pywikipedia/wikipedia.py", line 2383, in getRedirectTarget self.get() File "/home/yann/wikimedia/bots/pywikipedia/wikipedia.py", line 684, in get self._contents = self._getEditPage(get_redirect = get_redirect, throttle = throttle, sysop = sysop) File "/home/yann/wikimedia/bots/pywikipedia/wikipedia.py", line 755, in _getEditPage pageInfo = data['query']['pages'].values()[0] KeyError: 'query'
$ python version.py Pywikipedia [http] trunk/pywikipedia (r7474, 2009/10/15, 13:31:21) 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-11-06 13:52
Message: Actual release is 7603. Please actualize your bot. Is this bug still valid after that?
----------------------------------------------------------------------
Comment By: Yann Forget (yannforget) Date: 2009-11-06 11:49
Message: Idem on the Toolserver: $ python version.py Pywikipedia [http] trunk/pywikipedia (r7471, 2009/10/14, 21:49:53) Python 2.5.2 (r252:60911, Jan 4 2009, 21:59:32) [GCC 4.3.2]
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2893194...
pywikipedia-bugs@lists.wikimedia.org