Bug 124217
Summary: | UnboundLocalError during start of cups | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jochen Schmitt <jochen> |
Component: | system-config-printer | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | carniz, dm, schape, w.antoine |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 0.6.100-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-06-01 16:28:41 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: |
Description
Jochen Schmitt
2004-05-24 19:36:36 UTC
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 |