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

"Oops, I did it again." #136

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

"Oops, I did it again." #136

wummel opened this issue Dec 21, 2012 · 1 comment

Comments

@wummel
Copy link
Owner

wummel commented Dec 21, 2012

Converted from SourceForge issue 1431347, submitted by hesabo

commandline:
http_proxy="http://proxy.hadiko.de:3128/" linkchecker
www.hadiko.de

http_proxy="http://proxy.hadiko.de:3128/" linkchecker -
Dall www.hadiko.de
does not produce any error, because it stops at
different positions.

/.linkchecker/linkcheckerrc:
[output]
interactive=0
status=0
fileoutput = html, blacklist
[text]
[gml]
[dot]
[csv]
[sql]
[html]
filename=linkchecker-out.html
[blacklist]
filename=
/.linkchecker/blacklist
[xml]
[gxml]
[checking]
threads=2
anchors=0
noanchorcaching=1
[filtering]
ignore1=^javascript:
ignore2=purl.org
noproxy=.*.hadiko.de
[authentication]

"the system information below":
exceptions.UnicodeDecodeError 'ascii' codec can't
decode byte 0xc3 in position 0: ordinal not in
range(128)
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/linkcheck/
checker/urlbase.py", line 342, in check
self.local_check()
File "/usr/lib64/python2.4/site-packages/linkcheck/
checker/urlbase.py", line 387, in local_check
self.check_connection()
File "/usr/lib64/python2.4/site-packages/linkcheck/
checker/httpurl.py", line 174, in check_connection
response = self.check_http_connection()
File "/usr/lib64/python2.4/site-packages/linkcheck/
checker/httpurl.py", line 235, in check_http_connection
tries, response = self.
follow_redirections(response)
File "/usr/lib64/python2.4/site-packages/linkcheck/
checker/httpurl.py", line 308, in follow_redirections
redirected, is_idn = linkcheck.url.url_norm(newurl)
File "/usr/lib64/python2.4/site-packages/linkcheck/
url.py", line 306, in url_norm
is_idn = url_fix_host(urlparts)
File "/usr/lib64/python2.4/site-packages/linkcheck/
url.py", line 227, in url_fix_host
urlparts[2] = urllib.unquote(urlparts[2])
File "/usr/lib64/python2.4/urllib.py", line 1061, in
unquote
res[i] = _hextochr[item[:2]] + item[2:]
UnicodeDecodeError: 'ascii' codec can't decode byte
0xc3 in position 0: ordinal not in range(128)
System info:
LinkChecker 3.3
Python 2.4.2 (#1, Nov 23 2005, 15:56:28)
[GCC 3.4.3 20041125 (Gentoo 3.4.3-r1, ssp-3.4.3-0, pie-
8.7.7)] on linux2
LC_MESSAGES = 'en_US.utf8'
http_proxy = 'http://proxy.hadiko.de:3128/

I hope this will help.

@wummel
Copy link
Owner Author

wummel commented Dec 21, 2012

Submitted by calvin

Logged In: YES
user_id=9205

This bug is fixed in the Subversion repository and will be
in the next release.

@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