Bug 597594 - [abrt] crash in ibus-1.3.3-1.fc13: keyboardshortcut.py:140:get_shortcuts:TypeError: 'NoneType' object is not iterable
[abrt] crash in ibus-1.3.3-1.fc13: keyboardshortcut.py:140:get_shortcuts:Type...
Product: Fedora
Classification: Fedora
Component: ibus (Show other bugs)
x86_64 Linux
low Severity medium
: ---
: ---
Assigned To: Peng Wu
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2010-05-29 14:03 EDT by F.Prates
Modified: 2010-07-02 18:41 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-07-01 22:17:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
File: backtrace (677 bytes, text/plain)
2010-05-29 14:03 EDT, F.Prates
no flags Details

  None (edit)
Description F.Prates 2010-05-29 14:03:27 EDT
abrt 1.1.0 detected a crash.

architecture: x86_64
cmdline: python /usr/share/ibus/setup/main.py
comment: error is consistently reproducible.
component: ibus
executable: /usr/share/ibus/setup/main.py
package: ibus-1.3.3-1.fc13
reason: keyboardshortcut.py:140:get_shortcuts:TypeError: 'NoneType' object is not iterable
release: Fedora release 13 (Goddard)

keyboardshortcut.py:140:get_shortcuts:TypeError: 'NoneType' object is not iterable

Traceback (most recent call last):
  File "/usr/share/ibus/setup/keyboardshortcut.py", line 223, in __keycode_entry_notify_cb
  File "/usr/share/ibus/setup/keyboardshortcut.py", line 208, in __update_add_and_apply_buttons
    shortcuts = self.get_shortcuts()
  File "/usr/share/ibus/setup/keyboardshortcut.py", line 140, in get_shortcuts
    return [i[0] for i in model]
TypeError: 'NoneType' object is not iterable

Local variables in innermost frame:
_[1]: []
model: None
self: <KeyboardShortcutSelection object at 0x1666e10 (GtkVBox at 0x18e4800)>

How to reproduce
1. select preferences from ibus icon tray (with anthy engine).
2. click on button [...] (next input method) from "general" tab. dialog will be displayed.
3. click on "cancel". error notification is showed.
Comment 1 F.Prates 2010-05-29 14:03:29 EDT
Created attachment 417902 [details]
File: backtrace
Comment 2 Peng Huang 2010-05-30 20:29:58 EDT
Sorry. I can not reproduce this problem. Can you always reproduce this problem?
Comment 3 F.Prates 2010-05-31 19:01:24 EDT
(In reply to comment #2)
> Sorry. I can not reproduce this problem. Can you always reproduce this problem?    

I've just tried to reproduce this error in a fedora 13 32-bit install, and the problem doesn't happen. That's why I've never noticed it before (first time that I use a 64 bit install).

Yes, in 64 bit, I can always reproduce this problem.
Comment 4 Peng Huang 2010-05-31 23:39:09 EDT
Thank you for the information.
This problem has been fixed in upstream. I will build it for fedora soon.
Comment 5 Peng Wu 2010-07-01 22:17:59 EDT
Check with the latest ibus rpm from Fedora 13 updates.
As the upstream code is in Fedora 13 updates now, close this bug.
Comment 6 F.Prates 2010-07-02 18:41:14 EDT
I've had no more crashes in ibus preferences on 64 bit fedora.

thanks for the fix.

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