Bug 1194101

Summary: non-fatal exception FileNotFoundError: [Errno 2] No such file or directory: 'hp-makeuri'
Product: [Fedora] Fedora Reporter: Sergio Basto <sergio>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 21CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: system-config-printer-1.5.6-1.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-21 05:03:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sergio Basto 2015-02-19 01:35:26 UTC
Description of problem:
when hplip is not installed 

we have an ugly warning:

Caught non-fatal exception.  Traceback:
File "/usr/share/system-config-printer/probe_printer.py", line 255, in _do_find
    fn ()
File "/usr/share/system-config-printer/probe_printer.py", line 373, in _probe_hplip
    stderr=subprocess.DEVNULL)
File "/usr/lib64/python3.4/subprocess.py", line 858, in __init__
    restore_signals, start_new_session)
File "/usr/lib64/python3.4/subprocess.py", line 1456, in _execute_child
    raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'hp-makeuri'
Continuing anyway..


Version-Release number of selected component (if applicable):
system-config-printer-libs-1.5.5-2.fc21.noarch

How reproducible:


Steps to Reproduce:
1. yum remove hplip
2. system-config-printer

Actual results:

Caught non-fatal exception.

Expected results:
I expect not see exceptions when run system-config-printer

Additional info:
don't know if it is easy to fix

Comment 2 Fedora Update System 2015-03-17 17:51:49 UTC
system-config-printer-1.5.6-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/system-config-printer-1.5.6-1.fc22

Comment 3 Fedora Update System 2015-03-17 17:53:33 UTC
system-config-printer-1.5.6-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/system-config-printer-1.5.6-1.fc21

Comment 4 Fedora Update System 2015-03-18 10:21:49 UTC
Package system-config-printer-1.5.6-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing system-config-printer-1.5.6-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-4027/system-config-printer-1.5.6-1.fc21
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2015-03-21 05:03:02 UTC
system-config-printer-1.5.6-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Sergio Basto 2015-04-08 12:09:36 UTC
I test it today and it is fixed . 
Thanks

Comment 7 Fedora Update System 2015-04-26 12:47:24 UTC
system-config-printer-1.5.6-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.