Share your knowledge at the LQ Wiki.
Go Back > Forums > Other *NIX Forums > *BSD
User Name
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.


  Search this Thread
Old 01-30-2005, 08:37 PM   #1
LQ Newbie
Registered: Dec 2004
Posts: 19

Rep: Reputation: 0
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/", line 112, in check_urls
File "/usr/local/lib/python2.3/site-packages/linkcheck/checker/", line 118, in _check_urls
File "/usr/local/lib/python2.3/site-packages/linkcheck/checker/", line 143, in logger_start_output
File "/usr/local/lib/python2.3/site-packages/linkcheck/logger/", line 89, in start_output
File "/usr/local/lib/python2.3/site-packages/linkcheck/logger/", line 119, in writeln
self.write(unicode(os.linesep), **args)
File "/usr/local/lib/python2.3/site-packages/linkcheck/logger/", line 114, in write self.fd.write(self.encode(s), **args)
File "/usr/local/lib/python2.3/site-packages/linkcheck/", line 199, in write
if has_colors(self._fp):
File "/usr/local/lib/python2.3/site-packages/linkcheck/", 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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ethernet Adsl Modem Driver Problems And Install Problems... akhilnair Linux - Hardware 12 11-28-2004 09:19 AM
cisco 350 wireless problems and suse x-server problems incognito9 Linux - Wireless Networking 5 10-14-2004 08:53 AM
Problems with OSS while trying to avoid problems in ALSA (scratchy sound) GT_Onizuka Linux - General 1 02-06-2004 12:55 AM
Problems, problems, problems. Lets start with the soundcard Kre8ive Linux - Newbie 5 08-07-2003 02:20 AM
Problems, problems, problems. Lets start with the ES 1868 AudioDrive Kre8ive Linux - Newbie 1 08-06-2003 08:04 PM > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 09:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration