Bug 1194101 - non-fatal exception FileNotFoundError: [Errno 2] No such file or directory: 'hp-makeuri'
Summary: non-fatal exception FileNotFoundError: [Errno 2] No such file or directory: '...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer
Version: 21
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-19 01:35 UTC by Sergio Basto
Modified: 2015-04-26 12:47 UTC (History)
2 users (show)

Fixed In Version: system-config-printer-1.5.6-1.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-21 05:03:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.