Bug 887371 - XklWrapperError: Failed to remove layout 'us ()'
Summary: XklWrapperError: Failed to remove layout 'us ()'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vratislav Podzimek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:00d3887e3caa9d0fbe25f08c557...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-14 20:11 UTC by Reartes Guillermo
Modified: 2013-05-10 03:49 UTC (History)
5 users (show)

Fixed In Version: anaconda-19.1-1
Clone Of:
Environment:
Last Closed: 2013-05-10 03:49:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda.log (27.48 KB, text/plain)
2012-12-14 20:11 UTC, Reartes Guillermo
no flags Details
File: environ (777 bytes, text/plain)
2012-12-14 20:12 UTC, Reartes Guillermo
no flags Details
File: ifcfg.log (622 bytes, text/plain)
2012-12-14 20:12 UTC, Reartes Guillermo
no flags Details
File: packaging.log (191.07 KB, text/plain)
2012-12-14 20:12 UTC, Reartes Guillermo
no flags Details
File: program.log (229.47 KB, text/plain)
2012-12-14 20:12 UTC, Reartes Guillermo
no flags Details
File: storage.log (490.59 KB, text/plain)
2012-12-14 20:12 UTC, Reartes Guillermo
no flags Details
File: syslog (80.71 KB, text/plain)
2012-12-14 20:12 UTC, Reartes Guillermo
no flags Details
File: anaconda-tb (1.14 MB, application/octet-stream)
2012-12-14 20:12 UTC, Reartes Guillermo
no flags Details

Description Reartes Guillermo 2012-12-14 20:11:55 UTC
Description of problem:
clicked "-" and then i did something weird. It is something i do not believe that will normally happen.
The following was filed automatically by anaconda:
anaconda 18.37.2 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 526, in remove_layout
    variant))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/keyboard.py", line 358, in _removeLayout
    self._xkl_wrapper.remove_layout(store[itr][0])
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/keyboard.py", line 394, in on_add_clicked
    self._removeLayout(self._store, itr)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/utils.py", line 30, in wrap
    func(*args)
XklWrapperError: Failed to remove layout 'us ()'

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2018-TC2\x20x86_64 quiet gpt BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.6.10-4.fc18.x86_64
other involved packages: 
package:        anaconda-18.37.2
product:        Fedora
release:        Cannot get release name.
type:           libreport
version:        18-TC2

Comment 1 Reartes Guillermo 2012-12-14 20:11:59 UTC
Created attachment 663770 [details]
File: anaconda.log

Comment 2 Reartes Guillermo 2012-12-14 20:12:01 UTC
Created attachment 663771 [details]
File: environ

Comment 3 Reartes Guillermo 2012-12-14 20:12:04 UTC
Created attachment 663772 [details]
File: ifcfg.log

Comment 4 Reartes Guillermo 2012-12-14 20:12:09 UTC
Created attachment 663773 [details]
File: packaging.log

Comment 5 Reartes Guillermo 2012-12-14 20:12:16 UTC
Created attachment 663774 [details]
File: program.log

Comment 6 Reartes Guillermo 2012-12-14 20:12:28 UTC
Created attachment 663775 [details]
File: storage.log

Comment 7 Reartes Guillermo 2012-12-14 20:12:32 UTC
Created attachment 663776 [details]
File: syslog

Comment 8 Reartes Guillermo 2012-12-14 20:12:59 UTC
Created attachment 663777 [details]
File: anaconda-tb

Comment 9 Chris Lumens 2012-12-16 14:42:33 UTC
Can you remember what "something weird" you did that caused this?  Without it, I don't think we'll be able to reproduce and fix this problem.

Comment 10 Reartes Guillermo 2012-12-16 16:13:11 UTC
I could not replicate it. 

I was some junk imput, so i don't think it will happen very often.
If i can reproduce it i will update this bug-report.

Comment 11 Reartes Guillermo 2012-12-16 16:24:12 UTC
Well, i believe i speaker too quickly... I was able to reproduce it.

0. Boot, enter KEYBOARD
1. Click '-' key
2. Type: spaX
3. Double click the now empty keyboard layout are (the center of the widget)
4. The 'input' is accepted and the 'unknown error' appears.


Partially unrelated: in recent times i noticed that there is now a delay for the unknown error to show up. Previously they were almost instantaneous. There is at least one case in which there is an anaconda-tb-XXX file but no unknown error has been ever displayed.

Comment 12 Vratislav Podzimek 2012-12-17 08:53:01 UTC
(In reply to comment #11)
> Well, i believe i speaker too quickly... I was able to reproduce it.
> 
> 0. Boot, enter KEYBOARD
> 1. Click '-' key
> 2. Type: spaX
> 3. Double click the now empty keyboard layout are (the center of the widget)
> 4. The 'input' is accepted and the 'unknown error' appears.
Thanks for the reproducer. I'm sending an easy fix for this issue to anaconda-patches.

> 
> 
> Partially unrelated: in recent times i noticed that there is now a delay for
> the unknown error to show up. Previously they were almost instantaneous.
I have seen this too some time ago and it was caused by dumping some big data that should have been skipped (yum instance). In the anaconda-tb file you have provided I can see some unimportant rubbish that could be skipped. I'll look at this too.

> There is at least one case in which there is an anaconda-tb-XXX file but no
> unknown error has been ever displayed.
Whenever this happens, please switch to tty1 because there will likely be a traceback from python-meh (our exception handling). You can use tmux capabilities [1] to copy-paste these and file a bug against python-meh. Thanks!

[1] http://awhan.wordpress.com/2010/06/20/copy-paste-in-tmux/

Comment 13 Reartes Guillermo 2013-01-04 13:39:43 UTC
It still happens with TC4 (18.37.8)

Comment 14 Vratislav Podzimek 2013-01-05 13:49:16 UTC
(In reply to comment #13)
> It still happens with TC4 (18.37.8)
That's expected. This bug was not marked as blocker nor NTH and thus the patch was pushed only for Rawhide, not F18.

Comment 15 Adam Williamson 2013-05-10 03:49:31 UTC
Tested with F19, cannot reproduce; the fix worked.


Note You need to log in before you can comment on or make changes to this bug.