Bug#454117: [Pkg-hpijs-devel] Bug#490640: hp-scan: Aborts with a traceback when trying to scan.
severity 490640 serious merge 512250 454117 thanks On Saturday 17 January 2009 19:58:25 Leif Hornsved wrote: I've noticed a small problem with the latest change, version 2.8.6.b-4 of hplip. It now depends on libsane, Leif, Thanks for your update to this bug report. This is actually a release critical issue with hplip/2.8.6.b-3 in that it isn't linked with libsane. The missing link breaks scanning for all users of hplip. A core piece of functionality for hplip. The upload of hplip/2.8.6.b-4 fixes this and hplip now correctly links with libsane and thus allows users of hplip to perform scanning as advertised. debian-release. Could you consider this an unfreeze request for hplip/2.8.6.b-4 as linking against libsane is critical for the correct functioning of hplip. Mark which means I get 14 MB of unnecessary packages. Unfortunately the way hplip is packaged upstream it isn't trivial to separate the scanning from the printing functionality. It maybe possible, by moving /usr/lib/python-support/hplip/python2.5/scanext.so to it's own package, but I'm certainly not going to attempt this so deep into the lenny freeze. At one point the hpijs package was arranged for those with a printing only requirement and hplip was aligned for both printing/ scanning. But this isn't possible at present (See Bug #454117) libsane is 10 MB. By breaking some recommendations (not installing avahi-daemon etc) I can reduce it from 14 extra packages to 4 packages and about 11 MB. I don't use a scanner and I don't think I have any use of avahi-daemon. Recommendations are certainly not necessary for any package functionality, thus you can safely remove those packages. However this still does mean you need to keep the libsane libs in the current package configuration. Thanks, Mark signature.asc Description: This is a digitally signed message part.
Bug#490640: [Pkg-hpijs-devel] Bug#490640: hp-scan: Aborts with a traceback when trying to scan.
* Mark Purcell [Mon, 19 Jan 2009 22:50:36 +1100]: debian-release. Could you consider this an unfreeze request for hplip/2.8.6.b-4 as linking against libsane is critical for the correct functioning of hplip. Okay, unblocked. I see other 3 patches that were present but not enabled got enabled at the same time. They look safe enough, and I'm assuming they were previously enabled and got lost sometime. Cheers, -- Adeodato Simó dato at net.com.org.es Debian Developer adeodato at debian.org Don't be irreplaceable, if you can't be replaced, you can't be promoted. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#490640: hp-scan: Aborts with a traceback when trying to scan.
Hi, I've noticed a small problem with the latest change, version 2.8.6.b-4 of hplip. It now depends on libsane, which means I get 14 MB of unnecessary packages. libsane is 10 MB. By breaking some rekommendations (not installing avahi-daemon etc) I can reduce it from 14 extra packages to 4 packages and about 11 MB. I don't use a scanner and I don't think I have any use of avahi-saemon. Well, just in case you want to know... /Leif Hornsved -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#490640: hp-scan: Aborts with a traceback when trying to scan.
tags 490640 pending Thanks Evgeni, Thanks it seems I missed all the new patches in -3. That was a bit silly of me. I'll upload shortly. Mark -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#490640: hp-scan: Aborts with a traceback when trying to scan.
Hi, it seems you've forgotten to add hplip-2.8.6-hp_scan_link.dpatch to debian/patches/00list, thus the patch isnt applied and the bug still remains. A trivial patch is attached. If noone objects, I'd like to upload this ASAP. Regards Evgeni -- Bruce Schneier Fact Number 183: Bruce Schneier had a 3-way with Alice and Bob. diff -u hplip-2.8.6.b/debian/changelog hplip-2.8.6.b/debian/changelog --- hplip-2.8.6.b/debian/changelog +++ hplip-2.8.6.b/debian/changelog @@ -1,3 +1,11 @@ +hplip (2.8.6.b-3.1) unstable; urgency=low + + * Non-maintainer upload. + * Now really apply hplip-2.8.6-hp_scan_link.dpatch. +Closes: #494432, #490640 + + -- Evgeni Golov sarge...@die-welt.net Fri, 09 Jan 2009 01:29:14 +0100 + hplip (2.8.6.b-3) unstable; urgency=low * hplip Replaces hplip-gui ( 2.8.6.b-2) diff -u hplip-2.8.6.b/debian/patches/00list hplip-2.8.6.b/debian/patches/00list --- hplip-2.8.6.b/debian/patches/00list +++ hplip-2.8.6.b/debian/patches/00list @@ -8,0 +9 @@ +hplip-2.8.6-hp_scan_link.dpatch pgpooAS5RzKCd.pgp Description: PGP signature
Bug#490640: hp-scan: Aborts with a traceback when trying to scan.
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]
Bug#490640: hp-scan: Aborts with a traceback when trying to scan.
severity 490640 important tag 490640 confirmed On Sun July 13 2008 03:59:43 am Andrew Ruthven wrote: Package: hplip Version: 2.8.6-1 Severity: grave Justification: renders package unusable I have downgraded the reportfrom grave to important because only scanning is affected, although scanning is a significant portion of the package there is more to HPLIP than scanning and none of those other functions appear to be affected. A quick look through src/hplip-2.8.6 shows a couple uses of scan_read and no definition of the function, but there are many more uses of scan_hpaio_read which appears to be defined in scan/sane/hpaio.c---it looks like a name change was incompletely carried out. My C and C-Python skills are a bit rusty so someone more knowledgeable should double check this finding. - Bruce -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]