Bug 683484 - ibus tracebacks: Can not find engine 'anthy'.
Summary: ibus tracebacks: Can not find engine 'anthy'.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: fujiwara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-09 14:33 UTC by Michal Hlavinka
Modified: 2011-03-18 03:52 UTC (History)
4 users (show)

Fixed In Version: ibus-1.3.99.20110228-3.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-18 03:52:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michal Hlavinka 2011-03-09 14:33:39 UTC
Description of problem:
When using ibus-anthy in F-15 I'm getting tracebacks whenever I turn anthy on. Firt I got this error on Fedora 14 machine upgraded to Fedora 15, but I've just confirmed the same problem exists on fresh Fedora 15 install.

Version-Release number of selected component (if applicable):
anthy-9100h-16.fc15.x86_64
ibus-1.3.99.20110206-4.fc15.x86_64

How reproducible:
always

Steps to Reproduce:
1.add new user
2.setup/make sure ibus is used (im-chooser)
3.add japanese:anthy as input method
4.relogin
5.start firefox
6.click on address bar
7.ibus systray->anthy

If abrt does not show up,  try ibus systray->restart and continue with step 6

Actual results:
anthy is used (works) and abrt pops up with ibus traceback


Expected results:
working anthy without any tracebacks

Additional info:
I'm using KDE.
I have these packages installed:
$ rpm -qa 'ibus*' 'im*' '*anthy*' | sort
anthy-9100h-16.fc15.x86_64
ibus-1.3.99.20110206-4.fc15.x86_64
ibus-anthy-1.2.5-4.fc15.x86_64
ibus-chewing-1.3.9.2-2.fc15.x86_64
ibus-gtk2-1.3.99.20110206-4.fc15.x86_64
ibus-gtk3-1.3.99.20110206-4.fc15.x86_64
ibus-hangul-1.3.1-1.fc15.x86_64
ibus-libs-1.3.99.20110206-4.fc15.x86_64
ibus-m17n-1.3.2-1.fc15.x86_64
ibus-pinyin-1.3.99.20110217-2.fc15.x86_64
ibus-pinyin-db-open-phrase-1.3.99.20110217-2.fc15.noarch
ibus-qt-1.3.1-4.fc15.x86_64
ibus-rawcode-1.3.1.20100707-4.fc15.x86_64
im-chooser-1.4.1-7.fc15.x86_64
im-chooser-gnome3-1.4.1-7.fc15.x86_64
imsettings-1.2.0-1.fc15.x86_64
imsettings-gnome-1.2.0-1.fc15.x86_64
imsettings-libs-1.2.0-1.fc15.x86_64
imsettings-qt-1.2.0-1.fc15.x86_64

Comment 1 Michal Hlavinka 2011-03-09 14:35:53 UTC
Just tested with F15Alpha Gnome(aka Desktop) Live cd and problem is there too, so it's not related to KDE environment.
In Gnome Live cd (in virtual machine, so gnome 2, not gnome shell):
1)login
2)start terminal
3)ibus->preferences:add anthy input method
4)click terminal
5)systray ibus->anthy
-> traceback

Comment 2 Michal Hlavinka 2011-03-09 14:36:21 UTC
Abrt reported error is:

connection.py:630:call_blocking:DBusException:
org.freedesktop.DBus.Error.Failed: Can not find engine 'anthy'.

Traceback (most recent call last):
  File "/usr/share/ibus/ui/gtk/panel.py", line 510, in
__im_menu_item_activate_cb
    self.__focus_ic.set_engine(engine)
  File "/usr/lib/python2.7/site-packages/ibus/inputcontext.py", line 238, in
set_engine
    return self.__context.SetEngine(engine.name)
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in
__call__
    **keywords)
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in
call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.Failed: Can not find engine 'anthy'.

Local variables in innermost frame:
byte_arrays: False
self: <dbus.connection.Connection object at 0x2c48950>
args: (dbus.String(u'anthy'),)
utf8_strings: False
bus_name: 'org.freedesktop.IBus'
get_args_opts: {'byte_arrays': False, 'utf8_strings': False}
object_path: dbus.ObjectPath('/org/freedesktop/IBus/InputContext_8')
timeout: -1.0
signature: u's'
dbus_interface: 'org.freedesktop.IBus.InputContext'
message: <dbus.lowlevel.MethodCallMessage object at 0x2c14b88>
method: 'SetEngine'

Comment 3 fujiwara 2011-03-10 00:47:59 UTC
Thanks much for your report.

I copied my previous comment here for the record.
ibus calls _ic_set_engine() but the signal REQUEST_ENGINE is not connected to
new_engine_cb().

Comment 4 fujiwara 2011-03-17 06:08:51 UTC
I discussed this issue last week. Now this bug was fixed in upstream.
https://github.com/ibus/ibus/commit/b9b2c42596e1a7394e89c11025074aed2fcb099a

Comment 5 Fedora Update System 2011-03-17 08:56:24 UTC
ibus-1.3.99.20110228-3.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/ibus-1.3.99.20110228-3.fc15

Comment 6 Fedora Update System 2011-03-18 03:52:03 UTC
ibus-1.3.99.20110228-3.fc15 has been pushed to the Fedora 15 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.