[Bug 282462] port japanese/ibus-anthy unconfigurable with Python 3.11+
Date: Fri, 01 Nov 2024 04:17:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282462
Bug ID: 282462
Summary: port japanese/ibus-anthy unconfigurable with Python
3.11+
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: freebsd@breton.xyz
CC: CQG00620@nifty.ne.jp
Flags: maintainer-feedback?(CQG00620@nifty.ne.jp)
CC: CQG00620@nifty.ne.jp
Python 3.11 is now the default for FreeBSD 13/14/15 on most architectures.
Trying to open the ibus-anthy configuration tool through ibus-setup results in
the following error:
Traceback (most recent call last):
File "/usr/local/share/ibus-anthy/setup/main.py", line 1703, in <module>
AnthySetup().run()
^^^^^^^^^^^^
File "/usr/local/share/ibus-anthy/setup/main.py", line 79, in __init__
gettext.bind_textdomain_codeset(DOMAINNAME, 'UTF-8')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'gettext' has no attribute 'bind_textdomain_codeset'
bind_textdomain_codeset was deprecated since Python 3.8 and is now removed.
Removing the function call that throws the error allows the configuration tool
to launch normally.
This was fixed upstream:
https://github.com/ibus/ibus-anthy/commit/c744be610dff270f1c0f0367f809b9df95aeea2d
--
You are receiving this mail because:
You are the assignee for the bug.