I found this ticket because I encountered the same error on Debian Bookworm, and google only lead me here. The solution is for package maintainers to bump the deluge version from 2.0.3 to 2.0.4. If you check deluge/i18n/util.py:111, between those versions this line changes, because the gettext.bind_textdomain_codeset function was removed starting with python 3.10. (https://docs.python.org/3.8/library/gettext.html#gettext.bind_textdomain_codeset)
I found this ticket because I encountered the same error on Debian Bookworm, and google only lead me here. The solution is for package maintainers to bump the deluge version from 2.0.3 to 2.0.4. If you check deluge/ i18n/util. py:111, between those versions this line changes, because the gettext. bind_textdomain _codeset function was removed starting with python 3.10. (https:/ /docs.python. org/3.8/ library/ gettext. html#gettext. bind_textdomain _codeset)