Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=890072
Bug ID: 890072 Summary: [abrt] ibus-anthy-1.4.99.20121006-1.fc18: Gtk.py:1624:<module>:RuntimeError: Gtk couldn't be initialized Product: Fedora Version: 18 Component: ibus-anthy Severity: unspecified Priority: unspecified Reporter: costashu@mail.ru
Description of problem: I turned on iBus.
Version-Release number of selected component: ibus-anthy-1.4.99.20121006-1.fc18
Additional info: cmdline: /usr/bin/python /usr/share/ibus-anthy/engine/main.py --xml dso_list: pygobject3-base-3.4.2-5.fc18.x86_64 executable: /usr/share/ibus-anthy/engine/main.py kernel: 3.6.11-3.fc18.x86_64 uid: 1000
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=890072
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |WORKSFORME Last Closed| |2012-12-25 02:19:45
--- Comment #4 from fujiwara tfujiwar@redhat.com --- (In reply to comment #1)
Created attachment 668614 [details] File: backtrace
File "/usr/share/ibus-anthy/engine/engine.py", line 41, in <module> from gi.repository import Gtk
File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 1624, in <module> raise RuntimeError("Gtk couldn't be initialized") RuntimeError: Gtk couldn't be initialized
How did you run ibus-anthy? ibus needs to open $DISPLAY.
I think your problem is not ibus specific but you could see the same error with the following script.
% cat a.py from gi.repository import Gtk
% python a.py
i18n-bugs@lists.fedoraproject.org