Bugs item #2562477, was opened at 2009-02-03 18:30 Message generated for change (Settings changed) made by russblau You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2562477...
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: Invalid
Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: redirect.py BadTitle Exception Error
Initial Comment: Running redirect-Bot with -moves option, a BadTitle error raised:
Getting page [[Talk:User:Hawkeye7/Sandbox]] Traceback (m r c l):
main()
bot.run()
self.fix_double_redirects() File redirect.py in fix_double_redirects for redir_name in self.generator.retrieve_double_redirects(): File redirect.py in retrieve_double_redirects for redir_page in self.get_moved_pages_redirects(): File redirect.py in get_moved_pages_redirects if not moved_page.isRedirectPage() File wikipedia.py in isRedirectPage self.get() File wikipedia.py in get self._contents = self._getEditPage(get_redirect = get_redirect, throttle = throttle, sysop =sysop= File wikipedia.py in _getEditPage raise BadeTitle('BadTitle: %s' % self) wikipedia.BadTitle: BadTitle: [[Talk:User:Hawkeye7/Sandbox]]
<w:de:User:Xqt>
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2009-02-08 05:34
Message: 1. This is not a bug: http://en.wikipedia.org/wiki/Talk:User:Hawkeye7/Sandbox returns a Bad Title page, so the BadTitle exception is correctly raised
2. The Python traceback information in the bug report was edited to remove line numbers, which makes it much more difficult to locate the source of any bug. In future, please copy and paste the program's output without editing (I'm pretty sure that "raise BadeTitle" does not appear anywhere in wikipedia.py).
3. Always include the output of "python version.py" in every bug report.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2562477...
pywikipedia-l@lists.wikimedia.org