Bug 256484 - net-p2p/deluge-cli: deluge_web fails to start after update to python38
Summary: net-p2p/deluge-cli: deluge_web fails to start after update to python38
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ruslan Makhmatkhanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-08 17:03 UTC by jordy
Modified: 2021-06-08 17:03 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (rm)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jordy 2021-06-08 17:03:05 UTC
Error:

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

Solution:
https://dev.deluge-torrent.org/ticket/3342

Patch:
https://dev.deluge-torrent.org/changeset/d6c96d629183e8bab

For some reason this patch is not in their latest release.