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

Root error #667

Open gpgabriel opened 8 years ago

gpgabriel commented 8 years ago

Hi,

I just installed linkchecker as described here:

sudo pip install LinkChecker

If I try to get the version as the root user, I get the following error:

Traceback (most recent call last): File "/usr/bin/linkchecker", line 283, in <module> {"lognamelist": linkcheck.lognamelist}) AttributeError: 'module' object has no attribute 'lognamelist'

For any other user, the version is displayed correctly: $ linkchecker --version

INFO 2016-06-29 17:54:33,487 MainThread Checking intern URLs only; use --check-extern to check extern URLs. LinkChecker 9.3 released 16.7.2014 Copyright (C) 2000-2014 Bastian Kleineidam

Any way to fix this ?

Thanks, Gabriel

gpgabriel commented 8 years ago

Fixed, I think it was because of the environmental variables. I logged in as root using sudo su

Once I started to use sudo su - it worked just fine.

For more details, check this link.

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