Version-Release number of selected component: hplip-3.16.5-1.fc24 Additional info: reporter: libreport-2.7.1 cmdline: /usr/bin/python3 /usr/bin/hp-scan executable: /usr/bin/hp-scan kernel: 4.5.5-300.fc24.x86_64 pkg_fingerprint: 73BD E983 81B4 6521 pkg_vendor: Fedora Project reproducible: Not sure how to reproduce the problem runlevel: N 5 type: Python3 uid: 1000 Truncated backtrace: #1 <module> in /usr/bin/hp-scan:663
Created attachment 1163345 [details] File: backtrace
Created attachment 1163346 [details] File: environ
Hello Niki, can you please try this patch? Will it solve your problem?
Created attachment 1163496 [details] Proposed patch
Niki, sorry for misunderstanding on my part, you just need to add new line with command: sys.exit(1) after line 660 in your /usr/bin/hp-scan.
Hello Niki, any update on this matter?
Hi Zdenek. I have had a look at the code, and as far as I can see the proposed sys.exit(1) at the end of the except block, starting at line 659, seems to be the correct fix for the code, as line 663 expects the variable 'source_option' to exist, which is defined in the try block starting at line 653.
hplip-3.16.5-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-8aa96ab25a
hplip-3.16.5-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-8aa96ab25a
hplip-3.16.5-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.