wummel / linkchecker

check links in web documents or full websites
http://wummel.github.io/linkchecker/
GNU General Public License v2.0
1.42k stars 234 forks source link

AttributeError when using proxy #618

Open Petter-s opened 8 years ago

Petter-s commented 8 years ago

Hi.

When I use linkchecker without connecting through a proxy server everything works fine, but when I change the windows environment variable like suggested in the doc to a proxy like this for example: set http_proxy=http://52.30.103.132:8080 set https_proxy=https://52.30.103.132:8080

And run the program I get this error: Traceback (most recent call last): File "linkcheck\director\checker.pyo", line 104, in check_url -- couldn't find file, trying this instead: P:\LinkChecker\library.zip\linkcheck\director\checker.py -- code not available -- File "linkcheck\director\checker.pyo", line 120, in check_url_data -- couldn't find file, trying this instead: P:\LinkChecker\library.zip\linkcheck\director\checker.py -- code not available -- File "linkcheck\director\checker.pyo", line 52, in check_url -- couldn't find file, trying this instead: P:\LinkChecker\library.zip\linkcheck\director\checker.py -- code not available -- File "linkcheck\checker\urlbase.pyo", line 424, in check -- couldn't find file, trying this instead: P:\LinkChecker\library.zip\linkcheck\checker\urlbase.py -- code not available -- File "linkcheck\checker\urlbase.pyo", line 442, in local_check -- couldn't find file, trying this instead: P:\LinkChecker\library.zip\linkcheck\checker\urlbase.py -- code not available -- File "linkcheck\checker\httpurl.pyo", line 128, in check_connection -- couldn't find file, trying this instead: P:\LinkChecker\library.zip\linkcheck\checker\httpurl.py -- code not available -- File "linkcheck\checker\httpurl.pyo", line 66, in allows_robots -- couldn't find file, trying this instead: P:\LinkChecker\library.zip\linkcheck\checker\httpurl.py -- code not available -- File "linkcheck\cache\robots_txt.pyo", line 49, in allows_url -- couldn't find file, trying this instead: P:\LinkChecker\library.zip\linkcheck\cache\robots_txt.py -- code not available -- File "linkcheck\cache\robots_txt.pyo", line 62, in _allows_url -- couldn't find file, trying this instead: P:\LinkChecker\library.zip\linkcheck\cache\robots_txt.py -- code not available -- AttributeError: 'HttpUrl' object has no attribute 'proxy_type' System info: LinkChecker 9.3 Released on: 16.7.2014 Python 2.7.8 (default, Jun 30 2014, 16:03:49) [MSC v.1500 32 bit (Intel)] on win32 Requests: 2.2.1 Qt: 4.8.6 / PyQt: 4.11 Modules: QScintilla, Sqlite Local time: 2015-10-11 19:59:34+002 sys.argv: ['P:\LinkChecker\linkchecker.exe', '-Dall', 'https://www.iplocation.net/'] http_proxy = 'http://52.30.131.201:8080' Default locale: ('sv', 'cp1252')

**** LinkChecker internal error, over and out **** WARNING 2015-10-11 19:59:34,592 CheckThread-https://www.iplocation.net/ internal error occurred

Am I doing something wrong in my configuration of the proxy or is this a bug in the program? Thanks.

dpalic commented 6 years ago

Thank you for the issue report. Sadly this project is dead, and a new team is around with https://github.com/linkcheck/linkchecker for more details please see: #708 Also please close this issue and report it freshly on the new repo https://github.com/linkcheck/linkchecker/issues if your issue still persists