deluge-windscribe icon indicating copy to clipboard operation
deluge-windscribe copied to clipboard

Known Issue - Deluge locale

Open Kabe0 opened this issue 4 years ago • 3 comments

Upgrading to Ubuntu 20.04 which reduces it's size quit significantly, however the deluge service throws a locale error when it runs.

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'

This is not a real error (apparently) deluge team just has to get around to fixing it. It does not effect the service itself but is quite annoying

https://forum.deluge-torrent.org/viewtopic.php?t=55673

Kabe0 avatar Jan 20 '21 16:01 Kabe0

Upgrading to Ubuntu 20.04 which reduces it's size quit significantly, however the deluge service throws a locale error when it runs.

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'

This is not a real error (apparently) deluge team just has to get around to fixing it. It does not effect the service itself but is quite annoying

https://forum.deluge-torrent.org/viewtopic.php?t=55673

same issue here

ronioncloud avatar Feb 12 '21 14:02 ronioncloud

Hi,

I have the same issue. I tried to fixe with deluge forum topic but i can't resolve the problem.

Initializing Container, Using VPN_USERNAME and VPN_PASSWORD to login., Starting windscribe ... OK, Settings location to best, Initializing Deluge, Configuring firewall settings, Setting UID to 1000, usermod: no changes, Setting GID to 1000, Deluged Init, 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', STARTING TINYPROXY, Found config file /etc/tinyproxy/tinyproxy.conf, updating settings., Setting tinyproxy port to 8888, tinyproxy is on the PATH, run it, Tinyproxy startup script complete.,

louis6999 avatar Mar 05 '21 10:03 louis6999

The deluge locale error itself does not in anyway actually effect the performance or function of deluge. It's something the deluge team will have to address in the future.

Kabe0 avatar Mar 05 '21 14:03 Kabe0