unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: 42144@debbugs.gnu.org
Subject: bug#42144: cannot configure ibus-libpinyin input method
Date: Tue, 30 Jun 2020 23:21:35 +0200	[thread overview]
Message-ID: <87k0zomeqo.fsf@elephly.net> (raw)

In Gnome clicking on the icon to configure the libpinyin input method
fails.  It tries to execute ibus-libpinyin’s
libexec/ibus-setup-libpinyin.

Running it manually reveals this error:

--8<---------------cut here---------------start------------->8---
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)
--8<---------------cut here---------------end--------------->8---

ibus-libpinyin-preferences.ui references DictionaryTreeView which is a
custom widget defined in share/ibus-libpinyin/setup/dicttreeview.py.

strace confirms that dicttreeview.py is read earlier, but for some
reason DictionaryTreeView is still considered an invalid object type.

-- 
Ricardo




                 reply	other threads:[~2020-06-30 21:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k0zomeqo.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=42144@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).