Problems with Linkchecker
I'm having problems with the Linkchecker app, which finds broken links on web pages.
I've installed this app on the FreeBSD (version 4.3-release) server which hosts the pages in question. I had to install it on the web server as the site uses a custom-programmed Java authentication system, and I don't think linkchecker can be configured to deal with this kind of authentication.
The full output (including the error) I'm getting when I run linkchecker using "/usr/local/bin/linkchecker <insert web address>" is:
File "/usr/local/bin/linkchecker", line 582, in ?
File "/usr/local/lib/python2.3/site-packages/linkcheck/checker/__init__.py", line 112, in check_urls
File "/usr/local/lib/python2.3/site-packages/linkcheck/checker/__init__.py", line 118, in _check_urls
File "/usr/local/lib/python2.3/site-packages/linkcheck/checker/consumer.py", line 143, in logger_start_output
File "/usr/local/lib/python2.3/site-packages/linkcheck/logger/text.py", line 89, in start_output
File "/usr/local/lib/python2.3/site-packages/linkcheck/logger/__init__.py", line 119, in writeln
File "/usr/local/lib/python2.3/site-packages/linkcheck/logger/__init__.py", line 114, in write self.fd.write(self.encode(s), **args)
File "/usr/local/lib/python2.3/site-packages/linkcheck/ansicolor.py", line 199, in write
File "/usr/local/lib/python2.3/site-packages/linkcheck/ansicolor.py", line 147, in has_colors
AttributeError: 'module' object has no attribute 'setupterm'
Where the "AttributeError" line is the error I'm getting. I've tried searching on the above error message, and just on "setupterm()", but can't find anything helpful. I get the error no matter if I try to run the linkchecker on the files as a web page (eg. using 'html....') or directly on the local system.
I've tried installing the app from both source and the ports tree, but I still get the same error. It appears to me that there is a problem with Ncurses, but I've tried installing the latest version (5.4) from ports and it is supposedly already installed.
The most annoying thing is that as an experiment I tried installing this on a Redhat fedora box and it worked instantly, but I can't run it from that box because of the authentication issues I mentioned above.
I really need to get this up and running as soon as possible - if anyone here knows how to fix this, or can point me in the general direction, I would really appreciate the help.
|All times are GMT -5. The time now is 07:58 PM.|