Package: deluge-common
Version: 2.0.3-3
Severity: minor
Tags: patch

Dear Maintainer,

Running deluge-web --fork leads to the following message

Unable to initialize gettext/locale!
'ngettext'
Traceback (most recent call last):
 File "/usr/lib/python3/dist-packages/deluge/i18n/util.py", line 118, in 
setup_translation
   builtins.__dict__['_n'] = builtins.__dict__['ngettext']
KeyError: 'ngettext'

It's only a warning.
Solution is very simple and is here:
https://git.deluge-torrent.org/deluge/commit/?h=develop&id=d6c96d629183e8bab2167ef56457f994017e7c85

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-4-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to fr_FR.UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages deluge-common depends on:
ii  python3                 3.9.2-2
ii  python3-chardet         4.0.0-1
ii  python3-mako            1.1.3+ds1-2
ii  python3-openssl         20.0.1-1
ii  python3-pil             8.1.2-1
ii  python3-pkg-resources   52.0.0-3
ii  python3-pyasn1          0.4.8-1
ii  python3-rencode         1.0.6-1+b3
ii  python3-setproctitle    1.2.1-1+b1
ii  python3-six             1.15.0-2
ii  python3-twisted         20.3.0-4
ii  python3-xdg             0.27-2
ii  python3-zope.interface  5.2.0-1

Versions of packages deluge-common recommends:
ii  geoip-database  20191224-3
ii  python3-dbus    1.2.16-5
ii  python3-geoip   1.3.2-3+b3

deluge-common suggests no packages.

-- no debconf information

Reply via email to