https://bugzilla.wikimedia.org/show_bug.cgi?id=55255
Web browser: --- Bug ID: 55255 Summary: delete.py --undelete unhandled exception when page exists Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1260/ Reported by: tgr_ Created on: 2010-11-21 15:52:40 Subject: delete.py --undelete unhandled exception when page exists Original description: 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
https://bugzilla.wikimedia.org/show_bug.cgi?id=55255
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceforge.net/p/p | |ywikipediabot/bugs/1260
https://bugzilla.wikimedia.org/show_bug.cgi?id=55255
Amir Ladsgroup ladsgroup@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |Normal CC| |ladsgroup@gmail.com
--- Comment #1 from Amir Ladsgroup ladsgroup@gmail.com --- Confirmed,
https://bugzilla.wikimedia.org/show_bug.cgi?id=55255
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jayvdb@gmail.com Component|General |Other scripts
https://bugzilla.wikimedia.org/show_bug.cgi?id=55255
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |compat (1.0)
pywikipedia-bugs@lists.wikimedia.org