ngettext issue with deluge-web and deluge-console

Bug #1909320 reported by Myles Markevich
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
deluge (Ubuntu)
Confirmed
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)
tags: removed: regression-update
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.