Bug 240787

Summary: liveinst.desktop not working with different locale than en_US.UTF-8
Product: [Fedora] Fedora Reporter: Sebastian Vahl <fedora>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-05-22 01:26:11 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:
Bug Depends On:    
Bug Blocks: 150226    

Description Sebastian Vahl 2007-05-21 16:54:02 UTC
Description of problem:
When starting any livecd with a different locale than en_US.UTF-8 the desktop
icon for hard drive installation fails to start anaconda. In .xsession-errors
the following entry is shown:

FATAL: Module md not found.
Traceback (most recent call last):
  File "/usr/sbin/anaconda", line 782, in <module>
    floppyDevice = probeHW(opts, x_already_set, xserver)
  File "/usr/sbin/anaconda", line 425, in probeHW
    xserver.probeHW(skipMouseProbe=skipmouseprobe, forceDriver=opts.xdriver)
  File "/usr/lib/python2.5/site-packages/rhpxl/xserver.py", line 96, in probeHW
    print cardstr
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 1:
ordinal not in range(128)


If you run (the command) "liveinst" in a terminal all is working fine (also with
different locale)


Version-Release number of selected component (if applicable):
anaconda-11.2.0.60-1


How reproducible:
every time the LANG is not en_US.UTF-8

Steps to Reproduce:
1. boot rawhide-20070517-i386-Live
2. select a different language in gdm (eg. german, spanish, french) and login
3. double-click on the icon for hard disk installation and watch
/home/fedora/.xsession-erros
  
Actual results:
Sript ends without starting anaconda


Expected results:
Anaconda should be started


Additional info:
I've testet this with german (de_DE.UTF-8), french (fr_FR.UTF-8) and spanish
(es_ES.UTF-8) on rawhide-20070517-i386-Live. This also happens with my own
livecds (eg. the kde one) when LANG=de_DE.UTF-8

Comment 1 Sebastian Vahl 2007-05-21 19:09:20 UTC
With rawhide-20070502 it is also not working. The last working one I know is Test4.

Comment 2 Jeremy Katz 2007-05-21 21:59:58 UTC
Fixed with rhpl-0.207-1

Comment 3 Sebastian Vahl 2007-05-21 22:28:44 UTC
(In reply to comment #2)
> Fixed with rhpl-0.207-1

Confirmed. I updated rhpl in rawhide-20070517 and my own german kde-livecd
directly. It's working for testet LANG=de_DE.UTF-8