Page 1 of 1

Deluge doesn't start anymore!

Posted: Wed Mar 05, 2008 3:32 pm
by furk
furk@furk-desktop:~$ deluge
checking for ubuntu...
found and fixing ubuntu
furk@furk-desktop:~$ checking for ubuntu...
no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG.
Applying preferences
Pickling state...
Scanning plugin dir /usr/share/deluge/plugins
Initialising plugin MoveTorrent
Initialising plugin FlexRSS
Initialising plugin TorrentPeers
Initialising plugin Search
Initialising plugin NetworkHealth
Initialising plugin Scheduler
Traceback (most recent call last):
File "/usr/bin/deluge", line 145, in <module>
start_deluge()
File "/usr/bin/deluge", line 128, in start_deluge
interface = deluge.interface.DelugeGTK()
File "/var/lib/python-support/python2.5/deluge/interface.py", line 60, in __init__
self.plugins.scan_for_plugins()
File "/var/lib/python-support/python2.5/deluge/plugins.py", line 61, in scan_for_plugins
mod = __import__(modname, globals(), locals(), [''])
File "/usr/share/deluge/plugins/WebUi/__init__.py", line 53, in <module>
import webserver_common
File "/usr/share/deluge/plugins/WebUi/webserver_common.py", line 44, in <module>
from lib.webpy022 import template
File "/usr/share/deluge/plugins/WebUi/lib/webpy022/__init__.py", line 14, in <module>
import utils, db, net, wsgi, http, webapi, request, httpserver, debugerror
File "/usr/share/deluge/plugins/WebUi/lib/webpy022/db.py", line 26, in <module>
import webapi as web
File "/usr/share/deluge/plugins/WebUi/lib/webpy022/webapi.py", line 17, in <module>
import sys, os, cgi, threading, Cookie, pprint, traceback
File "/usr/lib/python2.5/cgi.py", line 41, in <module>
import mimetools
File "/usr/lib/python2.5/mimetools.py", line 11, in <module>
class Message(rfc822.Message):
AttributeError: 'module' object has no attribute 'Message'
Version 0.5.8.5-1 x64 system on ubuntu linux.

It's been working before...then i had to do an unclean reboot and that's it... :?:

Already tried to delete .config directory and .state files, doesn't solve.

Any help?

Re: Deluge doesn't start anymore!

Posted: Wed Mar 05, 2008 6:28 pm
by mvoncken
quick workaround : remove the webui plugin directory.

Longer answer:
looks like your python 2.5 is broken.
to test :

go to a console, type python.
at the pyhton prompt >>>import mimetools
if this raises an error your python2.5 is broken, and you should ask for help at the ubuntu sites/channels.

Re: Deluge doesn't start anymore!

Posted: Wed Mar 05, 2008 11:12 pm
by furk
Tryed the quick workaround and nothing changes.

With the pyton one, i get this error

Code: Select all

>>> import mimetools
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/mimetools.py", line 11, in <module>
    class Message(rfc822.Message):
AttributeError: 'module' object has no attribute 'Message'
>>> 
:roll:

Re: Deluge doesn't start anymore!

Posted: Thu Mar 06, 2008 2:27 am
by johnnyg
furk wrote:Tryed the quick workaround and nothing changes.

With the pyton one, i get this error

Code: Select all

>>> import mimetools
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/mimetools.py", line 11, in <module>
    class Message(rfc822.Message):
AttributeError: 'module' object has no attribute 'Message'
>>> 
:roll:
yep, looks like your python is broken.

try reinstalling it.

Re: Deluge doesn't start anymore!

Posted: Thu Mar 06, 2008 9:44 am
by furk
Fixed. :D

All was due to the unclean shutdown that caused some troubles and inconsistency in file system.

Forcing an fsck solved all.

Thank's mate. :mrgreen: