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:
*** 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.