[Pkg-hpijs-devel] Bug#490640: hp-scan: Aborts with a traceback when trying to scan.

Andrew Ruthven andrew at etc.gen.nz
Sun Jul 13 09:59:43 UTC 2008


Package: hplip
Version: 2.8.6-1
Severity: grave
Justification: renders package unusable

Hi,

Running hp-scan to use the scanner on my HP m1522nf aborts with the
following traceback:

Traceback (most recent call last):
  File "/usr/bin/hp-scan", line 857, in <module>
    from scan import sane
  File "/usr/share/hplip/scan/sane.py", line 57, in <module>
    import scanext
ImportError: /var/lib/python-support/python2.5/scanext.so: undefined symbol: sane_read

I know that the HP m1522nf is not officially supported, but I can scan from
it using xsane okay.

The output from hp-check below indicates a problem with the SCANEXT Python
module.

Cheers!


-- Package-specific info:
warning: Invalid ppd_dir value: None
error: SIP not installed or version not found.
note: For troubleshooting printing issues, it is best to have the CUPS 'LogLevel'
note: set to 'debug'. To set the LogLevel to debug, edit the file /etc/cups/cupsd.conf (as root),
note: and change the line near the top of the file that begins with 'LogLevel' to read:
note: LogLevel debug
note: Save the file and then restart CUPS (see your OS/distro docs on how to restart CUPS).
note: Now, when you print, helpful debug information will be saved to the file:
note: /var/log/cups/error_log
note: You can monitor this file by running this command in a console/shell:
note: tail -f /var/log/cups/error_log
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
error: 'ppdev' kernel module not loaded.

HP Linux Imaging and Printing System (ver. 2.8.6)
Dependency/Version Check Utility ver. 14.0

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

Initializing. Please wait...

---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux cyclops 2.6.25.9-cyclops #1 SMP PREEMPT Mon Jun 30 15:26:22 NZST 2008 i686 GNU/Linux

Distribution:
debian unstable

HPOJ running?
No, HPOJ is not running (OK).

Checking Python version...
OK, version 2.5.2 installed

Checking PyQt version...
OK, version 3.17 installed.

Checking SIP version...

Checking for CUPS...
Status: scheduler is running
Version: 1.3.7
error_log is set to level: warn

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.82.4


------------------------
| RUNTIME DEPENDENCIES |
------------------------


Checking for dependency: cups - Common Unix Printing System...
OK, found.

Checking for dependency: cups-ddk - CUPS driver development kit...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: ppdev - Parallel port support kernel module....

Checking for dependency: PyQt - Qt interface for Python...
OK, found.

Checking for dependency: python-ctypes - A foreign function library for Python...
OK, found.

Checking for dependency: python-dbus - Python bindings for dbus...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.


----------------------
| HPLIP INSTALLATION |
----------------------


Currently installed HPLIP version...
HPLIP 2.8.6 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=2.8.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
doc=/usr/share/doc/hplip-doc/HTML
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
internal-tag=2.8.6.20


-------------------------------
| DISCOVERED PARALLEL DEVICES |
-------------------------------

No devices found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------


fax
---
Type: Fax
Installed in HPLIP?: Yes, using the hpfax: CUPS backend.
Device URI: hpfax:/net/HPerror: Incorrect PPD file for fax queue 'fax'. Fax queues must use 'HP-Fax-hplip.ppd'.
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
error: Not found. SANE backend 'hpaio' NOT properly setup (needs to be added to /etc/sane.d/dll.conf).
error: NOT FOUND OR FAILED TO LOAD! Please reinstall HPLIP and check for the proper installation of scanext.
error: 6 errors and/or warnings.
_LaserJet_M1522nf_MFP?ip=10.1.0.18
PPD: /etc/cups/ppd/fax.ppd
PPD Description: HP Fax 2
Printer status: printer fax is idle.  enabled since Sun 13 Jul 2008 19:13:10 NZST
Communication status: Good

hp1522nf
--------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/net/HP_LaserJet_M1522nf_MFP?ip=10.1.0.18
PPD: /etc/cups/ppd/hp1522nf.ppd
PPD Description: HP LaserJet m1522nf MFP Foomatic/hpijs, hpijs 2.8.6
Printer status: printer hp1522nf is idle.  enabled since Sun 13 Jul 2008 19:13:02 NZST
Communication status: Good

HP4M
----
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: ///dev/null
PPD: /etc/cups/ppd/HP4M.ppd
PPD Description: HP LaserJet 4M Foomatic/Postscript (recommended)
Printer status: printer HP4M is idle.  enabled since Sun 13 Jul 2008 19:13:02 NZST
m1522nf
-------
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: ///dev/null
PDFWriter
---------
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: ///dev/null
Plotter
-------
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: ///dev/null

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...

Checking output of 'scanimage -L'...
device `hpaio:/net/HP_LaserJet_M1522nf_MFP?ip=10.1.0.18' is a Hewlett-Packard HP_LaserJet_M1522nf_MFP all-in-one


---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...

-----------------
| USB I/O SETUP |
-----------------


Checking for permissions of USB attached printers...

-----------
| SUMMARY |
-----------


Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html


Done.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25.9-cyclops (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages hplip depends on:
ii  adduser                   3.108          add and remove users and groups
ii  coreutils                 6.10-6         The GNU core utilities
ii  cups [cupsys]             1.3.7-8        Common UNIX Printing System(tm) - 
ii  cupsys                    1.3.7-8        Common UNIX Printing System (trans
ii  hplip-data                2.8.6-1        HP Linux Printing and Imaging - da
ii  libc6                     2.7-12         GNU C Library: Shared libraries
ii  libcups2                  1.3.7-8        Common UNIX Printing System(tm) - 
ii  libdbus-1-3               1.2.1-2        simple interprocess messaging syst
ii  libsnmp15                 5.4.1~dfsg-8.1 SNMP (Simple Network Management Pr
ii  libssl0.9.8               0.9.8g-10.1    SSL shared libraries
ii  libusb-0.1-4              2:0.1.12-12    userspace USB programming library
ii  lsb-base                  3.2-13         Linux Standard Base 3.2 init scrip
ii  python                    2.5.2-1        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 [cupsys-client 1.3.7-8       Common UNIX Printing System(tm) - 
ii  cupsys-client              1.3.7-8       Common UNIX Printing System (trans
ii  hpijs                      2.8.6+2.8.6-1 HP Linux Printing and Imaging - gs
ii  hpijs-ppds                 2.8.6+2.8.6-1 HP Linux Printing and Imaging - HP
ii  hplip-gui                  2.8.6-1       HP Linux Printing and Imaging - GU
ii  openprinting-ppds          20080211-2    OpenPrinting printer support - Pos

-- no debconf information





More information about the Pkg-hpijs-devel mailing list