ngettext issue with deluge-web and deluge-console

Bug #1909320 reported by Myles Markevich on 2020-12-25
This bug affects 2 people
Affects Status Importance Assigned to Milestone
deluge (Ubuntu)

Bug Description

There is an issue with deluge-web and deluge-console that produces the following error:

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

This doesn't seem to be a really big deal for deluge-web but it makes deluge-console in particular really hard to use.

This bug has already been fixed in the deluge development branch. I would like to propose that we backport this fix to Ubuntu 20.04 to correct the errors that currently come up during normal use.

Here's the commit which fixes the problem:

And here's a forum thread discussing the topic:

Steve Langasek (vorlon) on 2020-12-25
tags: removed: regression-update
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  Edit
Everyone can see this information.

Other bug subscribers