Bugs item #2970030, was opened at 2010-03-14 00:33 Message generated for change (Tracker Item Submitted) made by masti01 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2970030...
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: weblinkschecker: AttributeError: HTTPResponse instance has n
Initial Comment: While processing links by weblinkschecker.py several pages throw the following exception:
Exception while processing URL http://ssd.jpl.nasa.gov/sbdb_query.cgi in page (73139) 2002 GM84 Exception in thread (73139) 2002 GM84 - http://ssd.jpl.nasa.gov/sbdb_query.cgi: Traceback (most recent call last): File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner self.run() File "weblinkchecker.py", line 492, in run ok, message = linkChecker.check() File "weblinkchecker.py", line 408, in check wasRedirected = self.resolveRedirect(useHEAD = useHEAD) File "weblinkchecker.py", line 371, in resolveRedirect if response.code >= 300 and response.code <= 399: AttributeError: HTTPResponse instance has no attribute 'code'
python version.py Pywikipedia [http] trunk/pywikipedia (r8005, 2010/03/13, 16:46:42) Python 2.6.2 (r262:71600, Jan 25 2010, 18:46:45) [GCC 4.4.2 20091222 (Red Hat 4.4.2-20)]
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2970030...