Bug#904070: hplip-gui components fail to start
Package: hplip-gui
Version: 3.16.11+repack0-3
Severity: grave
The GUI components of HPLIP are failing to start on Debian 9.5
I had some serious SNAFU/FUBAR with cups/hplip and purged all pacakges,
removed all configs, killed all processes, did an upgrade to 9.5 from 9.4,
then reinstalled cups and hplip-gui (and thus all deps), and now cups and hplip
are working but the hplip-gui is broken. Below is a shell session where I try
to start both hp-toolbox and hp-systray, along with apt-policy and dpkg -l
information to aid in verifying and reproducing this issue.
I've marked this grave as if it is not merely a local issue, it
renders hplip-gui
completely unusable.
roger@debian:~$ hp-toolbox
error: Unable to locate models.dat file
HP Linux Imaging and Printing System (ver. 0.0.0)
HP Device Manager ver. 15.0
Copyright (c) 2001-15 HP 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.
Traceback (most recent call last):
File "/usr/bin/hp-toolbox", line 269, in <module>
QApplication, ui_package = utils.import_dialog(ui_toolkit)
TypeError: 'NoneType' object is not iterable
roger@debian:~$ hp-systray
error: Unable to locate models.dat file
HP Linux Imaging and Printing System (ver. 0.0.0)
System Tray Status Service ver. 2.0
Copyright (c) 2001-15 HP 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.
warning: GUI mode disabled in build.
error: hp-systray requires Qt4 GUI and DBus support. Exiting.
roger@debian:~$ dpkg -l hplip* python3* | egrep ^.i
ii hplip 3.16.11+repack0-3 amd64 HP
Linux Printing and Imaging System (HPLIP)
ii hplip-data 3.16.11+repack0-3 all HP
Linux Printing and Imaging - data files
ii hplip-gui 3.16.11+repack0-3 all HP
Linux Printing and Imaging - GUI utilities (Qt-based)
ii python3 3.5.3-1 amd64
interactive high-level object-oriented language (default python3
version)
ii python3-apt 1.4.0~beta3 amd64
Python 3 interface to libapt-pkg
ii python3-brlapi 5.4-7 amd64
Braille display access via BRLTTY - Python3 bindings
ii python3-bsddb3 6.1.0-1+b2 amd64
Python interface for Berkeley DB (Python 3.x)
ii python3-cairo 1.10.0+dfsg-5+b1 amd64
Python 3 bindings for the Cairo vector graphics library
ii python3-chardet 2.3.0-2 all
universal character encoding detector for Python3
ii python3-cycler 0.10.0-1 all
composable kwarg iterator (Python 3)
ii python3-dateutil 2.5.3-2 all
powerful extensions to the standard datetime module
ii python3-dbus 1.2.4-1+b1 amd64
simple interprocess messaging system (Python 3 interface)
ii python3-dbus.mainloop.pyqt5 5.7+dfsg-5 amd64 D-Bus
Qt main loop support for Python 3
ii python3-debian 0.1.30 all
Python 3 modules to work with Debian-related data formats
ii python3-debianbts 2.6.1 all
Python interface to Debian's Bug Tracking System
ii python3-ecdsa 0.13-2 all ECDSA
cryptographic signature library (Python 3)
ii python3-feedparser 5.1.3-3 all
Universal Feed Parser for Python 3
ii python3-gi 3.22.0-2 amd64
Python 3 bindings for gobject-introspection libraries
ii python3-gi-cairo 3.22.0-2 amd64
Python 3 Cairo bindings for the GObject library
ii python3-gnupg 0.3.9-1 all
Python wrapper for the GNU Privacy Guard (Python 3.x)
ii python3-gst-1.0 1.10.4-1 amd64
GStreamer GObject Introspection overrides for Python (Python 3)
ii python3-httplib2 0.9.2+dfsg-1 all
comprehensive HTTP client library written for Python3
ii python3-icu 1.9.5-1 amd64
Python 3 extension wrapping the ICU C++ API
ii python3-louis 3.0.0-3+deb9u4 all
Python bindings for liblouis
ii python3-mako 1.0.6+ds1-2 all fast
and lightweight templating for the Python 3 platform
ii python3-markupsafe 0.23-3 amd64
HTML/XHTML/XML string library for Python 3
ii python3-matplotlib 2.0.0+dfsg1-2 amd64
Python based plotting system in a style similar to Matlab (Python 3)
ii python3-minimal 3.5.3-1 amd64
minimal subset of the Python language (default python3 version)
ii python3-notify2 0.3-3 all
desktop notifications API for Python 3
ii python3-numpy 1:1.12.1-3 amd64 Fast
array facility to the Python 3 language
ii python3-pexpect 4.2.1-1 all
Python 3 module for automating interactive applications
ii python3-pil:amd64 4.0.0-4 amd64
Python Imaging Library (Python3)
ii python3-pkg-resources 33.1.1-1 all
Package Discovery and Resource Access using pkg_resources
ii python3-ptyprocess 0.5.1-1 all Run a
subprocess in a pseudo terminal from Python 3
ii python3-pyatspi 2.20.3+dfsg-1 all
Assistive Technology Service Provider Interface - Python3 bindings
ii python3-pycurl 7.43.0-2 amd64
Python bindings to libcurl (Python 3)
ii python3-pyparsing 2.1.10+dfsg1-1 all
Python parsing module, Python3 package
ii python3-pyqt5 5.7+dfsg-5 amd64
Python 3 bindings for Qt5
ii python3-pysimplesoap 1.16-2 all
simple and lightweight SOAP Library (Python 3)
ii python3-renderpm:amd64 3.3.0-2 amd64
python low level render interface
ii python3-reportbug 7.1.7+deb9u2 all
Python modules for interacting with bug tracking systems
ii python3-reportlab 3.3.0-2 all
ReportLab library to create PDF documents using Python3
ii python3-reportlab-accel:amd64 3.3.0-2 amd64 C
coded extension accelerator for the ReportLab Toolkit
ii python3-requests 2.12.4-1 all
elegant and simple HTTP library for Python3, built for human beings
ii python3-sip 4.18.1+dfsg-2 amd64
Python 3/C++ bindings generator runtime library
ii python3-six 1.10.0-3 all
Python 2 and 3 compatibility library (Python 3 interface)
ii python3-speechd 0.8.6-4+deb9u1 all
Python interface to Speech Dispatcher
ii python3-tk:amd64 3.5.3-1 amd64
Tkinter - Writing Tk applications with Python 3.x
ii python3-tz 2016.7-0.3 all
Python3 version of the Olson timezone database
ii python3-uno 1:5.2.7-1+deb9u4 amd64
Python-UNO bridge
ii python3-urllib3 1.19.1-1 all HTTP
library with thread-safe connection pooling for Python3
ii python3-xdg 0.25-4 all
Python 3 library to access freedesktop.org standards
ii python3.5 3.5.3-1 amd64
Interactive high-level object-oriented language (version 3.5)
ii python3.5-minimal 3.5.3-1 amd64
Minimal subset of the Python language (version 3.5)
roger@debian:~$ apt policy
Package files:
100 /var/lib/dpkg/status
release a=now
100 http://deb.debian.org/debian stretch-backports/non-free i386 Packages
release o=Debian
Backports,a=stretch-backports,n=stretch-backports,l=Debian
Backports,c=non-free,b=i386
origin deb.debian.org
100 http://deb.debian.org/debian stretch-backports/non-free amd64 Packages
release o=Debian
Backports,a=stretch-backports,n=stretch-backports,l=Debian
Backports,c=non-free,b=amd64
origin deb.debian.org
100 http://deb.debian.org/debian stretch-backports/contrib i386 Packages
release o=Debian
Backports,a=stretch-backports,n=stretch-backports,l=Debian
Backports,c=contrib,b=i386
origin deb.debian.org
100 http://deb.debian.org/debian stretch-backports/contrib amd64 Packages
release o=Debian
Backports,a=stretch-backports,n=stretch-backports,l=Debian
Backports,c=contrib,b=amd64
origin deb.debian.org
100 http://deb.debian.org/debian stretch-backports/main i386 Packages
release o=Debian
Backports,a=stretch-backports,n=stretch-backports,l=Debian
Backports,c=main,b=i386
origin deb.debian.org
100 http://deb.debian.org/debian stretch-backports/main amd64 Packages
release o=Debian
Backports,a=stretch-backports,n=stretch-backports,l=Debian
Backports,c=main,b=amd64
origin deb.debian.org
500 http://mirrors.kernel.org/debian stretch-updates/main i386 Packages
release o=Debian,a=stable-updates,n=stretch-updates,l=Debian,c=main,b=i386
origin mirrors.kernel.org
500 http://mirrors.kernel.org/debian stretch-updates/main amd64 Packages
release o=Debian,a=stable-updates,n=stretch-updates,l=Debian,c=main,b=amd64
origin mirrors.kernel.org
500 http://security.debian.org stretch/updates/non-free i386 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=non-free,b=i386
origin security.debian.org
500 http://security.debian.org stretch/updates/non-free amd64 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=non-free,b=amd64
origin security.debian.org
500 http://security.debian.org stretch/updates/contrib i386 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=contrib,b=i386
origin security.debian.org
500 http://security.debian.org stretch/updates/contrib amd64 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=contrib,b=amd64
origin security.debian.org
500 http://security.debian.org stretch/updates/main i386 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=main,b=i386
origin security.debian.org
500 http://security.debian.org stretch/updates/main amd64 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=main,b=amd64
origin security.debian.org
500 http://mirrors.kernel.org/debian stretch/non-free i386 Packages
release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=non-free,b=i386
origin mirrors.kernel.org
500 http://mirrors.kernel.org/debian stretch/non-free amd64 Packages
release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=non-free,b=amd64
origin mirrors.kernel.org
500 http://mirrors.kernel.org/debian stretch/contrib i386 Packages
release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=contrib,b=i386
origin mirrors.kernel.org
500 http://mirrors.kernel.org/debian stretch/contrib amd64 Packages
release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=contrib,b=amd64
origin mirrors.kernel.org
500 http://mirrors.kernel.org/debian stretch/main i386 Packages
release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=i386
origin mirrors.kernel.org
500 http://mirrors.kernel.org/debian stretch/main amd64 Packages
release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=amd64
origin mirrors.kernel.org
Pinned packages:
roger@debian:~$ apt policy hplip-gui
hplip-gui:
Installed: 3.16.11+repack0-3
Candidate: 3.16.11+repack0-3
Version table:
*** 3.16.11+repack0-3 500
500 http://mirrors.kernel.org/debian stretch/main amd64 Packages
500 http://mirrors.kernel.org/debian stretch/main i386 Packages
100 /var/lib/dpkg/status
Reply to: