Bugs item #3114564, was opened at 2010-11-21 16:52
Message generated for change (Tracker Item Submitted) made by tgr_
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=311456…
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: other
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tgr (tgr_)
Assigned to: Nobody/Anonymous (nobody)
Summary: delete.py --undelete unhandled exception when page exists
Initial Comment:
Trying to undelete an existing page gives the following error:
Processing page XXX
Note: Your sysop account on wikipedia:hu does not have a bot flag. Its edits wil
l be visible in the recent changes.
Sleeping for 6.3 seconds, 2010-11-21 16:34:14
Traceback (most recent call last):
File "C:\home\wikipedia\pywikipediabot\delete.py", line 242, in
<module>
main()
File "C:\home\wikipedia\pywikipediabot\delete.py", line 236, in main
bot.run()
File "C:\home\wikipedia\pywikipediabot\delete.py", line 125, in run
page.undelete(self.summary, throttle = True)
File "C:\home\wikipedia\pywikipediabot\wikipedia.py", line 3306, in undelete
raise RuntimeError("%s" % result['error'])
RuntimeError: {u'info': u"Couldn't undelete: the requested revisions may
not exi
st, or may have been undeleted already", u'code': u'cantundelete'}
version.py:
Pywikipedia [http] trunk/pywikipedia (r8736, 2010/11/20, 10:28:21)
Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=311456…