Bugs item #2970070, was opened at 2010-03-14 02:28 Message generated for change (Tracker Item Submitted) made by masti01 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2970070...
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: masti (masti01) Assigned to: Nobody/Anonymous (nobody) Summary: reflinks.py crashes on 404 error
Initial Comment: reflinks.py does not properly recognize 404 error:
HTTP error (404) for http://www.guinnessworldrecords.com/content_pages/record.asp?recordid=44894 on [[Lacrosse]] Traceback (most recent call last): File "reflinksmb.py", line 753, in <module> main() File "reflinksmb.py", line 749, in main bot.run() File "reflinksmb.py", line 551, in run repl = ref.refDead() File "reflinksmb.py", line 197, in refDead tag = wikipedia.translate(self.site, deadLinkTag) % self.link TypeError: not all arguments converted during string formatting
python version.py Pywikipedia [http] trunk/pywikipedia (r7991, 2010/03/12, 09:03:31) Python 2.6.2 (r262:71600, Oct 22 2009, 08:54:52) [GCC 4.3.4]
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2970070...