Hide Forgot
Description of problem: I use HP LaserJet P1102. Apparently it is a known bug that it tries to install itself every time it is inserted. I was using HP device manager to remove one of the duplicates while printer was not plugged in. Version-Release number of selected component: hplip-3.16.10-1.fc25 Additional info: reporter: libreport-2.8.0 cmdline: /usr/bin/python3 /usr/bin/hp-setup --gui --remove --device=hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q82J95HPR1a executable: /usr/bin/hp-setup kernel: 4.8.8-300.fc25.x86_64 pkg_fingerprint: 4089 D8F2 FDB1 9C98 pkg_vendor: Fedora Project runlevel: N 5 type: Python3 uid: 1000 Truncated backtrace: cups.py:869:cups_operation:ImportError: No module named 'ui4' Traceback (most recent call last): File "/usr/share/hplip/ui5/setupdialog.py", line 1325, in NextButton_clicked status, status_str = cups.cups_operation(cups.delPrinter, GUI_MODE, 'qt4', self, printer) File "/usr/share/hplip/prnt/cups.py", line 869, in cups_operation from ui4 import ui_utils ImportError: No module named 'ui4' Local variables in innermost frame: result: 1025 operation_func: <function delPrinter at 0x7f4bcc458048> ui_toolkit: 'qt4' status_str: 'client-error-forbidden' mode: 1 ui_obj: <ui5.setupdialog.SetupDialog object at 0x7f4bd1783c18> cups_op_args: ('HP_LaserJet_Professional_P1102',) cnt: 1
Created attachment 1223244 [details] File: backtrace
Created attachment 1223245 [details] File: environ
Hi Kakoskin, thank you for contacting us. It seems hp-setup is trying to use qt4 when you have qt5 installed (assuming you have already installed hplip-gui package, which is needed for running hplip commands with GUI). Would you mind trying this scratch build in that case? http://koji.fedoraproject.org/koji/taskinfo?taskID=16594227
I tried the scratch build. I got a crash instead. //bugzilla.redhat.com/show_bug.cgi?id=1398291 instead.
Hi again, would you mind trying this build? https://koji.fedoraproject.org/koji/buildinfo?buildID=832830
I apologise for delayed response. I tested vesrsion 3.16.11-5.fc25 and this seems to be fixed.
hplip-3.16.11-5.fc25.x86_64 # hp-setup HP Linux Imaging and Printing System (ver. 3.16.11) Printer/Fax Setup Utility ver. 9.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-setup", line 313, in <module> ui = import_module(ui_package + ".setupdialog") File "/usr/lib64/python3.5/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 986, in _gcd_import File "<frozen importlib._bootstrap>", line 969, in _find_and_load File "<frozen importlib._bootstrap>", line 944, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 986, in _gcd_import File "<frozen importlib._bootstrap>", line 969, in _find_and_load File "<frozen importlib._bootstrap>", line 956, in _find_and_load_unlocked ImportError: No module named 'ui5' I can file a new issue if that would be better, but this seems related.
This message is a reminder that Fedora 25 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 25. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '25'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 25 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.