cannot configure ibus-libpinyin input method

OpenSubmitted by Ricardo Wurmus.
Details
One participant
  • Ricardo Wurmus
Owner
unassigned
Severity
normal
R
R
Ricardo Wurmus wrote 5 days ago
(address . bug-guix@gnu.org)
87k0zomeqo.fsf@elephly.net
In Gnome clicking on the icon to configure the libpinyin input methodfails. It tries to execute ibus-libpinyin’slibexec/ibus-setup-libpinyin.
Running it manually reveals this error:
Toggle snippet (12 lines)main2.py:66: DeprecationWarning: bind_textdomain_codeset() is deprecated gettext.bind_textdomain_codeset(DOMAINNAME, 'UTF-8')Traceback (most recent call last): File "main2.py", line 535, in <module> main() File "main2.py", line 531, in main PreferencesDialog(name).run() File "main2.py", line 75, in __init__ self.__builder.add_from_file("ibus-libpinyin-preferences.ui")gi.repository.GLib.Error: gtk-builder-error-quark: ibus-libpinyin-preferences.ui:1770:1 Invalid object type 'DictionaryTreeView' (6)
ibus-libpinyin-preferences.ui references DictionaryTreeView which is acustom widget defined in share/ibus-libpinyin/setup/dicttreeview.py.
strace confirms that dicttreeview.py is read earlier, but for somereason DictionaryTreeView is still considered an invalid object type.
-- Ricardo
?