Bug 890072 - [abrt] ibus-anthy-1.4.99.20121006-1.fc18: Gtk.py:1624:<module>:RuntimeError: Gtk couldn't be initialized
Summary: [abrt] ibus-anthy-1.4.99.20121006-1.fc18: Gtk.py:1624:<module>:RuntimeError: ...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus-anthy
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: fujiwara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:e041dd956f932e40e4f1d6b9c57...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-24 22:40 UTC by costashu
Modified: 2012-12-25 07:19 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-25 07:19:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (8.01 KB, text/plain)
2012-12-24 22:40 UTC, costashu
no flags Details
File: core_backtrace (612 bytes, text/plain)
2012-12-24 22:40 UTC, costashu
no flags Details
File: environ (1.77 KB, text/plain)
2012-12-24 22:40 UTC, costashu
no flags Details

Description costashu 2012-12-24 22:40:45 UTC
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

Comment 1 costashu 2012-12-24 22:40:48 UTC
Created attachment 668614 [details]
File: backtrace

Comment 2 costashu 2012-12-24 22:40:50 UTC
Created attachment 668615 [details]
File: core_backtrace

Comment 3 costashu 2012-12-24 22:40:52 UTC
Created attachment 668616 [details]
File: environ

Comment 4 fujiwara 2012-12-25 07:19:45 UTC
(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


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