Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tool not starting with newer pthon versions #726

Closed
ma-adrian opened this issue Jul 3, 2023 · 1 comment
Closed

Tool not starting with newer pthon versions #726

ma-adrian opened this issue Jul 3, 2023 · 1 comment

Comments

@ma-adrian
Copy link

ma-adrian commented Jul 3, 2023

Hi, the tool is not starting with newer python versions because bind_textdomain_codeset was removed from i18n:

~ >>> hamster                                                                   

(hamster:3525): Gtk-WARNING **: 09:02:59.518: Theme parsing error: gtk.css:2:19: 'solid' is not a valid color name
Traceback (most recent call last):
  File "/usr/bin/hamster", line 415, in <module>
    i18n.setup_i18n()
  File "/usr/lib/python3.11/site-packages/hamster/lib/i18n.py", line 24, in setup_i18n
    module.bind_textdomain_codeset('hamster','utf8')
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'gettext' has no attribute 'bind_textdomain_codeset'
@mwilck
Copy link
Contributor

mwilck commented Jul 3, 2023

This is fixed in current master (b155ad5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants