Error: Starting deluge_web. Unable to initialize gettext/locale! 'ngettext' Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/deluge/i18n/util.py", line 118, in setup_translation builtins.__dict__['_n'] = builtins.__dict__['ngettext'] KeyError: 'ngettext' Solution: https://dev.deluge-torrent.org/ticket/3342 Patch: https://dev.deluge-torrent.org/changeset/d6c96d629183e8bab For some reason this patch is not in their latest release.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=d799d45298dd6722721e8cd9a6ab66de3afa0ea7 commit d799d45298dd6722721e8cd9a6ab66de3afa0ea7 Author: Ruslan Makhmatkhanov <rm@FreeBSD.org> AuthorDate: 2021-06-16 08:13:39 +0000 Commit: Ruslan Makhmatkhanov <rm@FreeBSD.org> CommitDate: 2021-06-16 08:13:39 +0000 net-p2p/deluge-cli: fix runtime of deluge-web Add upstream patch to fix runtime of deluge-web with python3.8 PR: 256484 Reported by: jordy@jvwdev.nl net-p2p/deluge-cli/files/patch-deluge_i18n_util.py (new) | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
Committed, thank you!