From: elaexuotee--- via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 64941@debbugs.gnu.org
Subject: bug#64941: ModuleNotFoundError in ibus-anthy
Date: Sun, 30 Jul 2023 12:38:16 +0900 [thread overview]
Message-ID: <3QZVAQFC1VXS5.1YT80WSX2ORC8@wilsonb.com> (raw)
Hey guix,
Anthy has been giving me grief lately. It's not showing up in ibus-setup's list
of input methods.
After futzing around with ibus and gsettings for a while, I noticed this:
$ guix shell --pure ibus ibus-anthy
$ ibus read-cache | xml sel -t -c '(//name[text()="org.freedesktop.IBus.Anthy"])[1]/..' -n
<component>
<name>org.freedesktop.IBus.Anthy</name>
<description>Anthy Component</description>
<version>1.5.14</version>
<license>GPL</license>
<author>Peng Huang <shawn.p.huang@gmail.com></author>
<homepage>https://github.com/ibus/ibus/wiki</homepage>
<exec>/gnu/store/bm3jm0d942ljzmbckbg4872cj70ljqzi-ibus-anthy-1.5.14/libexec/ibus-engine-anthy --ibus</exec>
<textdomain>ibus-anthy</textdomain>
<observed-paths>
<path mtime="1">/home/x/.guix-profile/share/ibus/component/anthy.xml</path>
<path mtime="0">~/.config/ibus-anthy/engines.xml</path>
<path mtime="1">/gnu/store/bm3jm0d942ljzmbckbg4872cj70ljqzi-ibus-anthy-1.5.14/share/ibus-anthy/engine/default.xml</path>
</observed-paths>
<engines>
</engines>
</component>
So anthy is definitely detected by ibus, but directly running that exec command
results in Python falling over:
$ /gnu/store/bm3jm0d942ljzmbckbg4872cj70ljqzi-ibus-anthy-1.5.14/libexec/ibus-engine-anthy --ibus
Traceback (most recent call last):
File "/gnu/store/bm3jm0d942ljzmbckbg4872cj70ljqzi-ibus-anthy-1.5.14/share/ibus-anthy/engine/main.py", line 44, in <module>
import factory
File "/gnu/store/bm3jm0d942ljzmbckbg4872cj70ljqzi-ibus-anthy-1.5.14/share/ibus-anthy/engine/factory.py", line 33, in <module>
import engine
File "/gnu/store/bm3jm0d942ljzmbckbg4872cj70ljqzi-ibus-anthy-1.5.14/share/ibus-anthy/engine/engine.py", line 59, in <module>
from anthyprefs import AnthyPrefs
ModuleNotFoundError: No module named 'anthyprefs'
Any idea on what might be going on? I have had this issue for about a month,
but the above was performed with
$ guix describe
Generation 16 Jul 30 2023 09:58:49 (current)
guix 6b903e2
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 6b903e210462f7c1e428e0ded7e690d315e1f7a1
...
next reply other threads:[~2023-07-30 4:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-30 3:38 elaexuotee--- via Bug reports for GNU Guix [this message]
2023-07-30 4:38 ` bug#64941: ModuleNotFoundError in ibus-anthy elaexuotee--- via Bug reports for GNU Guix
2023-07-30 5:45 ` 宋文武 via Bug reports for GNU Guix
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=3QZVAQFC1VXS5.1YT80WSX2ORC8@wilsonb.com \
--to=bug-guix@gnu.org \
--cc=64941@debbugs.gnu.org \
--cc=elaexuotee@wilsonb.com \
/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).