Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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.
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)