[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#490640: marked as done (hp-scan: Aborts with a traceback when trying to scan.)



Your message dated Sat, 17 Jan 2009 01:17:05 +0000
with message-id <E1LNzo9-0003FT-QY@ries.debian.org>
and subject line Bug#490640: fixed in hplip 2.8.6.b-4
has caused the Debian Bug report #490640,
regarding hp-scan: Aborts with a traceback when trying to scan.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
490640: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=490640
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
Source: hplip
Source-Version: 2.8.6.b-4

We believe that the bug you reported is fixed in the latest version of
hplip, which is due to be installed in the Debian FTP archive:

hpijs-ppds_2.8.6.b-4_all.deb
  to pool/main/h/hplip/hpijs-ppds_2.8.6.b-4_all.deb
hpijs_2.8.6.b-4_i386.deb
  to pool/main/h/hplip/hpijs_2.8.6.b-4_i386.deb
hplip-data_2.8.6.b-4_all.deb
  to pool/main/h/hplip/hplip-data_2.8.6.b-4_all.deb
hplip-dbg_2.8.6.b-4_i386.deb
  to pool/main/h/hplip/hplip-dbg_2.8.6.b-4_i386.deb
hplip-doc_2.8.6.b-4_all.deb
  to pool/main/h/hplip/hplip-doc_2.8.6.b-4_all.deb
hplip-gui_2.8.6.b-4_all.deb
  to pool/main/h/hplip/hplip-gui_2.8.6.b-4_all.deb
hplip_2.8.6.b-4.diff.gz
  to pool/main/h/hplip/hplip_2.8.6.b-4.diff.gz
hplip_2.8.6.b-4.dsc
  to pool/main/h/hplip/hplip_2.8.6.b-4.dsc
hplip_2.8.6.b-4_i386.deb
  to pool/main/h/hplip/hplip_2.8.6.b-4_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 490640@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mark Purcell <msp@debian.org> (supplier of updated hplip package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 15 Jan 2009 23:56:59 +1100
Source: hplip
Binary: hplip hplip-data hplip-gui hplip-dbg hplip-doc hpijs-ppds hpijs
Architecture: source all i386
Version: 2.8.6.b-4
Distribution: unstable
Urgency: low
Maintainer: Debian HPIJS and HPLIP maintainers <pkg-hpijs-devel@lists.alioth.debian.org>
Changed-By: Mark Purcell <msp@debian.org>
Description: 
 hpijs      - HP Linux Printing and Imaging - gs IJS driver (hpijs)
 hpijs-ppds - HP Linux Printing and Imaging - HPIJS PPD files
 hplip      - HP Linux Printing and Imaging System (HPLIP)
 hplip-data - HP Linux Printing and Imaging - data files
 hplip-dbg  - HP Linux Printing and Imaging - debugging information
 hplip-doc  - HP Linux Printing and Imaging - documentation
 hplip-gui  - HP Linux Printing and Imaging - GUI utilities
Closes: 490640
Changes: 
 hplip (2.8.6.b-4) unstable; urgency=low
 .
   * Fix "hp-scan: Aborts with a traceback when trying to scan."
     - Apply missing patches from -3 upload (Closes: #490640)
Checksums-Sha1: 
 6153c520da49a2c5f4888190eed74ada778eb7c0 1651 hplip_2.8.6.b-4.dsc
 5ad5cae198b2944f75d587cdfec695529a220abb 78435 hplip_2.8.6.b-4.diff.gz
 e5572ab6a041c31de49ddfa73559292bc4ff4219 6984874 hplip-data_2.8.6.b-4_all.deb
 595fb6d0350b96648dab3ab16f2cf7a05a83dc8d 51934 hplip-gui_2.8.6.b-4_all.deb
 57e9f7fd713070f6dc34715781e05b62d8bb4010 652386 hplip-doc_2.8.6.b-4_all.deb
 a3d140be56e3f2ba6c37cde0d72b8d26f6dd74d4 1924142 hpijs-ppds_2.8.6.b-4_all.deb
 1cef1ee68efc514d38829d6845a6183f60e65d20 237658 hplip_2.8.6.b-4_i386.deb
 86006720ea1d642df61588f26dcfef06d84c1f60 765486 hplip-dbg_2.8.6.b-4_i386.deb
 4f9d75ec457532d486cc617ff92666631b7489e3 320258 hpijs_2.8.6.b-4_i386.deb
Checksums-Sha256: 
 0f889e56007ed2fc1c0eddf86cadbe52dec2c870435c0e8711f1758ad9da1295 1651 hplip_2.8.6.b-4.dsc
 a4a633b6459606196cb338d3f4f47257618a87a20bf1c488cf29fc222e02e058 78435 hplip_2.8.6.b-4.diff.gz
 95edda8122bfdafd4afc85fae5a2dabb2497651bdf70de811c3aa0e4baeff506 6984874 hplip-data_2.8.6.b-4_all.deb
 8fe6e495bc461fe17b5995e5ffc89849f6763a8f48756ec9ea6a4876a16f2352 51934 hplip-gui_2.8.6.b-4_all.deb
 3598a2e790727bb28e3e136be3b536b0d57105f1b7ccb4f200721c6310db5d11 652386 hplip-doc_2.8.6.b-4_all.deb
 da23f8665992cc0b8c8b61504e0ae2c0e558ccdd0463ed49ca8e307623444e14 1924142 hpijs-ppds_2.8.6.b-4_all.deb
 84af1ad89ee24aabc32ab8499be0d337c9d4eac597e4176dc9b05578e2a187db 237658 hplip_2.8.6.b-4_i386.deb
 4d7640f5c5f4a59646121ea0bd41323bee202189ca53cd75cf74eec71125a7f0 765486 hplip-dbg_2.8.6.b-4_i386.deb
 1e132e7aecc86755834762fa30ae11364e600dcd4117ce6b6e1b3ab259d7af9f 320258 hpijs_2.8.6.b-4_i386.deb
Files: 
 9322184e0a21d898704de5e75de6d6b8 1651 utils optional hplip_2.8.6.b-4.dsc
 5d038b0f34d3be99de71c935c27c35b9 78435 utils optional hplip_2.8.6.b-4.diff.gz
 24d23ab53f0563dc26e93c1b6d489068 6984874 utils optional hplip-data_2.8.6.b-4_all.deb
 5a3bd97873f2bc78a0672a8af56d1ede 51934 utils optional hplip-gui_2.8.6.b-4_all.deb
 041c447876930aefae9e8d566cc70a55 652386 doc optional hplip-doc_2.8.6.b-4_all.deb
 f2a417cb83c20b761b9382040b388da6 1924142 utils optional hpijs-ppds_2.8.6.b-4_all.deb
 d0f30626631aa14240fa8f80c86692ec 237658 utils optional hplip_2.8.6.b-4_i386.deb
 1d0bb49b1af732418fa89f1b1ca570e2 765486 utils extra hplip-dbg_2.8.6.b-4_i386.deb
 1f5528ed40e0cb18df55e1669830351d 320258 text optional hpijs_2.8.6.b-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAklvMz4ACgkQoCzanz0IthI3MACfXrb4DjqSjNPvJMwEpD+MmZDf
ueIAnijZeubhZD6+p01Qgiaz/w4WjJuj
=Xg2l
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: