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

Notices

Reply
 
Search this Thread
Old 01-30-2005, 07:37 PM   #1
libsys
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 ?
linkcheck.checker.check_urls(consumer)
File "/usr/local/lib/python2.3/site-packages/linkcheck/checker/__init__.py", line 112, in check_urls
_check_urls(consumer)
File "/usr/local/lib/python2.3/site-packages/linkcheck/checker/__init__.py", line 118, in _check_urls
consumer.logger_start_output()
File "/usr/local/lib/python2.3/site-packages/linkcheck/checker/consumer.py", line 143, in logger_start_output
self.logger.start_output()
File "/usr/local/lib/python2.3/site-packages/linkcheck/logger/text.py", line 89, in start_output
self.writeln(linkcheck.configuration.AppInfo)
File "/usr/local/lib/python2.3/site-packages/linkcheck/logger/__init__.py", line 119, in writeln
self.write(unicode(os.linesep), **args)
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
if has_colors(self._fp):
File "/usr/local/lib/python2.3/site-packages/linkcheck/ansicolor.py", line 147, in has_colors
curses.setupterm()
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.

Thanks,
Guy
 
  


Reply


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 08:19 AM
cisco 350 wireless problems and suse x-server problems incognito9 Linux - Wireless Networking 5 10-14-2004 07:53 AM
Problems with OSS while trying to avoid problems in ALSA (scratchy sound) GT_Onizuka Linux - General 1 02-05-2004 11:55 PM
Problems, problems, problems. Lets start with the soundcard Kre8ive Linux - Newbie 5 08-07-2003 01:20 AM
Problems, problems, problems. Lets start with the ES 1868 AudioDrive Kre8ive Linux - Newbie 1 08-06-2003 07:04 PM


All times are GMT -5. The time now is 01:42 AM.

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