Bug 922277 - [abrt] system-config-keyboard-1.3.1-9.fc18: keyboard.py:131:read:ValueError: need more than 1 value to unpack
Summary: [abrt] system-config-keyboard-1.3.1-9.fc18: keyboard.py:131:read:ValueError: ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-keyboard
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lubomir Rintel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:7ef32a005dff99ab88131df4eb8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-15 22:52 UTC by Christian Stadelmann
Modified: 2013-06-03 21:18 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-06-03 21:18:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (990 bytes, text/plain)
2013-03-15 22:52 UTC, Christian Stadelmann
no flags Details
File: core_backtrace (572 bytes, text/plain)
2013-03-15 22:52 UTC, Christian Stadelmann
no flags Details

Description Christian Stadelmann 2013-03-15 22:52:25 UTC
Description of problem:
how to reproduce:
start system-config-keyboard on fedora 18

what happens:
system-config-keyboard crashes with this output:

Interrupt set to control-C (^C).
Traceback (most recent call last):
  File "/usr/share/system-config-keyboard/system-config-keyboard.py", line 79, in <module>
    useTextMode()
  File "/usr/share/system-config-keyboard/system-config-keyboard.py", line 37, in useTextMode
    app = keyboard_tui.childWindow()
  File "/usr/share/system-config-keyboard/keyboard_tui.py", line 94, in __init__
    kbd, rc = KeyboardWindow()(screen)
  File "/usr/share/system-config-keyboard/keyboard_tui.py", line 40, in __call__
    self.kbd.read()
  File "/usr/lib/python2.7/site-packages/system_config_keyboard/keyboard.py", line 131, in read
    (name, value) = line.rstrip("\n").split ('=')
ValueError: need more than 1 value to unpack

Version-Release number of selected component:
system-config-keyboard-1.3.1-9.fc18

Additional info:
cmdline:        /usr/bin/python /usr/share/system-config-keyboard/system-config-keyboard.py
dso_list:       system-config-keyboard-base-1.3.1-9.fc18.x86_64
executable:     /usr/share/system-config-keyboard/system-config-keyboard.py
kernel:         3.8.2-206.fc18.x86_64
uid:            0

Truncated backtrace:
keyboard.py:131:read:ValueError: need more than 1 value to unpack

Traceback (most recent call last):
  File "/usr/share/system-config-keyboard/system-config-keyboard.py", line 79, in <module>
    useTextMode()
  File "/usr/share/system-config-keyboard/system-config-keyboard.py", line 37, in useTextMode
    app = keyboard_tui.childWindow()
  File "/usr/share/system-config-keyboard/keyboard_tui.py", line 94, in __init__
    kbd, rc = KeyboardWindow()(screen)
  File "/usr/share/system-config-keyboard/keyboard_tui.py", line 40, in __call__
    self.kbd.read()
  File "/usr/lib/python2.7/site-packages/system_config_keyboard/keyboard.py", line 131, in read
    (name, value) = line.rstrip("\n").split ('=')
ValueError: need more than 1 value to unpack

Local variables in innermost frame:
name: 'KBD_NUMLOCK'
self: <system_config_keyboard.keyboard.Keyboard instance at 0x2978ab8>
value: '"yes"'
file: <open file '//etc/sysconfig/keyboard', mode 'r' at 0x28ff6f0>
line: '\n'
instPath: '/'

Comment 1 Christian Stadelmann 2013-03-15 22:52:28 UTC
Created attachment 710917 [details]
File: backtrace

Comment 2 Christian Stadelmann 2013-03-15 22:52:30 UTC
Created attachment 710918 [details]
File: core_backtrace

Comment 3 Christian Stadelmann 2013-06-03 21:18:08 UTC
Works for me now (same Fedora 18 installation, same system-config-keyboard version). Don't know why.


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