[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 Wed, 15 Oct 2008 13:17:05 +0000
with message-id <E1Kq6FN-0004mn-5K@ries.debian.org>
and subject line Bug#490640: fixed in hplip 2.8.6.b-3
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-3

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-3_all.deb
  to pool/main/h/hplip/hpijs-ppds_2.8.6.b-3_all.deb
hpijs_2.8.6.b-3_i386.deb
  to pool/main/h/hplip/hpijs_2.8.6.b-3_i386.deb
hplip-data_2.8.6.b-3_all.deb
  to pool/main/h/hplip/hplip-data_2.8.6.b-3_all.deb
hplip-dbg_2.8.6.b-3_i386.deb
  to pool/main/h/hplip/hplip-dbg_2.8.6.b-3_i386.deb
hplip-doc_2.8.6.b-3_all.deb
  to pool/main/h/hplip/hplip-doc_2.8.6.b-3_all.deb
hplip-gui_2.8.6.b-3_all.deb
  to pool/main/h/hplip/hplip-gui_2.8.6.b-3_all.deb
hplip_2.8.6.b-3.diff.gz
  to pool/main/h/hplip/hplip_2.8.6.b-3.diff.gz
hplip_2.8.6.b-3.dsc
  to pool/main/h/hplip/hplip_2.8.6.b-3.dsc
hplip_2.8.6.b-3_i386.deb
  to pool/main/h/hplip/hplip_2.8.6.b-3_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: Wed, 15 Oct 2008 23:44:41 +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-3
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 502055
Changes: 
 hplip (2.8.6.b-3) unstable; urgency=low
 .
   * hplip Replaces hplip-gui (<< 2.8.6.b-2)
     - File conflict with hplip-gui (Closes: #502055)
   * Apply patch (faulty scanext.so) from dwelsh
     - hp-scan: Aborts with a traceback when trying to scan.
     hplip-2.8.6-hp_scan_link.dpatch (Closes: #490640)
   * Sync Ubuntu patches & changes:
       debian/patches/pdf_printing_support.dpatch
       debian/patches/pjl-duplex-binding.dpatch
       debian/patches/kde4-kdesudo-support.dpatch
       debian/patches/bugs-in-generated-ppds.dpatch
     - Exclude /usr/share/hplip/install.py
     - hplip-gui requires one of "gksu", "kdesu", and "kdesudo"
     - debian/rules: Add *cupsFilter lines for PDF input
   * unused-override debian/{hpijs,hplip-data}.lintian
Checksums-Sha1: 
 0d1bb5d7491d876c09608911672d4689d1ccc592 1651 hplip_2.8.6.b-3.dsc
 6f6c2f115a8df8360a70fa836d11a117fb9f9600 78355 hplip_2.8.6.b-3.diff.gz
 5d7199853b53edda3cdcf692dec1418a97018b23 6984462 hplip-data_2.8.6.b-3_all.deb
 e086cb0f030edc267d14b532eef29afd75927d1a 51872 hplip-gui_2.8.6.b-3_all.deb
 60339f06ef81b6c964d165226c7893dffea65af8 652350 hplip-doc_2.8.6.b-3_all.deb
 016610446262d2d22654fe7081b8c7ea9c93dd60 1923836 hpijs-ppds_2.8.6.b-3_all.deb
 b14b15c4af11c7218923dde59dec9c89c9f5c4ab 237564 hplip_2.8.6.b-3_i386.deb
 bfbb2989f9aaf0029d0a9557d6dcd547553daa58 764108 hplip-dbg_2.8.6.b-3_i386.deb
 24c7eed6f0ee868d8a8c817bd7c5fb2c646d2fd6 320004 hpijs_2.8.6.b-3_i386.deb
Checksums-Sha256: 
 02f85fa4e84ada90c281f42e6a7f450b2288fbc1b92f0a3c39ef6f5c514a861f 1651 hplip_2.8.6.b-3.dsc
 450fbbc4ed87c8c2a57ad329b388c94f915ac21f5d4ca2ddb026cc358515dc57 78355 hplip_2.8.6.b-3.diff.gz
 892b95fcff4323972b076c449c9c5e1e6ddb3e3fdd58c930a42d9e6cea4350e9 6984462 hplip-data_2.8.6.b-3_all.deb
 f51634ae84741da2177e04859b8e6099ae7db34e11b6c11a1f0c76b5ccd2bdd1 51872 hplip-gui_2.8.6.b-3_all.deb
 eba19b3568b4aebb037fb6b86bf011bf6fe363c4134f139924c5dbfc451e9831 652350 hplip-doc_2.8.6.b-3_all.deb
 f9bf7786f26f040cd4bf2e274b72093fd768f7d795fc2d0676d28db12f002cb0 1923836 hpijs-ppds_2.8.6.b-3_all.deb
 887a41a691f5b85e352e887a5c44225bda96fee9c2e40e9ee5afe295b6993f76 237564 hplip_2.8.6.b-3_i386.deb
 d3ab9866713c4e47ff772081a4bf95f53ebe722c9beebfd6d2b299602b9b3178 764108 hplip-dbg_2.8.6.b-3_i386.deb
 8ef6fb3d62928c04f1dadc1dc608555f0f73c1ce56f718191c79180cca7123f6 320004 hpijs_2.8.6.b-3_i386.deb
Files: 
 0b62de01510e70c0ab00daa0b612e226 1651 utils optional hplip_2.8.6.b-3.dsc
 99eef44b65a5b50f0488696bf74609ec 78355 utils optional hplip_2.8.6.b-3.diff.gz
 ec8d756bc0f73e0c331c71f79055e284 6984462 utils optional hplip-data_2.8.6.b-3_all.deb
 7577c8058ccd28f027da8868852098e1 51872 utils optional hplip-gui_2.8.6.b-3_all.deb
 b3e8238207275ed6113f95a4fe860b25 652350 doc optional hplip-doc_2.8.6.b-3_all.deb
 49203872a95aa758b5a93a60871d46af 1923836 utils optional hpijs-ppds_2.8.6.b-3_all.deb
 643699744da4cb3bb6917bb14d38a39d 237564 utils optional hplip_2.8.6.b-3_i386.deb
 b3d55c98b8e5970563c699e4d2fd3134 764108 utils extra hplip-dbg_2.8.6.b-3_i386.deb
 373721ad1320e03ea9602749c3e578c1 320004 text optional hpijs_2.8.6.b-3_i386.deb

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

iEYEARECAAYFAkj15lgACgkQoCzanz0IthICuQCbBh2tjp5lao08cPwJDghDzuIP
mWYAn1zZI9EFSyCe0X6OjoXK1EiAFuco
=TYkQ
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: