Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exception thrown in LinkChecker 1.12.1 #167

Closed
wummel opened this issue Dec 21, 2012 · 1 comment
Closed

exception thrown in LinkChecker 1.12.1 #167

wummel opened this issue Dec 21, 2012 · 1 comment

Comments

@wummel
Copy link
Owner

wummel commented Dec 21, 2012

Converted from SourceForge issue 1605777, submitted by nobody

Per the request in the error message, I'm reporting this "internal error".
Command-line: linkchecker -r3 http://www.winslowcohousing.org/
email contact: [email protected]

exceptions.AttributeError addinfourl instance has no attribute 'code'
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/linkcheck/UrlData.py", line 293, in check
self._check()
File "/usr/lib/python2.4/site-packages/linkcheck/UrlData.py", line 354, in _check
self.checkConnection()
File "/usr/lib/python2.4/site-packages/linkcheck/HttpUrlData.py", line 112, in checkConnection
if not self.robotsTxtAllowsUrl():
File "/usr/lib/python2.4/site-packages/linkcheck/HttpUrlData.py", line 418, in robotsTxtAllowsUrl
rp.read()
File "/usr/lib/python2.4/site-packages/linkcheck/robotparser2.py", line 70, in read
f = _opener.open(req)
File "/usr/lib/python2.4/urllib2.py", line 364, in open
response = meth(req, response)
File "/usr/lib/python2.4/urllib2.py", line 468, in http_response
code, msg, hdrs = response.code, response.msg, response.info()
AttributeError: addinfourl instance has no attribute 'code'
System info:
LinkChecker 1.12.1
Python 2.4.3 (#1, Nov 22 2006, 22:13:47)
[GCC 4.1.1 (Gentoo 4.1.1-r1)] on linux2

@wummel
Copy link
Owner Author

wummel commented Dec 21, 2012

Submitted by calvin

Logged In: YES
user_id=9205
Originator: NO

Please use a newer version of LinkChecker. The current one is 4.6.

@wummel wummel closed this as completed Dec 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant