Hide Forgot
there is same issue with system-config-printer-1.2.8-1.fc14.x86_64 +++ This bug was initially created as a clone of Bug #714676 +++ 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)
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.