Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2025 13:28:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 282990] graphics/mypaint : AttributeError: module 'gettext' has no attribute 'bind_textdomain_codeset'
Message-ID:  <bug-282990-7788-DX4cs8Kus3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-282990-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-282990-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282990

rdunkle@smallcatbrain.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rdunkle@smallcatbrain.com

--- Comment #1 from rdunkle@smallcatbrain.com ---
File "/usr/local/lib/mypaint/lib/gettext_setup.py", line 192, in init_gette=
xt
    c =3D gettext.bind_textdomain_codeset(dom, codeset)

python 3.11 no longer has this function--> gettext.bind_textdomain_codeset(=
dom,
codeset)

to get the program to run comment out and return null values:
line 191:

#        p =3D gettext.bindtextdomain(dom, path)
        p =3D ""
        c =3D ""
#       c =3D gettext.bind_textdomain_codeset(dom, codeset)

The python will then use the system locale.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282990-7788-DX4cs8Kus3>