FS#65831 - ibus-anthy 1.5.11-3 unable to load

Attached to Project: Community Packages
Opened by Marc K (mwkuster) - Saturday, 14 March 2020, 07:49 GMT
Last edited by Toolybird (Toolybird) - Monday, 01 May 2023, 00:33 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

After updating to GNOME Version 3.36.0 (wayland) on Arch Linux, ibus-anthy has stopped working. It is no longer offered among the choices of keyboards, even though it remains configured in GNOME setting.

Calling /usr/lib/ibus/ibus-engine-anthy directly produces the following error message:

Traceback (most recent call last):
File "/usr/share/ibus-anthy/engine/main.py", line 192, in <module>
main()
File "/usr/share/ibus-anthy/engine/main.py", line 189, in main
launch_engine(exec_by_ibus)
File "/usr/share/ibus-anthy/engine/main.py", line 85, in launch_engine
IMApp(exec_by_ibus).run()
File "/usr/share/ibus-anthy/engine/main.py", line 71, in __init__
self.__factory = factory.EngineFactory(self.__bus)
File "/usr/share/ibus-anthy/engine/factory.py", line 53, in __init__
bus.get_connection().signal_subscribe('org.freedesktop.DBus',
AttributeError: 'NoneType' object has no attribute 'signal_subscribe'

This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 01 May 2023, 00:33 GMT
Reason for closing:  Fixed
Additional comments about closing:  Cannot repro. Seems to load fine these days so assuming fixed.
Comment by Alex Shpilkin (alex.shpilkin) - Saturday, 14 March 2020, 10:46 GMT
Is this due to the IBus daemon not starting, see <https://gitlab.gnome.org/GNOME/gnome-shell/issues/2341> and <https://github.com/ibus/ibus/pull/2195>? If so, the fix needs to be pulled from upstream IBus.
Comment by Marc K (mwkuster) - Saturday, 14 March 2020, 11:04 GMT
For today I find the following error messages:

journalctl | grep ibus

Mar 14 08:37:49 ebla dbus-daemon[4285]: [session uid=1000 pid=4285] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.21' (uid=1000 pid=4542 comm="ibus-daemon --panel disable ")
Mar 14 08:37:49 ebla dbus-daemon[4285]: [session uid=1000 pid=4285] Activating service name='org.freedesktop.portal.IBus' requested by ':1.21' (uid=1000 pid=4542 comm="ibus-daemon --panel disable ")
Mar 14 08:37:49 ebla org.freedesktop.portal.IBus[4561]: Not connected to the ibus bus
Mar 14 08:37:52 ebla dbus-daemon[4285]: [session uid=1000 pid=4285] Activating service name='org.freedesktop.portal.IBus' requested by ':1.74' (uid=1000 pid=5014 comm="ibus-daemon --panel disable -r --xim ")
Mar 14 08:37:52 ebla org.freedesktop.portal.IBus[5040]: Not connected to the ibus bus

Note that on Mar 11 some of the error messages were different:
Mar 11 13:54:34 ebla electron[6248]: Unable to connect to ibus: Error receiving data: Connection reset by peer
Mar 11 13:54:34 ebla gnome-shell[931]: Unable to connect to ibus: Error receiving data: Connection reset by peer
Mar 11 13:54:34 ebla firefox[2147]: Unable to connect to ibus: Error receiving data: Connection reset by peer
Mar 11 13:54:34 ebla gnome-control-c[8235]: Unable to connect to ibus: The connection is closed
Mar 11 13:54:34 ebla org.freedesktop.portal.IBus[8276]: Not connected to the ibus bus


Comment by Marc K (mwkuster) - Monday, 13 April 2020, 09:44 GMT
Are there additional pieces of information that might help resolving this issue?

The output of

journalctl | grep ibus

is essentially unchanged:

Apr 11 18:31:37 ebla ibus-daemon[313970]: GChildWatchSource: Exit status of a child process was requested but ECHILD was received by waitpid(). See the documentation of g_child_watch_source_new() for possible causes.
Apr 11 18:32:15 ebla dbus-daemon[968]: [session uid=1000 pid=968] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.21' (uid=1000 pid=1067 comm="ibus-daemon --panel disable ")
Apr 11 18:32:15 ebla dbus-daemon[968]: [session uid=1000 pid=968] Activating service name='org.freedesktop.portal.IBus' requested by ':1.21' (uid=1000 pid=1067 comm="ibus-daemon --panel disable ")
Apr 11 18:32:15 ebla org.freedesktop.portal.IBus[1087]: Not connected to the ibus bus
Apr 11 18:32:17 ebla dbus-daemon[968]: [session uid=1000 pid=968] Activating service name='org.freedesktop.portal.IBus' requested by ':1.77' (uid=1000 pid=1380 comm="ibus-daemon --panel disable -r --xim ")
Apr 11 18:32:17 ebla org.freedesktop.portal.IBus[1399]: Not connected to the ibus bus
Apr 12 12:25:25 ebla keepassx2[8271]: Unable to connect to ibus: Could not connect: Connection refused

Loading...