Package: deluge-console Version: 2.0.3-4 Severity: important X-Debbugs-Cc: mrcul...@gmail.com
Hello, Running any command in deluge-console on bookworm results in a python exception being thrown: Unable to initialize gettext/locale! module 'gettext' has no attribute 'bind_textdomain_codeset' Traceback (most recent call last): File "/usr/lib/python3/dist-packages/deluge/i18n/util.py", line 111, in setup_translation gettext.bind_textdomain_codeset(I18N_DOMAIN, 'UTF-8') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'gettext' has no attribute 'bind_textdomain_codeset' 15:58:20 [ERROR ][deluge.i18n.util :146 ] Unable to initialize gettext/locale! 15:58:20 [ERROR ][deluge.i18n.util :147 ] module 'gettext' has no attribute 'bind_textdomain_codeset' Traceback (most recent call last): File "/usr/lib/python3/dist-packages/deluge/i18n/util.py", line 111, in setup_translation gettext.bind_textdomain_codeset(I18N_DOMAIN, 'UTF-8') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'gettext' has no attribute 'bind_textdomain_codeset' I believe the solution is for package maintainers to bump the deluge version from 2.0.3 to 2.0.4. If you check line 111 of deluge/i18n/util.py and compare between those two versions, this line changes, because the gettext.bind_textdomain_codeset function was removed starting with python 3.10, and bookworm uses 3.11. Also I'd imagine there are probably other issues that may be run into by depending on a version of deluge that's out of sync with the system's python version. (https://docs.python.org/3.8/library/gettext.html#gettext.bind_textdomain_codeset) Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these template lines *** -- System Information: Debian Release: 12.0 APT prefers testing-security APT policy: (500, 'testing-security'), (500, 'testing') Architecture: i386 (i686) Kernel: Linux 6.1.0-9-686-pae (SMP w/2 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages deluge-console depends on: ii deluge-common 2.0.3-4 ii python3 3.11.2-1+b1 ii python3-libtorrent 2.0.8-1+b1 deluge-console recommends no packages. deluge-console suggests no packages. -- no debconf information