Package: linkchecker
Version: 2.9-2
Severity: normal

The following error message is reported everytime I run linkchecker and, if I 
am checking
multiple pages, several times during checking. It doesn't seem to have any 
effect on the
performance of linkchecker (eg it still finds broken links) but it would be 
nice if it
didn't keep reporting this problem as it makes the command line output 
difficult to read.

I'm currently using the AMD64 port of Debian but I have also had this problem 
on the current
testing version.

********** Oops, I did it again. *************

You have found an internal error in LinkChecker. Please write a bug report
at http://sourceforge.net/tracker/?func=add&group_id=1913&atid=101913
or send mail to [EMAIL PROTECTED] and include the following information:
- the URL or file you are testing
- your commandline arguments and/or configuration.
- the output of a debug run with option "-Dall" of the executed command
- the system information below.

Disclosing some of the information above due to privacy reasons is ok.
I will try to help you nonetheless, but you have to give me something
I can work with ;) .

exceptions.AttributeError 'module' object has no attribute 'LOG_NET'
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/linkcheck/checker/urlbase.py", line 
339, in check
    self.local_check()
  File "/usr/lib/python2.4/site-packages/linkcheck/checker/urlbase.py", line 
383, in local_check
    self.check_connection()
  File "/usr/lib/python2.4/site-packages/linkcheck/checker/mailtourl.py", line 
139, in check_connection
    self.check_smtp_domain(name, mail)
  File "/usr/lib/python2.4/site-packages/linkcheck/checker/mailtourl.py", line 
152, in check_smtp_domain
    answers = linkcheck.dns.resolver.query(domain, 'MX')
  File "/usr/lib/python2.4/site-packages/linkcheck/dns/resolver.py", line 658, 
in query
    default_resolver = Resolver()
  File "/usr/lib/python2.4/site-packages/linkcheck/dns/resolver.py", line 273, 
in __init__
    self.read_local_hosts()
  File "/usr/lib/python2.4/site-packages/linkcheck/dns/resolver.py", line 340, 
in read_local_hosts
    for addr in self.read_local_ifaddrs():
  File "/usr/lib/python2.4/site-packages/linkcheck/dns/resolver.py", line 350, 
in read_local_ifaddrs
    return [ifc.getAddr(iface) for iface in ifc.getInterfaceList()
  File "/usr/lib/python2.4/site-packages/linkcheck/dns/ifconfig.py", line 103, 
in isUp
    return (self.getFlags(ifname) & self.IFF_UP) != 0
  File "/usr/lib/python2.4/site-packages/linkcheck/dns/ifconfig.py", line 81, 
in getFlags
    linkcheck.log.warn(linkcheck.LOG_NET,
AttributeError: 'module' object has no attribute 'LOG_NET'
System info:
LinkChecker 2.9
Python 2.4.1 (#2, May  6 2005, 11:22:24)
[GCC 3.3.6 (Debian 1:3.3.6-2)] on linux2
LC_ALL = 'en_GB.UTF-8'

******** LinkChecker internal error, bailing out ********

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-9-amd64-k8
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)

Versions of packages linkchecker depends on:
ii  python                        2.3.5-3    An interactive high-level object-o
ii  python2.4                     2.4.1-2    An interactive high-level object-o

linkchecker recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to