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

exceptions.AttributeError addinfourl instance has no attribu #26

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

exceptions.AttributeError addinfourl instance has no attribu #26

wummel opened this issue Dec 21, 2012 · 1 comment

Comments

@wummel
Copy link
Owner

wummel commented Dec 21, 2012

Converted from SourceForge issue 674391, submitted by mkalastro

Hi Bastian,

Thanks for the great product! I've used previous
versions and this is the first error I've seen. You
can reproduce the error by using lconline from:
<http://www2.soe.ucsc.edu/linkchecker/>, which uses the
default configuration.

exceptions.AttributeError addinfourl instance has no
attribute 'readlines'
Traceback (most recent call last):
File
"/home/local/python-2.2.2/lib/python2.2/site-packages/linkcheck/UrlData.py",
line 202, in check
self._check()
File
"/home/local/python-2.2.2/lib/python2.2/site-packages/linkcheck/HttpsUrlData.py",
line 36, in _check
HttpUrlData._check(self)
File
"/home/local/python-2.2.2/lib/python2.2/site-packages/linkcheck/UrlData.py",
line 258, in _check
self.checkConnection()
File
"/home/local/python-2.2.2/lib/python2.2/site-packages/linkcheck/HttpUrlData.py",
line 91, in checkConnection
if self.config["robotstxt"] and not
self.robotsTxtAllowsUrl():
File
"/home/local/python-2.2.2/lib/python2.2/site-packages/linkcheck/HttpUrlData.py",
line 289, in robotsTxtAllowsUrl
rp.read()
File "/var/tmp/python/lib/python2.2/robotparser.py",
line 44, in read
lines = f.readlines()
AttributeError: addinfourl instance has no attribute
'readlines'
System info:
LinkChecker 1.8.5
Python 2.2.2 (#1, Jan 23 2003, 14:28:02)
[GCC 2.95.2 19991024 (release)] on sunos5
LC_MESSAGES = 'C'

@wummel
Copy link
Owner Author

wummel commented Dec 21, 2012

Submitted by calvin

Logged In: YES
user_id=9205

This is a duplicate of
http://sourceforge.net/tracker/index.php?func=detail&amp;aid=652560&amp;group_id=1913&amp;atid=101913

I will include a patched robotparser.py in the next release,
so these bug reports will vanish :)

@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