Bug#1077198: hplip-gui: no program from hplip-gui works.
Package: hplip-gui
Version: 3.22.10+dfsg0-5
Severity: important
X-Debbugs-Cc: thunderbird22@gmx.net
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What exactly did you do (or not do) that was effective (or
ineffective)?
I start a program from the hplip-gui package (it doesn't matter which one).
e.g. hp-print
* What was the outcome of this action?
~$ hp-print
Traceback (most recent call last):
File "/usr/bin/hp-print", line 35, in <module>
from base.g import *
File "/usr/share/hplip/base/g.py", line 239, in <module>
sys_conf = SysConfig()
^^^^^^^^^^^
File "/usr/share/hplip/base/g.py", line 184, in __init__
ConfigBase.__init__(self, '/etc/hp/hplip.conf')
File "/usr/share/hplip/base/g.py", line 89, in __init__
self.read()
File "/usr/share/hplip/base/g.py", line 130, in read
self.conf.readfp(fp)
^^^^^^^^^^^^^^^^
or
~$ hp-doctor
Traceback (most recent call last):
File "/usr/bin/hp-doctor", line 36, in <module>
from base.g import *
File "/usr/share/hplip/base/g.py", line 239, in <module>
sys_conf = SysConfig()
^^^^^^^^^^^
File "/usr/share/hplip/base/g.py", line 184, in __init__
ConfigBase.__init__(self, '/etc/hp/hplip.conf')
File "/usr/share/hplip/base/g.py", line 89, in __init__
self.read()
File "/usr/share/hplip/base/g.py", line 130, in read
self.conf.readfp(fp)
^^^^^^^^^^^^^^^^
AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean:
'read'?
AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean:
'read'?
* What outcome did you expect instead?
the program should start
-- Package-specific info:
/usr/bin/hp-check:630: SyntaxWarning: invalid escape sequence '\s'
lsusb_pat = re.compile("""^Bus\s([0-9a-fA-F]{3,3})\sDevice\s([0-9a-fA-F]{3,3}):\sID\s([0-9a-fA-F]{4,4}):([0-9a-fA-F]{4,4})(.*)""", re.IGNORECASE)
Traceback (most recent call last):
File "/usr/bin/hp-check", line 38, in <module>
from base.g import *
File "/usr/share/hplip/base/g.py", line 239, in <module>
sys_conf = SysConfig()
^^^^^^^^^^^
File "/usr/share/hplip/base/g.py", line 184, in __init__
ConfigBase.__init__(self, '/etc/hp/hplip.conf')
File "/usr/share/hplip/base/g.py", line 89, in __init__
self.read()
File "/usr/share/hplip/base/g.py", line 130, in read
self.conf.readfp(fp)
^^^^^^^^^^^^^^^^
AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean: 'read'?
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.9.10-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages hplip-gui depends on:
ii dbus-user-session [default-dbus-session-bus] 1.14.10-4+b1
ii dbus-x11 [dbus-session-bus] 1.14.10-4+b1
ii hplip 3.22.10+dfsg0-5+b1
ii python3-dbus.mainloop.pyqt5 5.15.11+dfsg-1
ii python3-pyqt5 5.15.11+dfsg-1
Versions of packages hplip-gui recommends:
ii python3-notify2 0.3-5
ii simple-scan 46.0-1
ii xsane 0.999-12+b2
hplip-gui suggests no packages.
-- no debconf information
System:
Host: XFCE Kernel: 6.9.10-amd64 arch: x86_64 bits: 64
Desktop: Xfce v: 4.18.1 Distro: Debian GNU/Linux trixie/sid
dpkg -l hp*|grep ii
ii hp-ppd 0.9+nmu2 all HP Postscript Printer Definition (PPD) files
ii hpijs-ppds 3.22.10+dfsg0-5 all HP Linux Printing and Imaging - HPIJS PPD files
ii hplip 3.22.10+dfsg0-5+b1 amd64 HP Linux Printing and Imaging System (HPLIP)
ii hplip-data 3.22.10+dfsg0-5 all HP Linux Printing and Imaging - data files
ii hplip-gui 3.22.10+dfsg0-5 all HP Linux Printing and Imaging - GUI utilities (Qt-based)
dpkg -l python3*|grep ii
ii python3 3.12.3-1 amd64 interactive high-level object-oriented language (default python3 version)
ii python3-anyio 4.3.0-1 all Asynchronous compatibility layer (Python 3)
ii python3-apt 2.9.0+b1 amd64 Python 3 interface to libapt-pkg
ii python3-attr 23.2.0-2 all Attributes without boilerplate (Python 3)
ii python3-automat 22.10.0-2 all Self-service finite-state machines for the programmer on the go
ii python3-avahi 0.8-13+b2 amd64 Python utility package for Avahi
ii python3-bcrypt 4.1.2-1+b1 amd64 password hashing library for Python 3
ii python3-blinker 1.8.2-1 all Fast, simple object-to-object and broadcast signaling (Python3)
ii python3-brotli 1.1.0-2+b4 amd64 lossless compression algorithm and format (Python 3 version)
ii python3-bs4 4.12.3-1 all error-tolerant HTML parser for Python 3
ii python3-cairo 1.26.1-1+b1 amd64 Python3 bindings for the Cairo vector graphics library
ii python3-certifi 2024.6.2-1 all root certificates for validating SSL certs and verifying TLS hosts (python3)
ii python3-cffi-backend:amd64 1.16.0-2+b3 amd64 Foreign Function Interface for Python 3 calling C code - runtime
ii python3-chardet 5.2.0+dfsg-1 all Universal Character Encoding Detector (Python3)
ii python3-charset-normalizer 3.3.2-1 all charset, encoding and language detection (Python 3)
ii python3-chm 0.8.6+ds-1+b1 amd64 Python binding for CHMLIB - Python 3
ii python3-click 8.1.7-1 all Wrapper around optparse for command line utilities - Python 3.x
ii python3-colorama 0.4.6-4 all Cross-platform colored terminal text in Python - Python 3.x
ii python3-constantly 23.10.4-1 all Symbolic constants in Python
ii python3-cryptography 42.0.5-2+b1 amd64 Python library exposing cryptographic recipes and primitives (Python 3)
ii python3-cssselect 1.2.0-4 all cssselect parses CSS3 Selectors and translates them to XPath 1.0
ii python3-cups:amd64 2.0.4-1+b1 amd64 Python3 bindings for CUPS
ii python3-cupshelpers 1.5.18-3 all Python utility modules around the CUPS printing system
ii python3-dateutil 2.9.0-2 all powerful extensions to the standard Python 3 datetime module
ii python3-dbus 1.3.2-5+b3 amd64 simple interprocess messaging system (Python 3 interface)
ii python3-dbus.mainloop.pyqt5 5.15.11+dfsg-1 amd64 D-Bus Qt main loop support for Python 3
ii python3-dbus.mainloop.pyqt6 6.7.0-1+b2 amd64 D-Bus Qt main loop support for Python
ii python3-dbussy 1.3+git20230927.83462e58-1 all Python 3 language bindings for libdbus
ii python3-debconf 1.5.87 all interact with debconf from Python 3
ii python3-debian 0.1.49 all Python 3 modules to work with Debian-related data formats
ii python3-debianbts 4.1.1 all Python interface to Debian's Bug Tracking System
ii python3-defusedxml 0.7.1-2 all XML bomb protection for Python stdlib modules (for Python 3)
ii python3-dev 3.12.3-1 amd64 header files and a static library for Python (default)
ii python3-distro 1.9.0-1 all Linux OS platform information API
ii python3-distro-info 1.7 all information about distributions' releases (Python 3 module)
ii python3-enchant 3.2.2-1 all spellchecking library for Python 3
ii python3-feedparser 6.0.11-1 all Universal Feed Parser for Python 3
ii python3-freetype 2.4.0-2 all Freetype Python bindings for Python 3
ii python3-gdbm:amd64 3.12.4-2 amd64 GNU dbm database support for Python 3.x
ii python3-gi 3.48.2-1+b1 amd64 Python 3 bindings for gobject-introspection libraries
ii python3-gi-cairo 3.48.2-1+b1 amd64 Python 3 Cairo bindings for the GObject library
ii python3-gpg 1.18.0-4.1+b2 amd64 Python interface to the GPGME GnuPG encryption library (Python 3)
ii python3-gtkspellcheck 5.0.3-1 all Python 3 spellchecking library for GTK+ based on Enchant
ii python3-h11 0.14.0-1 all Pure-Python, bring-your-own-I/O implementation of HTTP/1.1 (Python 3)
ii python3-hamcrest 2.1.0-1 all Hamcrest framework for matcher objects (Python 3)
ii python3-hpilo 4.4.3-3 all HP iLO XML interface access from Python (Python 3)
ii python3-html5lib 1.1-6 all HTML parser/tokenizer based on the WHATWG HTML5 specification
ii python3-httpcore 1.0.4-1 all minimal low-level HTTP client
ii python3-httplib2 0.22.0-1 all comprehensive HTTP client library written for Python3
ii python3-httpx 0.27.0-1 all next generation HTTP client
ii python3-hyperlink 21.0.0-5 all Immutable, Pythonic, correct URLs.
ii python3-idna 3.6-2.1 all Python IDNA2008 (RFC 5891) handling (Python 3)
ii python3-incremental 22.10.0-1 all Library for versioning Python projects
ii python3-jeepney 0.8.0-3 all pure Python D-Bus interface
ii python3-jwt 2.7.0-1 all Python 3 implementation of JSON Web Token
ii python3-lazr.restfulclient 0.14.6-1 all client for lazr.restful-based web services (Python 3)
ii python3-lazr.uri 1.0.6-3 all library for parsing, manipulating, and generating URIs
ii python3-lib2to3 3.12.4-2 all Interactive high-level object-oriented language (lib2to3)
ii python3-libevdev 0.11-1 all Python 3 wrapper for libevdev
ii python3-lxml:amd64 5.2.2-1 amd64 pythonic binding for the libxml2 and libxslt libraries
ii python3-magic 2:0.4.27-3 all python3 interface to the libmagic file type identification library
ii python3-mako 1.3.2-1 all fast and lightweight templating for the Python 3 platform
ii python3-markdown 3.6-1 all text-to-HTML conversion library/tool (Python 3 version)
ii python3-markdown-it 3.0.0-2 all Python port of markdown-it and some its associated plugins
ii python3-markupsafe 2.1.5-1+b1 amd64 HTML/XHTML/XML string library
ii python3-mdurl 0.1.2-1 all Python port of the JavaScript mdurl package
ii python3-minimal 3.12.3-1 amd64 minimal subset of the Python language (default python3 version)
ii python3-musicbrainzngs 0.7.1-6 all Python 3 bindings for the Musicbrainz NGS webservice interface
ii python3-mutagen 1.46.0-2 all audio metadata editing library (Python 3)
ii python3-netifaces:amd64 0.11.0-2+b3 amd64 portable network interface information - Python 3.x
ii python3-notify2 0.3-5 all desktop notifications API for Python 3
ii python3-numpy 1:1.26.4+ds-10+b1 amd64 Fast array facility to the Python language (Python 3)
ii python3-oauthlib 3.2.2-1 all generic, spec-compliant implementation of OAuth for Python3
ii python3-odf 1.4.2-2 all Python3 API to manipulate OpenDocument files
ii python3-olefile 0.46-3 all Python module to read/write MS OLE2 files
ii python3-openssl 24.1.0-1 all Python 3 wrapper around the OpenSSL library
ii python3-packaging 24.1-1 all core utilities for python3 packages
ii python3-pexpect 4.9-2 all Python 3 module for automating interactive applications
ii python3-pil:amd64 10.4.0-1 amd64 Python Imaging Library (Python3)
ii python3-pil.imagetk:amd64 10.4.0-1 amd64 Python Imaging Library - ImageTk Module (Python3)
ii python3-pkg-resources 68.1.2-4 all Package Discovery and Resource Access using pkg_resources
ii python3-ply 3.11-6 all Lex and Yacc implementation for Python3
ii python3-progressbar 2.5-4 all text progress bar library for Python (Python 3)
ii python3-psutil 5.9.8-2 amd64 module providing convenience functions for managing processes (Python3)
ii python3-ptyprocess 0.7.0-5 all Run a subprocess in a pseudo terminal from Python 3
ii python3-pyasn1 0.5.1-1 all ASN.1 library for Python (Python 3 module)
ii python3-pyasn1-modules 0.3.0-1 all Collection of protocols modules written in ASN.1 language (Python 3)
ii python3-pyasyncore 1.0.2-2 all asyncore for Python 3.12 onwards
ii python3-pycryptodome 3.11.0+dfsg1-4 amd64 cryptographic Python library (Python 3)
ii python3-pygments 2.18.0+dfsg-1 all syntax highlighting package written in Python 3
ii python3-pyinotify 0.9.6-3 all simple Linux inotify Python bindings
ii python3-pyparsing 3.1.2-1 all alternative to creating and executing simple grammars - Python 3.x
ii python3-pyqt5 5.15.11+dfsg-1 amd64 Python 3 bindings for Qt5
ii python3-pyqt5.qtchart 5.15.7+dfsg-1 amd64 Python 3 bindings for Qt5's Charts module
ii python3-pyqt5.qtmultimedia 5.15.11+dfsg-1 amd64 Python 3 bindings for Qt5's Multimedia module
ii python3-pyqt5.qtopengl 5.15.11+dfsg-1 amd64 Python 3 bindings for Qt5's OpenGL module
ii python3-pyqt5.qtpositioning 5.15.11+dfsg-1 amd64 Python 3 bindings for QtPositioning module
ii python3-pyqt5.qtquick 5.15.11+dfsg-1 amd64 Python 3 bindings for QtQuick module
ii python3-pyqt5.qtremoteobjects 5.15.11+dfsg-1 amd64 Python 3 bindings for Qt5's RemoteObjects module
ii python3-pyqt5.qtsensors 5.15.11+dfsg-1 amd64 Python 3 bindings for QtSensors module
ii python3-pyqt5.qtserialport 5.15.11+dfsg-1 amd64 Python 3 bindings for QtSerialPort module
ii python3-pyqt5.qtsql 5.15.11+dfsg-1 amd64 Python 3 bindings for Qt5's SQL module
ii python3-pyqt5.qtsvg 5.15.11+dfsg-1 amd64 Python 3 bindings for Qt5's SVG module
ii python3-pyqt5.qttexttospeech 5.15.11+dfsg-1 amd64 Python 3 bindings for QtSpeech module
ii python3-pyqt5.qtwebchannel 5.15.11+dfsg-1 amd64 Python 3 bindings for Qt5's WebChannel module
ii python3-pyqt5.qtwebengine 5.15.7-1 amd64 Python 3 bindings for Qt5's WebEngine module
ii python3-pyqt5.qtwebkit 5.15.11+dfsg-1 amd64 Python 3 bindings for Qt5's WebKit module
ii python3-pyqt5.qtwebsockets 5.15.11+dfsg-1 amd64 Python 3 bindings for Qt5's WebSockets module
ii python3-pyqt5.qtxmlpatterns 5.15.11+dfsg-1 amd64 Python 3 bindings for Qt5's XmlPatterns module
ii python3-pyqt5.sip 12.15.0-1 amd64 runtime module for Python extensions using SIP
ii python3-pyudev 0.24.0-1 all Python3 bindings for libudev
ii python3-qtpy 2.4.1-2 all Abstraction layer for PySide2/PySide6/PyQt5/PyQt6 (Python 3)
ii python3-recoll 1.36.1-1+b2 amd64 Python extension for recoll (Python3)
ii python3-reportbug 13.0.1 all Python modules for interacting with bug tracking systems
ii python3-reportlab 4.2.2-1 all ReportLab library to create PDF documents using Python3
ii python3-requests 2.31.0+dfsg-2 all elegant and simple HTTP library for Python3, built for human beings
ii python3-rich 13.7.1-1 all render rich text, tables, progress bars, syntax highlighting, markdown and more
ii python3-rlpycairo 0.3.0-3 all plugin for the ReportLab PDF Toolkit.
ii python3-sane:amd64 2.9.1-3+b3 amd64 Python Imaging Library - SANE interface (Python3)
ii python3-secretstorage 3.3.3-3 all Python module for storing secrets - Python 3.x version
ii python3-service-identity 24.1.0-1 all Service identity verification for pyOpenSSL (Python 3 module)
ii python3-setuptools 68.1.2-4 all Python3 Distutils Enhancements
ii python3-sgmllib3k 1.0.0-4 all Python 3 port of Python 2's sgmllib
ii python3-shellingham 1.5.4-1 all Tool to Detect Surrounding Shell
ii python3-sipbuild 6.8.6-1 all Python bindings generator for C/C++ libraries — the build system
ii python3-six 1.16.0-6 all Python 2 and 3 compatibility library
ii python3-smbc 1.0.25.1-1+b2 amd64 Python 3 bindings for the Samba client library
ii python3-sniffio 1.3.1-1 all detect which async Python library is in use (Python3 version)
ii python3-socks 1.7.1+dfsg-1 all Python 3 SOCKS client module
ii python3-socksio 1.0.0-3 all Sans-I/O implementation of SOCKS4, SOCKS4A, and SOCKS5
ii python3-software-properties 0.99.30-4.1 all manage the repositories that you install software from
ii python3-soupsieve 2.5-1 all modern CSS selector implementation for BeautifulSoup (Python 3)
ii python3-tk:amd64 3.12.4-2 amd64 Tkinter - Writing Tk applications with Python 3.x
ii python3-tomli 2.0.1-2 all lil' TOML parser for Python
ii python3-twisted 24.3.0-2 all Event-based framework for internet applications
ii python3-typer 0.12.3-2 all Python library for building CLI applications (Python 3)
ii python3-typing-extensions 4.12.2-1 all Backported and Experimental Type Hints for Python
ii python3-unidiff 0.7.5-2 all Unified diff Python parsing/metadata extraction library (Python 3)
ii python3-uno 4:24.2.5-1 amd64 Python-UNO bridge
ii python3-unrardll 0.1.7+ds-2 amd64 Python wrapper for the unrar shared library
ii python3-urllib3 1.26.18-2 all HTTP library with thread-safe connection pooling for Python3
ii python3-urwid 2.6.15-1 amd64 curses-based UI/widget library for Python 3
ii python3-wadllib 1.3.6-5 all Python 3 library for navigating WADL files
ii python3-wcwidth 0.2.13+dfsg1-1 all determine printable width of a string on a terminal
ii python3-webencodings 0.5.1-5 all Python implementation of the WHATWG Encoding standard
ii python3-websockets 10.4-1 all implementation of the WebSocket Protocol (RFC 6455)
ii python3-xapian 1.4.25-1+b1 amd64 Xapian search engine interface for Python3
ii python3-xdg 0.28-2 all Python 3 library to access freedesktop.org standards
ii python3-xlrd 2.0.1-2 all extract data from Microsoft Excel spreadsheet files (Python3 version)
ii python3-yaml 6.0.1-2+b1 amd64 YAML parser and emitter for Python3
ii python3-zope.interface 6.4-1+b1 amd64 Interfaces for Python3
ii python3.12 3.12.4-3 amd64 Interactive high-level object-oriented language (version 3.12)
ii python3.12-dev 3.12.4-3 amd64 Header files and a static library for Python (v3.12)
ii python3.12-minimal 3.12.4-3 amd64 Minimal subset of the Python language (version 3.12)
Reply to: