Bug 963103
| Summary: | XklWrapperError: Failed to initialize layouts (anaconda should fail gracefully or fall back to a default when kickstart specifies an invalid keyboard layout) | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jens Petersen <petersen> | ||||||||||||||||||||||||||
| Component: | anaconda | Assignee: | Vratislav Podzimek <vpodzime> | ||||||||||||||||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||||||||
| Version: | 19 | CC: | anaconda-maint-list, awilliam, dshea, g.kaviyarasu, ignatenko, jonathan, mkolman, sbueno, tflink, vanmeeuwen+fedora, vpodzime | ||||||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||||||
| Whiteboard: | abrt_hash:595d6fe0ab6efef7664d6fbaafb1e503ffdd4a49e125a0fc97e7ff658881c607 | ||||||||||||||||||||||||||||
| Fixed In Version: | anaconda-19.29-1 | Doc Type: | Bug Fix | ||||||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||||||||
| Last Closed: | 2013-05-30 02:07:20 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: |
|
||||||||||||||||||||||||||||
Created attachment 748085 [details]
File: anaconda-tb
Created attachment 748086 [details]
File: anaconda.log
Created attachment 748087 [details]
File: backtrace
Created attachment 748088 [details]
File: environ
Created attachment 748089 [details]
File: ifcfg.log
Created attachment 748090 [details]
File: ks.cfg
Created attachment 748091 [details]
File: lsblk_output
Created attachment 748092 [details]
File: nmcli_dev_list
Created attachment 748094 [details]
File: packaging.log
Created attachment 748097 [details]
File: program.log
Created attachment 748099 [details]
File: storage.log
Created attachment 748101 [details]
File: syslog
'ja_JP.UTF-8' (from the kickstart file used) is not a valid X layout. I'll change the code not to raise this exception when an invalid layout is passed, but it's the kickstart creator's responsibility to use valid values. Description of problem:
I started an install of a F19 VM with boxes and clicked on the new VM's entry before the installation finished
Version-Release number of selected component:
anaconda-19.25-1
Additional info:
cmdline: /usr/bin/python /sbin/anaconda
cmdline_file: ks=hd:sda:/fedora.ks
executable: /sbin/anaconda
hashmarkername: anaconda
kernel: 3.9.0-301.fc19.x86_64
product: Fedora
release: Cannot get release name.
type: anaconda
version: 19-Beta-TC4
Truncated backtrace:
Traceback (most recent call last):
File "/sbin/anaconda", line 1085, in <module>
anaconda._intf.run()
File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/__init__.py", line 360, in run
self._currentAction = self._instantiateAction(self._actions[0])
File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/__init__.py", line 322, in _instantiateAction
obj = actionClass(self.data, self.storage, self.payload, self.instclass)
File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/welcome.py", line 331, in __init__
LanguageMixIn.__init__(self)
File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/welcome.py", line 49, in __init__
self._xklwrapper = keyboard.XklWrapper.get_instance()
File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 345, in get_instance
XklWrapper._instance = XklWrapper()
File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 369, in __init__
raise XklWrapperError("Failed to initialize layouts")
XklWrapperError: Failed to initialize layouts
I filed https://bugzilla.redhat.com/show_bug.cgi?id=963464 for the Boxes part of this. This bug can just be for making anaconda cope gracefully with errors. anaconda-19.29-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/anaconda-19.29-1.fc19 Package anaconda-19.29-1.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing anaconda-19.29-1.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-8821/anaconda-19.29-1.fc19 then log in and leave karma (feedback). Confirmed fixed in Beta. If I specify 'ja_JP.UTF-8' as the keyboard layout it doesn't crash, it falls back to US, and logs it in anaconda.log. |
Description of problem: tried to install with f19 gnome-boxes with preset user a/c The following was filed automatically by anaconda: anaconda 19.25-1 exception report Traceback (most recent call first): File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 369, in __init__ raise XklWrapperError("Failed to initialize layouts") File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 345, in get_instance XklWrapper._instance = XklWrapper() File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/welcome.py", line 49, in __init__ self._xklwrapper = keyboard.XklWrapper.get_instance() File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/welcome.py", line 331, in __init__ LanguageMixIn.__init__(self) File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/__init__.py", line 322, in _instantiateAction obj = actionClass(self.data, self.storage, self.payload, self.instclass) File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/__init__.py", line 360, in run self._currentAction = self._instantiateAction(self._actions[0]) File "/sbin/anaconda", line 1085, in <module> anaconda._intf.run() XklWrapperError: Failed to initialize layouts Version-Release number of selected component: anaconda-19.25-1 Additional info: cmdline: /usr/bin/python /sbin/anaconda cmdline_file: ks=hd:sda:/fedora.ks executable: /sbin/anaconda hashmarkername: anaconda kernel: 3.9.0-301.fc19.x86_64 product: Fedora release: Cannot get release name. type: anaconda version: 19-Beta-TC4 Truncated backtrace: Traceback (most recent call last): File "/sbin/anaconda", line 1085, in <module> anaconda._intf.run() File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/__init__.py", line 360, in run self._currentAction = self._instantiateAction(self._actions[0]) File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/__init__.py", line 322, in _instantiateAction obj = actionClass(self.data, self.storage, self.payload, self.instclass) File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/welcome.py", line 331, in __init__ LanguageMixIn.__init__(self) File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/welcome.py", line 49, in __init__ self._xklwrapper = keyboard.XklWrapper.get_instance() File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 345, in get_instance XklWrapper._instance = XklWrapper() File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 369, in __init__ raise XklWrapperError("Failed to initialize layouts") XklWrapperError: Failed to initialize layouts