hp-setup crashes: not enough values to unpack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
New
|
Undecided
|
Unassigned |
Bug Description
I am running Fedora 32 as a non-root user. I have installed the HPLIP packages using dnf (Fedora package manager).
HPLIP fails to install a brand new Scanjet Pro N4000 snw1 that is hooked up via the USB3 cable. The Device Discovery window (Step 1 of 3) opens, USB is selected, and upon clicking next, I proceed to Step 2 of 3 where the scanner is listed as the only discovered device. I am instructed to click NEXT to continue. Clicking "next" results in a failure. The console issues the following error:
HP Linux Imaging and Printing System (ver. 3.20.11)
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)
Traceback (most recent call last):
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
self.print_ppd = cups.getPPDFile
File "/usr/share/
for f, pdl_list, driver_list in matches:
ValueError: not enough values to unpack (expected 3, got 2)
Upon displaying this message in the console, the "Next" button in the GUI changes to an "Add Printer" button. I am only given the choices of "BACK", "ADD PRINTER" or "CANCEL". Clicking Add Printer results in a core dump:
Traceback (most recent call last):
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
self.print_ppd = cups.getPPDFile
File "/usr/share/
for f, pdl_list, driver_list in matches:
ValueError: not enough values to unpack (expected 3, got 2)
Aborted (core dumped)
Upon running hp-check -r, I am told that the following packages are missing. That error message is bogus as these package names do not exist in Fedora, so this has to be a second bug where the ubuntu versions of the packages are being checked and improper output is given:
-----------
| SUMMARY |
-----------
Missing Required Dependencies
-------
error: 'cups' package is missing or 'cups' service is not running.
error: 'avahi-devel' package is missing/
Missing Optional Dependencies
-------
None
Total Errors: 2
Total Warnings: 1
Also note that I have verified taht the cups warning is a false report. Localhost:631 in the browser allows me to adminster cups and the associated printers.
Hi Bob,
there was a bug in hplip in Fedora (https:/ /bugzilla. redhat. com/show_ bug.cgi? id=1912147) which was fixed recently. F32 version still hasn't got into stable repositories because of lack of people, who would test it - https:/ /bodhi. fedoraproject. org/updates/ FEDORA- 2021-a400e2d576
You can enable the testing repo when updating hplip by:
$ sudo dnf --enablerepo= updates- testing upgrade hplip
and, if it works, please add the karma to the update.
If it doesn't, please file a new bugzilla at bugzilla. redhat. com.
Thank you in advance!