| Summary: | raised exception when searching for new printers | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Petr Sklenar <psklenar> | |
| Component: | system-config-printer | Assignee: | Tim Waugh <twaugh> | |
| Status: | CLOSED NOTABUG | QA Contact: | qe-baseos-daemons | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 6.1 | |||
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 714677 (view as bug list) | Environment: | ||
| Last Closed: | 2011-06-20 13:39:55 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 714677 | |||
The traceback is non-fatal and only printed to stderr for information:
==>
Caught non-fatal exception. Traceback:
~~~~~~~~~
File "/usr/share/system-config-printer/probe_printer.py", line 237, in _do_find
fn ()
File "/usr/share/system-config-printer/probe_printer.py", line 322, in
_probe_hplip
stderr=null)
File "/usr/lib64/python2.6/subprocess.py", line 639, in __init__
errread, errwrite)
File "/usr/lib64/python2.6/subprocess.py", line 1220, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Continuing anyway..
~~~~~~~~~~~~~~~~~
<==
It does not cause any bad symptom.
|
Description of problem: Search for network printer and there is an error in File "/usr/lib64/python2.6/subprocess.py", line 1220 Version-Release number of selected component (if applicable): # rpm -q cups system-config-printer cups-1.4.2-39.el6.x86_64 system-config-printer-1.1.16-17.el6.x86_6 there is not samba running and no samba rpm: rpm -qa | grep samba samba-winbind-clients-3.5.8-92.el6.x86_64 samba-common-3.5.8-92.el6.x86_64 samba-client-3.5.8-92.el6.x86_64 How reproducible: deterministic Steps to Reproduce: 1. s-c-printers, click new printer 2. network printer 3. Find network printer 4. right pane: empty field host and click Find Actual results: [root@ultraman-5 Desktop]# system-config-printer Caught non-fatal exception. Traceback: File "/usr/share/system-config-printer/probe_printer.py", line 237, in _do_find fn () File "/usr/share/system-config-printer/probe_printer.py", line 322, in _probe_hplip stderr=null) File "/usr/lib64/python2.6/subprocess.py", line 639, in __init__ errread, errwrite) File "/usr/lib64/python2.6/subprocess.py", line 1220, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory Continuing anyway.. params.c:OpenConfFile() - Unable to open configuration file "/root/.smb/smb.conf": No such file or directory params.c:OpenConfFile() - Unable to open configuration file "/root/.smb/smb.conf.append": No such file or directory Expected results: There is traceback in output but s-c-printer survives Additional info: no traceback and its able to find some printers (if available)