Description of problem: (KDE) Input Method Selector-->Use IBus(recommended)-->preferences-->ibus crashed when I logout, and try again, it emerges again. Version-Release number of selected component: ibus-setup-1.5.2-7.fc19 Additional info: reporter: libreport-2.1.5 cmdline: /usr/bin/python /usr/share/ibus/setup/main.py core_backtrace: 0501b50820ddccfa818ce13f6c057b7c4f8e7120 0x20 <module> /usr/share/ibus/setup/main.py - executable: /usr/share/ibus/setup/main.py kernel: 3.9.5-301.fc19.i686.PAE runlevel: N 5 uid: 1000 Truncated backtrace: main.py:32:<module>:ImportError: No module named xdg Traceback (most recent call last): File "/usr/share/ibus/setup/main.py", line 32, in <module> from xdg import BaseDirectory ImportError: No module named xdg Local variables in innermost frame: GLib: <gi.module.DynamicModule 'GLib' from '/usr/lib/girepository-1.0/GLib-2.0.typelib'> signal: <module 'signal' (built-in)> __builtins__: <module '__builtin__' (built-in)> __file__: '/usr/share/ibus/setup/main.py' Gtk: <gi.module.DynamicModule 'Gtk' from '/usr/lib/girepository-1.0/Gtk-3.0.typelib'> IBus: <gi.module.DynamicModule 'IBus' from '/usr/lib/girepository-1.0/IBus-1.0.typelib'> __package__: None sys: <module 'sys' (built-in)> time: <module 'time' from '/usr/lib/python2.7/lib-dynload/timemodule.so'> __name__: '__main__' path: <module 'posixpath' from '/usr/lib/python2.7/posixpath.pyc'> os: <module 'os' from '/usr/lib/python2.7/os.pyc'> __doc__: None
Created attachment 768121 [details] File: backtrace
Created attachment 768122 [details] File: environ
when i do the following: $sudo yum install pyxdg the bug disappeared.
althoug the bug disappeared, I cannot use "wubi-haifeng86" and "wubi-jidian86" for chinese. The only input language can be used is "english".
Thanks for the report. Probably this is not so urgent since the workaround works in comment #3. I'd like to delete the xdg dependency. (In reply to followyourheart1211 from comment #4) > althoug the bug disappeared, I cannot use "wubi-haifeng86" and > "wubi-jidian86" for chinese. The only input language can be used is > "english". I think it's another issue. If you don't have wubi-*, you need to install them and restart ibus-daemon. If wubi-* are not shown in ibus-setup, probably your cache file is not updated. If you choose wubi-* in ibus panel icon but you cannot enable them, probably the engines failed be enabled.
https://github.com/ibus/ibus/commit/5ed2b8c8253717b6c26281a8721403b006db04e6
This issue happens for all of users who use non-GNOME desktop spins and ibus is useless due to that because they can't configure anything until one installs pyxdg. I don't see any reasons why you don't push updates soon. I'd say that may be wrong assumption everyone can be aware of that workaround.
(In reply to Akira TAGOH from comment #7) > This issue happens for all of users who use non-GNOME desktop spins and ibus > is useless due to that because they can't configure anything until one > installs pyxdg. I don't see any reasons why you don't push updates soon. I'd > say that may be wrong assumption everyone can be aware of that workaround. I thought pyxdg is installed in DEs by default. Probably it's a regression when ibus-pygtk2 is not installed. Will fix it soon.
(In reply to fujiwara from comment #6) > https://github.com/ibus/ibus/commit/5ed2b8c8253717b6c26281a8721403b006db04e6 I don't really understand the patch though - why remove the xdg support from upstream? Surely just adding "Requires: pyxdg" to ibus-setup would be enough, right? :)
(In reply to Jens Petersen from comment #9) > (In reply to fujiwara from comment #6) > > https://github.com/ibus/ibus/commit/5ed2b8c8253717b6c26281a8721403b006db04e6 > > I don't really understand the patch though - why remove the xdg support > from upstream? Surely just adding "Requires: pyxdg" to ibus-setup > would be enough, right? :) No, pyxdg is no longer used actually. Just avoided the exception error.
ibus-1.5.2-8.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/ibus-1.5.2-8.fc19
Package ibus-1.5.2-8.fc19: * should fix your issue, * was pushed to the Fedora 19 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.2-8.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-12789/ibus-1.5.2-8.fc19 then log in and leave karma (feedback).
Okay I checked the various Live images and this only seems to affect KDE.
ibus-1.5.2-8.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.