FS#18084 - [deluge] has a missing dependency on [python-chardet]

Attached to Project: Arch Linux
Opened by Devin Cofer (Ranguvar) - Sunday, 31 January 2010, 09:38 GMT
Last edited by Ionut Biru (wonder) - Sunday, 31 January 2010, 10:15 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When deluge is run without the python-chardet package installed, Deluge does not start, and the following is displayed as output:

[ERROR ] 04:34:30 ui:146 No module named chardet
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/deluge/ui/ui.py", line 127, in __init__
from deluge.ui.gtkui.gtkui import GtkUI
File "/usr/lib/python2.6/site-packages/deluge/ui/gtkui/__init__.py", line 1, in <module>
from gtkui import start
File "/usr/lib/python2.6/site-packages/deluge/ui/gtkui/gtkui.py", line 79, in <module>
from connectionmanager import ConnectionManager
File "/usr/lib/python2.6/site-packages/deluge/ui/gtkui/connectionmanager.py", line 49, in <module>
import deluge.ui.common
File "/usr/lib/python2.6/site-packages/deluge/ui/common.py", line 45, in <module>
import chardet
ImportError: No module named chardet
[ERROR ] 04:34:30 ui:147 There was an error whilst launching the request UI: gtk
[ERROR ] 04:34:30 ui:148 Look at the traceback above for more information.

Installing the python-chardet package fixes the problem.
This task depends upon

Closed by  Ionut Biru (wonder)
Sunday, 31 January 2010, 10:15 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#17865 
Comment by Devin Cofer (Ranguvar) - Sunday, 31 January 2010, 09:41 GMT
Sorry, turns out this is already an optdep because Deluge is not a GUI-only client.

Given that the vast majority of users will be wanting to use the GUI of Deluge, though, perhaps it should still be made a full dep?
I would normally lean towards not doing that, but given that python-chardet A.) Isn't very typically installed, B.) Is about 1MiB, and C.) Does not depend on anything but (obviously) Python, I think making it a full dep is worthy of consideration.

Loading...