Bug 679702

Summary: Error: unsupported locale setting
Product: [Fedora] Fedora Reporter: Ales Kozumplik <akozumpl>
Component: anacondaAssignee: Martin Gracik <mgracik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: anaconda-maint-list, dan, dmach, jonathan, jzeleny, mbanas, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: anaconda_trace_hash:93effe7bb25e1dbca2a6a609d7e867867522ef646bf5964cdbaab682a5d191d7
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-27 10:57:32 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:
Attachments:
Description Flags
Attached traceback automatically from anaconda.
none
error message I can see in console now none

Description Ales Kozumplik 2011-02-23 09:25:22 UTC
The following was filed automatically by anaconda:
anaconda 15.20 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/locale.py", line 531, in setlocale
    return _setlocale(category, locale)
  File "/usr/lib/python2.7/site-packages/scdate/core/zonetab.py", line 85, in __translate_tz
    locale.setlocale(locale.LC_ALL, "")
  File "/usr/lib/python2.7/site-packages/scdate/core/zonetab.py", line 127, in _set_tz
    self.__translate_tz()
  File "/usr/lib/python2.7/site-packages/scdate/core/zonetab.py", line 59, in __init__
    self.tz = tz.replace ('_', ' ')
  File "/usr/lib/python2.7/site-packages/scdate/core/zonetab.py", line 218, in readZoneTab
    entry = ZoneTabEntry (code, lat, long, tz, comments)
  File "/usr/lib/python2.7/site-packages/scdate/core/zonetab.py", line 153, in __init__
    self.readZoneTab (fn)
  File "/tmp/updates/pyanaconda/kickstart.py", line 1041, in execute
    tab = zonetab.ZoneTab()
  File "/tmp/updates/pyanaconda/kickstart.py", line 1209, in execute
    obj.execute()
  File "/tmp/updates/anaconda", line 913, in <module>
    anaconda.ksdata.execute()
Error: unsupported locale setting

Comment 1 Ales Kozumplik 2011-02-23 09:25:27 UTC
Created attachment 480388 [details]
Attached traceback automatically from anaconda.

Comment 2 Ales Kozumplik 2011-02-23 09:30:26 UTC
Martin I think this is related to your recent locale-generation changes in anaconda and mgracik's lorax chage 28252ea544ba9d99f8a100e51fb85938d9cdf83b that removes the locale archive.

Comment 3 Ales Kozumplik 2011-02-23 09:31:33 UTC
Created attachment 480389 [details]
error message I can see in console now

Please make sure this goes away too.

Comment 4 Dan Horák 2011-03-31 10:01:28 UTC
Looks like this issue blocks my installation attempts with F-15 and s390x (with anaconda 15.25).

Comment 5 Martin Sivák 2011-03-31 10:28:10 UTC
My changes regarding locales went only to rawhide (F16) Anaconda. This (#4) is caused by a supporting patch that probably went into F15 lorax by mistake.

Comment 6 Dan Horák 2011-03-31 13:29:20 UTC
(In reply to comment #5)
> My changes regarding locales went only to rawhide (F16) Anaconda. This (#4) is
> caused by a supporting patch that probably went into F15 lorax by mistake.

you are right, mgracik told me we were mixing F-15 anaconda with F-16 lorax

Comment 7 Martin Gracik 2011-04-12 12:05:21 UTC
*** Bug 695649 has been marked as a duplicate of this bug. ***