hamster
hamster copied to clipboard
Doesn't work with Python 3.11 due to removed API
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'
The mentioned line is removed in Python 3.11 (or 3.10 in fact), and removing it from the code fixes the problem.