GNU bug report logs -
#64941
ModuleNotFoundError in ibus-anthy
Previous Next
Reported by: elaexuotee <at> wilsonb.com
Date: Sun, 30 Jul 2023 03:39:02 UTC
Severity: normal
Done: 宋文武 <iyzsong <at> envs.net>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 64941 <at> debbugs.gnu.org (full text, mbox):
Some headway: It looks like anthyprefs sits under a different directory than
the engine script:
$ guix shell --pure ibus ibus-anthy
$ ls $GUIX_ENVIRONMENT/share/ibus-anthy/setup/
__pycache__/ _config.py anthyprefs.py main.py prefs.py setup.ui
$ ls $GUIX_ENVIRONMENT/share/ibus-anthy/engine/
__pycache__/ _config.py default.xml engine.py factory.py jastring.py
kana.py main.py romaji.py segment.py tables.py thumb.py
Manually running the engine with a PYTHONPATH fixes the error:
$ PYTHONPATH=$GUIX_ENVIRONMENT/share/ibus-anthy/setup $GUIX_ENVIRONMENT/libexec/ibus-engine-anthy
However, starting ibus-daemon with PYTHONPATH doesn't do anything. I'm guessing
that the environment variable doesn't propagate to engine exec commands. Maybe
a problem in the ibus-engine-anthy wrapper script?
This bug report was last modified 1 year and 300 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.