Bug 875389

Summary: Error: unsupported locale setting
Product: [Fedora] Fedora Reporter: Steve Tyler <stephent98>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: anaconda-maint-list, g.kaviyarasu, jonathan, sbueno, stephent98, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:f1e987c841dd7660146d965acb5cae228e40148888433bbf501d67519f685b60
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-10 22:20:07 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
File: anaconda-tb
none
File: environ
none
File: type
none
File: ifcfg.log
none
File: storage.log
none
File: version
none
File: program.log
none
File: executable
none
File: product
none
File: anaconda.log
none
File: hashmarkername
none
File: cmdline_file
none
File: release
none
File: messages
none
File: other involved packages none

Description Steve Tyler 2012-11-10 22:11:06 UTC
Description of problem:
Attempting to reproduce Bug 875354.

Version-Release number of selected component:
anaconda-18.28-1.fc18.x86_64

Additional info:
libreport version: 2.0.17
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-osimg-min --lang en_US.UTF-8
kernel:         3.6.5-2.fc18.x86_64

description:
:The following was filed automatically by anaconda:
:anaconda 18.28 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/locale.py", line 539, in setlocale
:    return _setlocale(category, locale)
:  File "/usr/lib64/python2.7/site-packages/parted/decorators.py", line 34, in new
:    locale.setlocale(locale.LC_MESSAGES, oldlocale)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/platform.py", line 118, in bestDiskLabelType
:    l = parted.freshDisk(device=device.partedDevice, ty=lt)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 852, in initializeDisk
:    labelType = self.platform.bestDiskLabelType(disk)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 820, in clearPartitions
:    self.initializeDisk(disk)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 444, in execute
:    storage.clearPartitions()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1600, in doKickstartStorage
:    ksdata.clearpart.execute(storage, ksdata, instClass)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 400, in _doExecute
:    doKickstartStorage(self.storage, self.data, self.instclass)
:  File "/usr/lib64/python2.7/threading.py", line 504, in run
:    self.__target(*self.__args, **self.__kwargs)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 91, in run
:    threading.Thread.run(self, *args, **kwargs)
:Error: unsupported locale setting

Comment 1 Steve Tyler 2012-11-10 22:11:10 UTC
Created attachment 642380 [details]
File: anaconda-tb

Comment 2 Steve Tyler 2012-11-10 22:11:12 UTC
Created attachment 642381 [details]
File: environ

Comment 3 Steve Tyler 2012-11-10 22:11:13 UTC
Created attachment 642382 [details]
File: type

Comment 4 Steve Tyler 2012-11-10 22:11:15 UTC
Created attachment 642383 [details]
File: ifcfg.log

Comment 5 Steve Tyler 2012-11-10 22:11:17 UTC
Created attachment 642384 [details]
File: storage.log

Comment 6 Steve Tyler 2012-11-10 22:11:18 UTC
Created attachment 642385 [details]
File: version

Comment 7 Steve Tyler 2012-11-10 22:11:20 UTC
Created attachment 642387 [details]
File: program.log

Comment 8 Steve Tyler 2012-11-10 22:11:22 UTC
Created attachment 642389 [details]
File: executable

Comment 9 Steve Tyler 2012-11-10 22:11:23 UTC
Created attachment 642391 [details]
File: product

Comment 10 Steve Tyler 2012-11-10 22:11:25 UTC
Created attachment 642392 [details]
File: anaconda.log

Comment 11 Steve Tyler 2012-11-10 22:11:26 UTC
Created attachment 642394 [details]
File: hashmarkername

Comment 12 Steve Tyler 2012-11-10 22:11:28 UTC
Created attachment 642396 [details]
File: cmdline_file

Comment 13 Steve Tyler 2012-11-10 22:11:30 UTC
Created attachment 642397 [details]
File: release

Comment 14 Steve Tyler 2012-11-10 22:11:32 UTC
Created attachment 642398 [details]
File: messages

Comment 15 Steve Tyler 2012-11-10 22:11:34 UTC
Created attachment 642399 [details]
File: other involved packages

Comment 16 Steve Tyler 2012-11-10 22:20:07 UTC
The reproducer for this produces a slightly different traceback from the one in Bug 875354, but the invalid locale is the same: sr_RS.utf_8_latin.

The reproducer is:

Create a 12 GB empty disc image.
Install from the Live CD.
Select Serbian (Latin, Serbia) for the install language.
Click Installation Destination.
Click Done.
Exception occurs: Error: unsupported locale setting

Command-line:
$ qemu-kvm -m 2048 -hda f18-test-2.img -cdrom ~/xfr/fedora/F18/F18-Beta/TC7/Fedora-18-Beta-TC7-x86_64-Live-Desktop.iso -usb -vga qxl -boot menu=on -usbdevice mouse

*** This bug has been marked as a duplicate of bug 875354 ***