Bug 909182 - [abrt] livecd-tools-18.14-1.fc18: keyboard.py:81:set:KeyError: 'en' [NEEDINFO]
Summary: [abrt] livecd-tools-18.14-1.fc18: keyboard.py:81:set:KeyError: 'en'
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: livecd-tools
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:63eca4cde2ab1cbc16b46563d16...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-08 13:07 UTC by Matthias Runge
Modified: 2014-02-05 19:02 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-02-05 19:02:01 UTC
Type: ---
Embargoed:
bcl: needinfo?


Attachments (Terms of Use)
File: backtrace (757 bytes, text/plain)
2013-02-08 13:07 UTC, Matthias Runge
no flags Details
File: core_backtrace (501 bytes, text/plain)
2013-02-08 13:08 UTC, Matthias Runge
no flags Details
File: dso_list (84 bytes, text/plain)
2013-02-08 13:08 UTC, Matthias Runge
no flags Details
File: environ (1.84 KB, text/plain)
2013-02-08 13:08 UTC, Matthias Runge
no flags Details
File: smolt_data (2.60 KB, text/plain)
2013-02-08 13:08 UTC, Matthias Runge
no flags Details

Description Matthias Runge 2013-02-08 13:07:56 UTC
Description of problem:
used the kickstart and Makefile from here:
https://github.com/mrunge/fedora-openstack-spin

Version-Release number of selected component:
livecd-tools-18.14-1.fc18

Additional info:
cmdline:        /usr/bin/python -tt /usr/bin/livecd-creator -c fedora-openstack.ks -v --cache=/tmp/cache --releasever=18 -f FedoraOpenStack '--product=Fedora OpenStack Spin' --compression-type=xz --image-type=livecd --title=OpenStack
executable:     /usr/bin/livecd-creator
kernel:         3.7.2-204.fc18.x86_64
uid:            0

Truncated backtrace:
keyboard.py:81:set:KeyError: 'en'

Traceback (most recent call last):
  File "/usr/bin/livecd-creator", line 237, in <module>
    sys.exit(main())
  File "/usr/bin/livecd-creator", line 219, in main
    creator.configure()
  File "/usr/lib/python2.7/site-packages/imgcreate/creator.py", line 721, in configure
    kickstart.KeyboardConfig(self._instroot).apply(ksh.keyboard)
  File "/usr/lib/python2.7/site-packages/imgcreate/kickstart.py", line 143, in apply
    k.set(kskeyboard.keyboard)
  File "/usr/lib/python2.7/site-packages/system_config_keyboard/keyboard.py", line 81, in set
    kb = self.modelDict[keytable]
KeyError: 'en'

Local variables in innermost frame:
self: <system_config_keyboard.keyboard.Keyboard instance at 0x6171200>
keytable: 'en'

Comment 1 Matthias Runge 2013-02-08 13:07:59 UTC
Created attachment 695065 [details]
File: backtrace

Comment 2 Matthias Runge 2013-02-08 13:08:01 UTC
Created attachment 695066 [details]
File: core_backtrace

Comment 3 Matthias Runge 2013-02-08 13:08:04 UTC
Created attachment 695067 [details]
File: dso_list

Comment 4 Matthias Runge 2013-02-08 13:08:06 UTC
Created attachment 695068 [details]
File: environ

Comment 5 Matthias Runge 2013-02-08 13:08:08 UTC
Created attachment 695069 [details]
File: smolt_data

Comment 6 Brian Lane 2013-07-10 18:58:28 UTC
I am unable to reproduce this myself. It doesn't make much sense, the keyboard value is pulled from the kickstart and should be 'us'.

If you hit this again could you add this to imgcreate/kickstart.py

diff --git a/imgcreate/kickstart.py b/imgcreate/kickstart.py
index 1ed9f2f..7c9a4aa 100644
--- a/imgcreate/kickstart.py
+++ b/imgcreate/kickstart.py
@@ -139,6 +139,7 @@ class KeyboardConfig(KickstartConfig):
     """A class to apply a kickstart keyboard configuration to a system."""
     def apply(self, kskeyboard):
         k = keyboard.Keyboard()
+        logging.info("keyboard = %s" % kskeyboard.keyboard)
         if kskeyboard.keyboard:
             k.set(kskeyboard.keyboard)
         k.write(self.instroot)

Comment 7 Fedora End Of Life 2013-12-21 11:14:25 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 8 Fedora End Of Life 2014-02-05 19:02:01 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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