[Pkg-hpijs-devel] Bug#516403: hplip: hp-scan returns a traceback on an error
Andrew Ruthven
andrew at etc.gen.nz
Sat Feb 21 09:33:46 UTC 2009
Package: hplip
Version: 2.8.12-1
Severity: normal
Hi,
hp-scan attempts to use reportError but this traceback is returned:
Traceback (most recent call last):
File "/usr/bin/hp-scan", line 788, in <module>
sane.reportError(e)
AttributeError: 'module' object has no attribute 'reportError'
This is reprocible with my HP M1522nf if the /usr/lib/libhpmud.so
file is missing. I'd expect an error message about not being able
to find a file (rather than having to dig through strace output).
Cheers!
-- Package-specific info:
HP Linux Imaging and Printing System (ver. 2.8.12)
Dependency/Version Check Utility ver. 14.1
Copyright (c) 2001-8 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode
will check both of the above cases (both compile- and run-time dependencies).
Saving output in log file: hp-check.log
Traceback (most recent call last):
File "/usr/bin/hp-check", line 192, in <module>
os.remove(log_file)
OSError: [Errno 1] Operation not permitted: 'hp-check.log'
-- System Information:
Debian Release: 5.0
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.28.3-cerberus-smp-sm (SMP w/2 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ (charmap=ISO-8859-1) (ignored: LC_ALL set to en_NZ)
Shell: /bin/sh linked to /bin/bash
Versions of packages hplip depends on:
ii adduser 3.110 add and remove users and groups
ii coreutils 6.10-6 The GNU core utilities
ii cups 1.3.8-1lenny4.1 Common UNIX Printing System(tm) -
ii hplip-data 2.8.12-1 HP Linux Printing and Imaging - da
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libcups2 1.3.8-1lenny4.1 Common UNIX Printing System(tm) -
ii libdbus-1-3 1.2.1-5 simple interprocess messaging syst
ii libsane 1.0.19-23 API library for scanners
ii libsnmp15 5.4.1~dfsg-12 SNMP (Simple Network Management Pr
ii libssl0.9.8 0.9.8g-15 SSL shared libraries
ii libusb-0.1-4 2:0.1.12-13 userspace USB programming library
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
ii python 2.5.2-3 An interactive high-level object-o
ii python-dbus 0.82.4-2 simple interprocess messaging syst
ii python-imaging 1.1.6-3 Python Imaging Library
ii python-support 0.8.4 automated rebuilding support for P
Versions of packages hplip recommends:
ii cups-client 1.3.8-1lenny4.1 Common UNIX Printing System(tm) -
ii hpijs 2.8.12-1 HP Linux Printing and Imaging - gs
Versions of packages hplip suggests:
ii hplip-doc 2.8.6.b-4 HP Linux Printing and Imaging - do
pn hplip-gui <none> (no description available)
pn kdeprint | gtklp | xpp <none> (no description available)
ii openprinting-ppds 20080211-2+nmu1 OpenPrinting printer support - Pos
-- no debconf information
More information about the Pkg-hpijs-devel
mailing list