[Pkg-hpijs-devel] Bug#683033: libsane-hpaio: Network scanning fails with "error: SANE: End of file reached (code=5)"
Francis Russell
francis+dbts at unchartedbackwaters.co.uk
Fri Jul 27 22:55:03 UTC 2012
Package: libsane-hpaio
Version: 3.12.6-3
Severity: important
Attempting to scan from from an HP OfficeJet Pro L7600 using any tool
fails. All other printing functionality works fine. I've attached the
ouput of "hp-scan -g" and "hp-check" (note, both contain terminal
control code).
I also found these bug reports from Ubuntu which describe identical
issues to mine:
https://bugs.launchpad.net/hplip/+bug/1027021
https://bugs.launchpad.net/hplip/+bug/1015319
Using the 3.2.14 tarball from HP and the 3.12.14-2 packaging from the
Debian SVN repository I rebuilt 3.12.14-2 packages and can confirm that
downgrading to that version also fixes the issues for me.
Francis
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.3.4 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libsane-hpaio depends on:
ii libc6 2.13-33
ii libcups2 1.5.3-1
ii libdbus-1-3 1.6.0-1
ii libhpmud0 3.12.6-3
ii libssl1.0.0 1.0.1c-3
Versions of packages libsane-hpaio recommends:
ii hplip 3.12.6-3
ii sane-utils 1.0.22-7.3
libsane-hpaio suggests no packages.
-- no debconf information
-------------- next part --------------
[01mHP Linux Imaging and Printing System (ver. 3.12.6)[0m
[01mDependency/Version Check Utility ver. 15[0m
Copyright (c) 2001-14 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.
[01mNote: hp-check can be run in three modes:[0m
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).
Check types:
a. EXTERNALDEP - External Dependencies
b. GENERALDEP - General Dependencies (required both at compile and run time)
c. COMPILEDEP - Compile time Dependencies
d. [All are run-time checks]
PYEXT SCANCONF QUEUES PERMISSION
Status Types:
OK
MISSING - Missing Dependency or Permission or Plug-in
INCOMPAT - Incompatible dependency-version or Plugin-version
[01mSaving output in log file: /home/fpr/hp-check.log[0m
Initializing. Please wait...
[35;01mwarning: [01mdebian-testing version is not supported. Using debian-6.0.5 versions dependencies to verify and install...[0m[0m
---------------
| SYSTEM INFO |
---------------
Kernel: 3.3.4 #1 SMP Mon Apr 30 21:17:48 BST 2012 GNU/Linux
Host: callisto
Proc: 3.3.4 #1 SMP Mon Apr 30 21:17:48 BST 2012 GNU/Linux
Distribution: debian testing
-----------------------
| HPLIP CONFIGURATION |
-----------------------
HPLIP-Version: HPLIP 3.12.6
HPLIP-Home: /usr/share/hplip
[35;01mwarning: HPLIP-Installation: Auto installation is not supported for debian distro testing version [0m
[01mCurrent contents of '/etc/hp/hplip.conf' file:[0m
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.12.6
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
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
libusb01-build=no
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.12.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
[01mCurrent contents of '/var/lib/hp/hplip.state' file:[0m
Plugins are not installed. Could not access file: No such file or directory
[01mCurrent contents of '~/.hplip/hplip.conf' file:[0m
[last_used]
printer_name =
working_dir = .
device_uri = hpaio:/net/Officejet_Pro_L7600?ip=192.168.0.10
[commands]
scan = /usr/bin/xsane -V %SANE_URI%
[installation]
date_time = 27/07/12 23:52:23
version = 3.12.6
[settings]
systray_messages = 0
systray_visible = 0
[fax]
email_address =
voice_phone =
[refresh]
rate = 30
enable = false
type = 1
[polling]
enable = false
device_list =
interval = 5
[upgrade]
notify_upgrade = false
last_upgraded_time = 1343425362.31262
pending_upgrade_time = 0
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
--------------------------
| External Dependencies |
--------------------------
gs Ghostscript REQUIRED 7.05 9.05 OK -
network Network-wget OPTIONAL - 1.13.4 OK -
dbus DBus REQUIRED - 1.6.0 OK -
scanimage Shell-Scanning OPTIONAL 1.0 1.0.22 OK -
policykit Admin-Policy-framework OPTIONAL - 0.105 OK -
xsane SANE-GUI OPTIONAL 0.9 0.998 OK -
cups CUPS REQUIRED 1.1 1.5.3 OK 'CUPS Scheduler is running'
-------------------------
| General Dependencies |
-------------------------
reportlab Python-PDF-Lib OPTIONAL 2.0 2.5 OK -
libcrypto OpenSSL-Crypto-Lib REQUIRED - 1.0.1 OK -
pil Python-Image-Lib OPTIONAL - 1.1.7 OK -
pyqt4-dbus PyQt4-DBUS REQUIRED 4.0 4.9.1 OK -
libjpeg JPEG-Lib REQUIRED - - OK -
libpthread POSIX-Threads-Lib REQUIRED - 2.13 OK -
python-dbus Python-DBUS REQUIRED 0.80.0 1.1.1 OK -
python-devel Python-SDK REQUIRED 2.2 2.7.3 OK -
pyqt4 Python-Qt4 REQUIRED 4.0 4.9.1 OK -
cups-devel CUPS-SDK REQUIRED - 1.5.3 OK -
sane-devel SANE-SDK REQUIRED - 1.0.22 OK -
libusb USB-Lib REQUIRED - 1.0 OK -
sane Scan-Lib REQUIRED - 1.0.22 OK -
cups-image CUPS-Image-Lib REQUIRED - 1.5.3 OK -
libnetsnmp-devel SNMP-Networking-SDK REQUIRED 5.0.9 5.4.3 OK -
python-xml Python-XML-Lib REQUIRED - 2.1.0 OK -
python-notify Desktop-notifications OPTIONAL - - OK -
------------------------------
| Compile Time Dependencies |
------------------------------
gcc gcc-Compiler REQUIRED - 4.7.1 OK -
libtool Build-tools REQUIRED - 2.4.2 OK -
make GNU-Build-tools REQUIRED 3.0 3.81 OK -
----------------------
| Python Extentions |
----------------------
cupsext CUPS-Extension REQUIRED - 3.12.6 OK -
pcardext PhotoCard-Extension REQUIRED - 3.12.6 OK -
hpmudext IO-Extension REQUIRED - 3.12.6 OK -
-----------------------
| Scan Configuration |
-----------------------
hpaio HPLIP-SANE-Backend REQUIRED - 3.12.6 OK 'hpaio found in /etc/sane.d/dll.conf'
scanext Scan-SANE-Extension REQUIRED - 3.12.6 OK -
------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------
WARNING: gnome-keyring:: couldn't connect to: /home/fpr/.cache/keyring-a83J9l/pkcs11: No such file or directory
device `v4l:/dev/video0' is a Noname USB2.0 UVC PC Camera virtual device
device `hpaio:/net/Officejet_Pro_L7600?ip=192.168.0.10' is a Hewlett-Packard Officejet_Pro_L7600 all-in-one
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
No devices found.
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
[01mWARNING[0m
[01m-------[0m
Type: Unknown
Device URI: gnome-keyring:: couldn't connect to: /home/fpr/.cache/keyring-a83J9l/pkcs11: No such file or directory
[01mOfficejet_Pro_L7600[0m
[01m-------------------[0m
Type: Printer
Device URI: hp:/net/Officejet_Pro_L7600?ip=192.168.0.10
PPD: /etc/cups/ppd/Officejet_Pro_L7600.ppd
PPD Description: HP Officejet Pro l7600, hpcups 3.12.6
Printer status: WARNING: gnome-keyring:: couldn't connect to: /home/fpr/.cache/keyring-a83J9l/pkcs11: No such file or directory
printer Officejet_Pro_L7600 is idle. enabled since Mon 18 Jun 2012 11:54:40 BST
WARNING: gnome-keyring:: couldn't connect to: /home/fpr/.cache/keyring-a83J9l/pkcs11: No such file or directory
Communication status: Good
[01mOfficejet_Pro_L7600_fax[0m
[01m-----------------------[0m
Type: Fax
Device URI: hpfax:/net/Officejet_Pro_L7600?ip=192.168.0.10
PPD: /etc/cups/ppd/Officejet_Pro_L7600_fax.ppd
PPD Description: HP Fax hpcups
Printer status: WARNING: gnome-keyring:: couldn't connect to: /home/fpr/.cache/keyring-a83J9l/pkcs11: No such file or directory
printer Officejet_Pro_L7600_fax is idle. enabled since Sat 16 May 2009 22:57:53 BST
Communication status: Good
--------------
| PERMISSION |
--------------
groups user-groups Required - - OK fpr adm lp dialout cdrom floppy sudo audio src video plugdev netdev lpadmin powerdev fuse mythtv
-----------
| SUMMARY |
-----------
[01mMissing Required Dependencies[0m
[01m-----------------------------[0m
None
[01mMissing Optional Dependencies[0m
[01m-----------------------------[0m
None
Total Errors: 0
Total Warnings: 0
[32;01mNo errors or warnings.[0m
Done.
-------------- next part --------------
[01mHP Linux Imaging and Printing System (ver. 3.12.6)[0m
[01mScan Utility ver. 2.2[0m
Copyright (c) 2001-14 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.
[34;01mhp-scan[5348]: debug: getDeviceUri(None, None, ['hpaio'], {'scan-type': (<built-in function gt>, 0)}, , True)[0m
[34;01mhp-scan[5348]: debug: Mode=0[0m
WARNING: gnome-keyring:: couldn't connect to: /home/fpr/.cache/keyring-a83J9l/pkcs11: No such file or directory
[34;01mhp-scan[5348]: debug: hp:/net/Officejet_Pro_L7600?ip=192.168.0.10: back_end:hp is_hp:True bus:net model:Officejet_Pro_L7600 serial: dev_file: host:192.168.0.10 zc: port:1[0m
[34;01mhp-scan[5348]: debug: Cache miss: officejet_pro_l7600[0m
[34;01mhp-scan[5348]: debug: Reading file: /usr/share/hplip/data/models/models.dat[0m
[34;01mhp-scan[5348]: debug: Searching for section [officejet_pro_l7600] in file /usr/share/hplip/data/models/models.dat[0m
[34;01mhp-scan[5348]: debug: Found section [officejet_pro_l7600] in file /usr/share/hplip/data/models/models.dat[0m
[34;01mhp-scan[5348]: debug: hpfax:/net/Officejet_Pro_L7600?ip=192.168.0.10: back_end:hpfax is_hp:True bus:net model:Officejet_Pro_L7600 serial: dev_file: host:192.168.0.10 zc: port:1[0m
[34;01mhp-scan[5348]: debug: {'hpaio:/net/Officejet_Pro_L7600?ip=192.168.0.10': ['Officejet_Pro_L7600']}[0m
Using device: hpaio:/net/Officejet_Pro_L7600?ip=192.168.0.10
[35;01mwarning: No destinations specified. Adding 'file' destination by default.[0m
[01mUsing device hpaio:/net/Officejet_Pro_L7600?ip=192.168.0.10[0m
Opening connection to device...
[31;01merror: SANE: End of file reached (code=5)[0m
More information about the Pkg-hpijs-devel
mailing list