From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040515 Firefox/0.8 Description of problem: This not so clever hack: 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 in the file /usr/share/printconf/util/cups_import.py breaks, when locale is non-english. See: $ LC_ALL=no_NO /usr/sbin/alternatives --display print| head -3 print - status automatisk. lenken peker nå til /usr/bin/lpr.cups A hack on the hack fix this: --- cups_import.py~ 2004-03-06 14:19:02.000000000 +0100 +++ cups_import.py 2004-09-02 13:02:25.000000000 +0200 @@ -185,7 +185,7 @@ 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') + f = os.popen ('LC_ALL=C /usr/sbin/alternatives --display print') for l in f.readlines (): if l.startswith (" link currently points to"): which = l.split ('.')[1].strip () Not nice, but it works. Version-Release number of selected component (if applicable): edhat-config-printer-0.6.47.3.19-1 redhat-config-printer-0.6.47.3.19-1 cups-1.1.17-13.3.12 How reproducible: Always Steps to Reproduce: Use a non-english locale and use the printconf tool or start the cups service. Additional info:
Thanks for reporting it.
Please try 0.6.47.3.20-1 from this location: ftp://people.redhat.com/twaugh/tmp/redhat-config-printer/
I am running on x86-64, but a rebuild did the trick. The bug is fixed, thanks for the quick response.
Thanks for testing. I'm leaving this open so that it can be tracked for a future update.
*** Bug 131864 has been marked as a duplicate of this bug. ***
*** Bug 131933 has been marked as a duplicate of this bug. ***
*** Bug 131954 has been marked as a duplicate of this bug. ***
*** Bug 132948 has been marked as a duplicate of this bug. ***
*** Bug 132649 has been marked as a duplicate of this bug. ***
If anybody interested to use LC_ALL=C fix only backported to the current U3 redhat-config-printer, use my repository: ftp://ftp.vslib.cz/pub/local/milan.kerslager/RHEL-3/fix.redhat-config-printer/ ftp://ftp.linux.cz/pub/linux/people/milan_kerslager/RHEL-3/
*** Bug 133331 has been marked as a duplicate of this bug. ***
*** Bug 133472 has been marked as a duplicate of this bug. ***
*** Bug 133877 has been marked as a duplicate of this bug. ***
*** Bug 128702 has been marked as a duplicate of this bug. ***
*** Bug 135435 has been marked as a duplicate of this bug. ***
*** Bug 135817 has been marked as a duplicate of this bug. ***
*** Bug 137777 has been marked as a duplicate of this bug. ***
I have the same bug with system-config-printer-0.6.98-1 Have you any solution for this version ?
My problem is solve, just make a : rpm -Uvh --oldpackage cups-libs-1.1.20-6.i386.rpm
*** Bug 138290 has been marked as a duplicate of this bug. ***
*** Bug 140927 has been marked as a duplicate of this bug. ***
*** Bug 141692 has been marked as a duplicate of this bug. ***
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2004-473.html