Bug 895218
| Summary: | [abrt] ibus-1.4.99.20121109-9.fc17: keyboardshortcut.py:210:__set_selected_shortcut:TypeError: 'TreePath' object does not support indexing | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jacek Pawlyta <cunio> | ||||||||||
| Component: | ibus | Assignee: | fujiwara <tfujiwar> | ||||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||
| Priority: | unspecified | ||||||||||||
| Version: | 17 | CC: | i18n-bugs, shawn.p.huang, tfujiwar | ||||||||||
| Target Milestone: | --- | ||||||||||||
| Target Release: | --- | ||||||||||||
| Hardware: | x86_64 | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Whiteboard: | abrt_hash:589084d0d36cd86adf305fd3643dc63f313a0934 | ||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
| Doc Text: | Story Points: | --- | |||||||||||
| Clone Of: | Environment: | ||||||||||||
| Last Closed: | 2013-02-19 01:25:55 UTC | Type: | --- | ||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||
| Documentation: | --- | CRM: | |||||||||||
| Verified Versions: | Category: | --- | |||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
| Embargoed: | |||||||||||||
| Attachments: |
|
||||||||||||
Created attachment 678429 [details]
File: backtrace
Created attachment 678430 [details]
File: core_backtrace
Created attachment 678431 [details]
File: environ
Created attachment 678432 [details]
File: smolt_data
I also noticed this issue last week. It's a fedora17 pygobject3 specific problem. --- 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):
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 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). 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). 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. |
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'