Red Hat Bugzilla – Bug 131954
LANG=C not set when querying /usr/sbin/alternatives
Last modified: 2007-11-30 17:07:03 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux i686) Opera
Description of problem:
Exactly the same issue as Bug 124217 in Fedora Core.
it should read
f = os.popen ('LANG=C /usr/sbin/alternatives --display print')
f = os.popen ('/usr/sbin/alternatives --display print')
as e.g. for German locale, the produced message is
"Link verweist auf..."
"Link currently points on..."
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Issue /etc/init.d/cups restart
1. Start redhat-config-printer
Actual Results: File "/usr/share/printconf/util/queueTree.py", line
243, in get_active_spooler return which
UnboundLocalError: local variable 'which' referenced before
(Because which never was assigned, as no "Link currently points on"
string match occured.)
Expected Results: No error message should occur.
*** This bug has been marked as a duplicate of 131563 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.