Bug 895218 - [abrt] ibus-1.4.99.20121109-9.fc17: keyboardshortcut.py:210:__set_selected_shortcut:TypeError: 'TreePath' object does not support indexing
Summary: [abrt] ibus-1.4.99.20121109-9.fc17: keyboardshortcut.py:210:__set_selected_sh...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: fujiwara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:589084d0d36cd86adf305fd3643...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-14 21:06 UTC by Jacek Pawlyta
Modified: 2013-02-19 01:25 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-19 01:25:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (810 bytes, text/plain)
2013-01-14 21:06 UTC, Jacek Pawlyta
no flags Details
File: core_backtrace (231 bytes, text/plain)
2013-01-14 21:06 UTC, Jacek Pawlyta
no flags Details
File: environ (923 bytes, text/plain)
2013-01-14 21:06 UTC, Jacek Pawlyta
no flags Details
File: smolt_data (3.20 KB, text/plain)
2013-01-14 21:06 UTC, Jacek Pawlyta
no flags Details

Description Jacek Pawlyta 2013-01-14 21:06:05 UTC
Version-Release number of selected component:
ibus-1.4.99.20121109-9.fc17

Additional info:
cmdline:        /usr/bin/python /usr/share/ibus/setup/main.py ibus-setup
executable:     /usr/share/ibus/setup/main.py
kernel:         3.7.1-2.fc18.x86_64
uid:            500

Truncated backtrace:
keyboardshortcut.py:210:__set_selected_shortcut:TypeError: 'TreePath' object does not support indexing

Traceback (most recent call last):
  File "/usr/share/ibus/setup/keyboardshortcut.py", line 306, in __apply_button_clicked_cb
    self.__set_selected_shortcut(shortcut)
  File "/usr/share/ibus/setup/keyboardshortcut.py", line 210, in __set_selected_shortcut
    model[path[0]][0] = shortcut
TypeError: 'TreePath' object does not support indexing

Local variables in innermost frame:
column: <TreeViewColumn object at 0x278ebe0 (GtkTreeViewColumn at 0x29dfb20)>
path: <GtkTreePath at 0x2c08750>
model: <ListStore object at 0x278eaf0 (GtkListStore at 0x2b82430)>
self: <KeyboardShortcutSelection object at 0x278e820 (keyboardshortcut+KeyboardShortcutSelection at 0x27410f0)>
shortcut: '<Control><Meta>space'

Comment 1 Jacek Pawlyta 2013-01-14 21:06:08 UTC
Created attachment 678429 [details]
File: backtrace

Comment 2 Jacek Pawlyta 2013-01-14 21:06:11 UTC
Created attachment 678430 [details]
File: core_backtrace

Comment 3 Jacek Pawlyta 2013-01-14 21:06:13 UTC
Created attachment 678431 [details]
File: environ

Comment 4 Jacek Pawlyta 2013-01-14 21:06:15 UTC
Created attachment 678432 [details]
File: smolt_data

Comment 5 fujiwara 2013-01-15 03:06:26 UTC
I also noticed this issue last week.
It's a fedora17 pygobject3 specific problem.

Comment 6 fujiwara 2013-01-16 02:52:30 UTC
--- ibus-1.5.1/setup/keyboardshortcut.py.orig	2013-01-15 17:00:05.093191054 +0900
+++ ibus-1.5.1/setup/keyboardshortcut.py	2013-01-15 17:00:18.034160760 +0900
@@ -207,7 +207,7 @@ class KeyboardShortcutSelection(Gtk.VBox
     def __set_selected_shortcut(self, shortcut):
         model = self.__shortcut_view.get_model()
         path, column = self.__shortcut_view.get_cursor()
-        model[path[0]][0] = shortcut
+        model[path][0] = shortcut
         self.__update_add_and_apply_buttons()
 
     def __del_selected_shortcut(self):

Comment 7 Fedora Update System 2013-01-16 02:55:48 UTC
ibus-1.5.1-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/ibus-1.5.1-1.fc17

Comment 8 Fedora Update System 2013-01-18 20:25:40 UTC
Package ibus-1.5.1-1.fc17, ibus-anthy-1.5.0-1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ibus-1.5.1-1.fc17 ibus-anthy-1.5.0-1.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-0914/ibus-anthy-1.5.0-1.fc17,ibus-1.5.1-1.fc17
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2013-02-01 17:19:39 UTC
Package ibus-anthy-1.5.0-1.fc17, ibus-1.5.1-2.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ibus-anthy-1.5.0-1.fc17 ibus-1.5.1-2.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-0914/ibus-anthy-1.5.0-1.fc17,ibus-1.5.1-2.fc17
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2013-02-19 01:25:57 UTC
ibus-anthy-1.5.0-1.fc17, ibus-1.5.1-2.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


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