Bug 131933
| Summary: | /usr/sbin/alternatives's message translation breaks printtool | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 3 | Reporter: | CHIKAMA Masaki <masaki.chikama> |
| Component: | chkconfig | Assignee: | Bill Nottingham <notting> |
| Status: | CLOSED DUPLICATE | QA Contact: | Ben Levenson <benl> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.0 | CC: | rvokal, twaugh |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-02-21 19:05:29 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** This bug has been marked as a duplicate of 131563 *** Thank you. The new package in #131563 fix the problem. Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; ja-JP; rv:1.4.3) Gecko/20040803 Description of problem: When I use printtool command with LANG=ja_JP, I cannot execute command with these messages. Traceback (most recent call last): File "/usr/sbin/printtool", line 7, in ? import queueTree File "/usr/share/printconf/util/queueTree.py", line 945, in ? queueTree() File "/usr/share/printconf/util/queueTree.py", line 102, in __init__ if cups_import.import_needed (): File "/usr/share/printconf/util/cups_import.py", line 200, in import_needed which = which_spooler () File "/usr/share/printconf/util/cups_import.py", line 195, in which_spooler return which UnboundLocalError: local variable 'which' referenced before assignment This is because in cups_import.py def which_spooler (): """Return the name of the active spooler.""" signal.signal (signal.SIGCHLD, signal.SIG_DFL) f = os.popen ('/usr/sbin/alternatives --display print') for l in f.readlines (): if l.startswith (" link currently points to"): which = l.split ('.')[1].strip () break f.close () return which the output message "/usr/sbin/alternatives --display print" is translated (into Japanese). Version-Release number of selected component (if applicable): chkconfig-1.3.11-0.3 How reproducible: Always Steps to Reproduce: 1. LANG=ja_JP printttool 2. 3. Additional info: