[Bug 282990] graphics/mypaint : AttributeError: module 'gettext' has no attribute 'bind_textdomain_codeset'

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 26 Nov 2024 22:10:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282990

            Bug ID: 282990
           Summary: graphics/mypaint : AttributeError: module 'gettext'
                    has no attribute 'bind_textdomain_codeset'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: freebsd@sysctl.cz

Hi,
I tried to run mypaint and he has a problem with:

maxfx@hades /u/p/g/m/w/s/u/l/bin (main)> ./mypaint
INFO: mypaint: Installation layout: conventional POSIX-like structure with
prefix '/usr/ports/graphics/mypaint/work/stage/usr/local'
WARNING: gui.userconfig: Failed to load settings file:
/home/maxfx/.config/mypaint/settings.json
WARNING: gui.userconfig: Failed to load settings: using defaults
INFO: gui.main: No locale setting found, using system locale
INFO: lib.i18n: POSIX: LANG='C.UTF-8'
INFO: lib.i18n: POSIX: LANGUAGE=None
Traceback (most recent call last):
  File "/usr/ports/graphics/mypaint/work/stage/usr/local/bin/./mypaint", line
309, in <module>
    main.main(
  File
"/usr/ports/graphics/mypaint/work/stage/usr/local/lib/mypaint/gui/main.py",
line 231, in main
    run()
  File
"/usr/ports/graphics/mypaint/work/stage/usr/local/lib/mypaint/gui/main.py",
line 184, in run
    init_gettext(localepath)
  File
"/usr/ports/graphics/mypaint/work/stage/usr/local/lib/mypaint/lib/gettext_setup.py",
line 192, in init_gettext
    c = gettext.bind_textdomain_codeset(dom, codeset)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'gettext' has no attribute 'bind_textdomain_codeset'

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