I'm getting the following error on trying to connect a Laserjet P1102w via USB:
$ hp-setup
HP Linux Imaging and Printing System (ver. 3.23.12)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-18 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.
Searching... (bus=usb, search=(None), desc=0)
error: Failed to open URL: http://hplip.sourceforge.net/hplip_web.conf
error: Failed to download http://hplip.sourceforge.net/hplip_web.conf.
error: Unable to load Qt4/Qt5 support. Is it installed?
Traceback (most recent call last):
File "/usr/share/hplip/ui5/setupdialog.py", line 1386, in NextButton_clicked
self.showDevicesPage()
File "/usr/share/hplip/ui5/setupdialog.py", line 556, in showDevicesPage
smart_install.disable(GUI_MODE, 'qt4')
File "/usr/share/hplip/base/smart_install.py", line 239, in disable
dialog.exec_()
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'exec_'
Aborted (core dumped)
Pinned Comments
carsme commented on 2024-01-15 16:53 (UTC) (edited on 2024-02-04 14:15 (UTC) by carsme)
Hey, I've adopted this package and applied some of the suggestions:
libusb-compat
andsane
(cred @ZhandHua).Depend on exact version ofhplip
(cred @jsn42).In addition, the PGP-signature of the artifact is now checked, which means you need to fetch upstream's key:
Unfortunately, I have no HP printer at home so my testing ability is limited to running
hp-diagnose_plugin
. If someone has better opportunity to test and is interested in maintaining, let me know and I'll handover the package or add you as a co-maintainer. Cheers!