You are not logged in.

#1 2010-01-11 21:38:02

sfbi
Member
From: Bergen
Registered: 2008-03-13
Posts: 36

[solved] deluge does not work after today's update

Here is the error message sad

[ERROR   ] 22:28:39 config:424 Error backing up old config..
[ERROR   ] 22:28:39 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   ] 22:28:39 ui:147 There was an error whilst launching the request UI: gtk
[ERROR   ] 22:28:39 ui:148 Look at the traceback above for more information.

Same error message occurs if I delete the ~/.config/deluge directory.

Last edited by sfbi (2010-01-11 22:39:22)

Offline

#2 2010-01-11 21:47:26

nebuchad
Member
Registered: 2010-01-11
Posts: 1

Re: [solved] deluge does not work after today's update

I have manually installed 'python-chardet'. Now Deluge runs again.
This package seems to be a new dependency.

Nebuchad

Last edited by nebuchad (2010-01-11 21:48:45)

Offline

#3 2010-01-11 22:38:55

sfbi
Member
From: Bergen
Registered: 2008-03-13
Posts: 36

Re: [solved] deluge does not work after today's update

Thanks. It works smile

Offline

#4 2010-01-12 04:58:26

yannickkiekens
Member
Registered: 2010-01-12
Posts: 4

Re: [solved] deluge does not work after today's update

pacman listed it as an optional dependency

pygtk is optional as well, but you really need it

Offline

#5 2010-01-13 23:29:35

scragar
Member
Registered: 2009-07-14
Posts: 108

Re: [solved] deluge does not work after today's update

yannickkiekens wrote:

pacman listed it as an optional dependency

pygtk is optional as well, but you really need it

Not true actually, you can run the deamon yourself without installing chardet or the pygtk packages, it's just that the interface does need them. The question is why deluge hasn't been split into deluge and deluge-deamon already to fix this dependency nightmare.

Offline

#6 2010-01-13 23:47:44

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [solved] deluge does not work after today's update

scragar wrote:

The question is why deluge hasn't been split into deluge and deluge-deamon already to fix this dependency nightmare.

because there is not KISS way to do it. to split deluge in deluged, deluge-gtk and deluge-web i have to cp,mv stuff around and its not KISS. if upstream is providing a clean way, i'm happy to do it.

also patches welcomed. smile

Last edited by wonder (2010-01-14 00:21:54)


Give what you have. To someone, it may be better than you dare to think.

Offline

#7 2010-01-14 04:46:53

azul
Member
From: New York
Registered: 2009-06-20
Posts: 5

Re: [solved] deluge does not work after today's update

Thanks for the fix!

Offline

#8 2010-01-14 20:48:39

scragar
Member
Registered: 2009-07-14
Posts: 108

Re: [solved] deluge does not work after today's update

wonder wrote:
scragar wrote:

The question is why deluge hasn't been split into deluge and deluge-deamon already to fix this dependency nightmare.

because there is not KISS way to do it. to split deluge in deluged, deluge-gtk and deluge-web i have to cp,mv stuff around and its not KISS. if upstream is providing a clean way, i'm happy to do it.

also patches welcomed. smile

Oh, OK. I thought the source would include some different build options for what you wanted or something, I've never actually built deluge from source, I'll have a look though, might be something simple I can do to help.

Offline

Board footer

Powered by FluxBB