Bug 1867427 - Deluge-console broken, python errors
Summary: Deluge-console broken, python errors
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: deluge
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michael Cronenworth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-10 00:45 UTC by Paul DeStefano
Modified: 2020-08-19 00:51 UTC (History)
3 users (show)

Fixed In Version: deluge-2.0.3-10.fc32
Clone Of:
Environment:
Last Closed: 2020-08-19 00:51:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Paul DeStefano 2020-08-10 00:45:23 UTC
Description of problem:
Deluge-console shows different python errors.

Version-Release number of selected component (if applicable):


How reproducible:
I cannot seem to fix it.  Don't know when this started, but could have always been there.

Steps to Reproduce:
1. deluge-console info


Actual results:
$ deluge-console info
Unable to initialize gettext/locale!
'ngettext'
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/deluge/i18n/util.py", line 118, in setup_translation
    builtins.__dict__['_n'] = builtins.__dict__['ngettext']
KeyError: 'ngettext'
[D]     0% Fedora-Workstation-Live-x86_64-32 7e0e6cfcd4e661a92be9fdb41b4483d1faeff0b9
    DL: 0 B (0 B) UL: 0 B (0 B) ETA: -

Also, when running console TUI, going to torrent 'details' produces many python errors and TUI is unusable.

Comment 1 Michael Cronenworth 2020-08-10 01:24:49 UTC
It's from Python 3.8 (Fedora 32+) and it's a harmless warning about trying to setup translations. Upstream has a fix for it that I will include in a future update, but you could apply it yourself if you want the warning to go away.

https://git.deluge-torrent.org/deluge/commit/?h=develop&id=d6c96d629183e8bab2167ef56457f994017e7c85

Comment 2 Fedora Update System 2020-08-10 01:36:07 UTC
FEDORA-2020-1c56533307 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-1c56533307

Comment 3 Fedora Update System 2020-08-11 14:28:05 UTC
FEDORA-2020-1c56533307 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-1c56533307`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-1c56533307

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2020-08-19 00:51:20 UTC
FEDORA-2020-1c56533307 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.