deluge crashes on start with KeyError: 'ngettext'

Bug #1881076 reported by Francesco
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
deluge (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Deluge crashes on startup, giving the output:

[frapox@tungsteno ~]$ deluge
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'

according to this post of the upstream the fix is altready done and could be backported from development branch:
https://forum.deluge-torrent.org/viewtopic.php?f=7&t=55673&sid=a323646bbfb243207bcdaa15ab546827

Info about my system:

[frapox@tungsteno ~]$ lsb_release -rd
Description: Ubuntu 20.04 LTS
Release: 20.04

[frapox@tungsteno ~]$ apt-cache policy deluge
deluge:
  Installato: 2.0.3-2
  Candidato: 2.0.3-2
  Tabella versione:
 *** 2.0.3-2 500
        500 http://ubuntu.mirror.garr.it/ubuntu focal/universe amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: deluge 2.0.3-2
ProcVersionSignature: Ubuntu 5.4.0-33.37-generic 5.4.34
Uname: Linux 5.4.0-33-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Thu May 28 08:57:06 2020
PackageArchitecture: all
SourcePackage: deluge
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Francesco (frapox) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in deluge (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.