Bug 865847

Summary: XklWrapperError: 'ph ()' not in the list of added layouts
Product: [Fedora] Fedora Reporter: Reartes Guillermo <rtguille>
Component: anacondaAssignee: Vratislav Podzimek <vpodzime>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:d224d1e8f3f1f82d152a06bee3d6f09f5d22d3dc5ea2bf6b7e58875dfdb4b5d6
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-12 21:48: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
File: anaconda-tb
none
File: product
none
File: type
none
File: ifcfg.log
none
File: storage.log
none
File: version
none
File: environ
none
File: anaconda.log
none
File: syslog
none
File: hashmarkername
none
File: packaging.log
none
File: cmdline_file
none
File: release
none
File: program.log none

Description Reartes Guillermo 2012-10-12 15:48:56 UTC
Description of problem:
Go to select keyboard layout, choose to add keyboard '+' and selected ALL keyboards.
All keyboards layout get added ok, even if it took a bit for it.
Then started to remove one by one and got this. 


Version-Release number of selected component:
anaconda-18.14

Additional info:
libreport version: 2.0.14
cmdline:        /usr/bin/python  /sbin/anaconda
kernel:         3.6.1-1.fc18.x86_64

description:
:The following was filed automatically by anaconda:
:anaconda 18.14 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 379, in remove_layout
:    raise XklWrapperError(msg)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/keyboard.py", line 258, in _removeLayout
:    self._xkl_wrapper.remove_layout(store[itr][0])
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/keyboard.py", line 323, in on_remove_clicked
:    self._removeLayout(store, itr)
:XklWrapperError: 'ph ()' not in the list of added layouts

Comment 1 Reartes Guillermo 2012-10-12 15:49:05 UTC
Created attachment 626075 [details]
File: anaconda-tb

Comment 2 Reartes Guillermo 2012-10-12 15:49:08 UTC
Created attachment 626076 [details]
File: product

Comment 3 Reartes Guillermo 2012-10-12 15:49:10 UTC
Created attachment 626077 [details]
File: type

Comment 4 Reartes Guillermo 2012-10-12 15:49:12 UTC
Created attachment 626078 [details]
File: ifcfg.log

Comment 5 Reartes Guillermo 2012-10-12 15:49:17 UTC
Created attachment 626079 [details]
File: storage.log

Comment 6 Reartes Guillermo 2012-10-12 15:49:19 UTC
Created attachment 626080 [details]
File: version

Comment 7 Reartes Guillermo 2012-10-12 15:49:21 UTC
Created attachment 626081 [details]
File: environ

Comment 8 Reartes Guillermo 2012-10-12 15:49:24 UTC
Created attachment 626082 [details]
File: anaconda.log

Comment 9 Reartes Guillermo 2012-10-12 15:49:28 UTC
Created attachment 626083 [details]
File: syslog

Comment 10 Reartes Guillermo 2012-10-12 15:49:30 UTC
Created attachment 626084 [details]
File: hashmarkername

Comment 11 Reartes Guillermo 2012-10-12 15:49:32 UTC
Created attachment 626085 [details]
File: packaging.log

Comment 12 Reartes Guillermo 2012-10-12 15:49:35 UTC
Created attachment 626086 [details]
File: cmdline_file

Comment 13 Reartes Guillermo 2012-10-12 15:49:37 UTC
Created attachment 626087 [details]
File: release

Comment 14 Reartes Guillermo 2012-10-12 15:49:40 UTC
Created attachment 626088 [details]
File: program.log

Comment 15 Vratislav Podzimek 2012-10-12 21:48:32 UTC
Sorry, but this is not a reasonable use case. Moreover we just call libxklavier (chaning X runtime configuration) and it probably cannot handle so many layouts correctly.

Comment 16 Reartes Guillermo 2012-10-12 22:24:19 UTC
I do agree that it is not a reasonable usage case. (who will have so many keyboards? :-) )

Should anaconda prevent the user from doing know things that crashes the installer? 

At least there might be max number of keyboards that anaconda (for whatever reason) supports.

Comment 17 Vratislav Podzimek 2012-10-15 07:25:32 UTC
(In reply to comment #16)
> I do agree that it is not a reasonable usage case. (who will have so many
> keyboards? :-) )
> 
> Should anaconda prevent the user from doing know things that crashes the
> installer? 
> 
> At least there might be max number of keyboards that anaconda (for whatever
> reason) supports.
Well, this might be a problem, because it depends on X server itself and I'm affraid it may be arch-dependend.