hplip 13.15.4 fails with Ubuntu 15.04 (HP laserjet 1018)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
New
|
Undecided
|
Unassigned |
Bug Description
I have been using HPLIP for some time now with no problems, until upgrading to Ubuntu 15.04. I downloaded and installed the latest HPLIP 3.15.4 which lits Ubuntu 15.04 (Beta), but not 15.04 so possibly that is the reason it fails.
I
Ubuntu Version:15.04
Hp Printer : Hp Laserjet 1018
HPLIP Software version: 3.15.4
output of lsusb and hp-check -t:
lsusb
Bus 001 Device 007: ID 03f0:4117 Hewlett-Packard LaserJet 1018
Bus 001 Device 004: ID 0bc2:0503 Seagate RSS LLC ST3250824A [Barracuda 7200.9]
Bus 001 Device 002: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>>>>> hp-check -t
Saving output in log file: /home/ike/
HP Linux Imaging and Printing System (ver. 3.15.4)
Dependency/Version Check Utility ver. 15.1
Copyright (c) 2001-15 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).
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
---------------
| SYSTEM INFO |
---------------
Kernel: 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:31:42 UTC 2014 GNU/Linux
Host: ivers101
Proc: 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:31:42 UTC 2014 GNU/Linux
Distribution: ubuntu 15.04
Bitness: 32 bit
-------
| HPLIP CONFIGURATION |
-------
HPLIP-Version: HPLIP 3.15.4
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for ubuntu distro 15.04 version
Current contents of '/etc/hp/
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.15.4
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
html=/usr/
icon=/usr/
cupsbackend=
cupsfilter=
drv=/usr/
bin=/usr/bin
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-
foomatic-
foomatic-
hpcups-install=yes
cups-drv-
cups-ppd-install=no
internal-tag=3.15.4
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-
hpijs-only-build=no
Current contents of '/var/lib/
[plugin]
installed = 1
eula = 1
version = 3.15.4
Current contents of '~/.hplip/
[upgrade]
notify_upgrade = true
last_upgraded_time = 1430072912
pending_
latest_
[settings]
systray_visible = 0
systray_messages = 0
[last_used]
device_uri = "hp:/usb/
printer_name =
working_dir = .
[commands]
scan = /usr/bin/xsane -V %SANE_URI%
[refresh]
rate = 30
enable = false
type = 1
[polling]
enable = false
interval = 5
device_list =
[fax]
voice_phone =
email_address =
[installation]
date_time = 04/26/2015 16:29:53
version = 3.15.4
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
-------
| External Dependencies |
-------
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.15 OK -
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.24 OK -
xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.998 OK -
cups CUPS - Common Unix Printing System REQUIRED 1.1 2.0.2 OK 'CUPS Scheduler is running'
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
network network -wget OPTIONAL - 1.16.1 OK -
avahi-utils avahi-utils OPTIONAL - 0.6.31 OK -
dbus DBus - Message bus system REQUIRED - 1.8.12 OK -
-------
| General Dependencies |
-------
libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.1 OK -
python-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.0 OK -
reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.1.44 OK -
python-notify Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.11.3 OK -
python-xml Python XML libraries REQUIRED - 2.1.0 OK -
libusb libusb - USB library REQUIRED - 1.0 OK -
cups-image CUPS image - CUPS image development files REQUIRED - 2.0.2 OK -
libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.2 OK -
sane-devel SANE - Scanning library development files REQUIRED - 1.0.24 OK -
pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
python2X Python 2.2 or greater - Python programming language REQUIRED 2.2 2.7.9 OK -
pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 REQUIRED 4.0 4.11.3 OK -
libjpeg libjpeg - JPEG library REQUIRED - - OK -
libpthread libpthread - POSIX threads library REQUIRED - 2.21 OK -
python-devel Python devel - Python development files REQUIRED 2.2 2.7.9 OK -
cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.0.2 OK -
sane SANE - Scanning library REQUIRED - 1.0.24 OK -
---------------
| COMPILEDEP |
---------------
libtool libtool - Library building support services REQUIRED - 2.4.2 OK -
gcc gcc - GNU Project C and C++ Compiler REQUIRED - 4.9.2 OK -
make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.0 OK -
-------
| Python Extentions |
-------
cupsext CUPS-Extension REQUIRED - 3.15.4 OK -
hpmudext IO-Extension REQUIRED - 3.15.4 OK -
-------
| Scan Configuration |
-------
scanext Scan-SANE-Extension REQUIRED - 3.15.4 OK -
hpaio HPLIP-SANE-Backend REQUIRED - 3.15.4 OK 'hpaio found in /etc/sane.
-------
| Other Dependencies |
-------
-------
| DISCOVERED SCANNER DEVICES |
-------
No Scanner found.
-------
| DISCOVERED USB DEVICES |
-------
No devices found.
-------
| INSTALLED CUPS PRINTER QUEUES |
-------
lpstat
------
Type: Unknown
Device URI: No destinations added.
--------------
| PERMISSION |
--------------
No errors or warnings.
Done.
This problem is due to mixed environments HPLIP runs on Ubuntu 15.04. Ubuntus HPLIP package contains python3 as the shebang line while having python2 as the default on system. This causes two different packages of HPLIP run in two different python environments.
This problem is addressed in HPLIP 3.15.4, which can be downloaded at http:// hplipopensource .com/hplip- web/index. html.