Fedora Account System
Red Hat Associate
Red Hat Customer
I have installed cups-1.1.20-8. when I boot linux, I got the following error messages cups starten: Traceback (most recent call last): File "/usr/sbin/printconf-backend", line 7, in ? import backend File "/usr/share/printconf/util/backend.py", line 54, in ? which = cups_import.which_spooler () File "/usr/share/printconf/util/cups_import.py", line 195, in which_spooler return which UnboundLocalError: local variable 'which' referenced before assignment Best Regards: Jochen Schmitt
What does '/usr/sbin/alternatives --display print' say?
The prooblem seems, that you have to set LANG='C' before /usr/sbin/alternatives should be called. Becouse, I am living in germany, LANG will be not set to 'C' at default, so I get the german output from /usr/sbin/alternatives Best Regards: Jochen Schmitt
Thanks. Fixed in CVS.
*** Bug 124940 has been marked as a duplicate of this bug. ***
I don't get the bug when starting cups anymore. I still however get almost the same error when starting system-config-printer (0.6.100-1): Traceback (most recent call last): File "/usr/sbin/system-config-printer", line 9, in ? import queueTree File "/usr/share/printconf/util/queueTree.py", line 1235, in ? queueTree() File "/usr/share/printconf/util/queueTree.py", line 268, in __init__ self.active_spooler = self.get_active_spooler () File "/usr/share/printconf/util/queueTree.py", line 290, in get_active_spooler return which UnboundLocalError: local variable 'which' referenced before assignment (damnit! Why isn't I allowed to reopen this bug?)
Ah, there were other places that it gets invoked. Fixed in 0.6.101-1.
*** Bug 127368 has been marked as a duplicate of this bug. ***
*** Bug 131380 has been marked as a duplicate of this bug. ***
This bug appear if you modify your /etc/sysconfig/i18n to disable UTF8 for example, and you set a lot of variable starting with LC_. You can fix the problem by using only 4 variable these for French for example of /etc/sysconfig/i18n without UTF8 by def SYSFONTACM=iso15 LANG=fr_FR SUPPORTED="en_US.UTF-8:en_US:en:fr_FR.UTF-8:fr_FR:fr" SYSFONT=lat0-16