ngettext issue with deluge-web and deluge-console

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

Bug Description

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

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_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:
https://git.deluge-torrent.org/deluge/commit/?h=develop&id=d6c96d629183e8bab2167ef56457f994017e7c85

And here's a forum thread discussing the topic:
https://forum.deluge-torrent.org/viewtopic.php?t=55673

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