Page 1 of 1

problems compiling.. i guess

Posted: Tue Jun 05, 2007 10:10 am
by asymmetric
hi!

i'm kind of a newbie at compiling (especially python stuff), and i may have made some mistakes..

i compiled the app just fine, then typed

Code: Select all

sudo python setup.py install
(because otherwise i'd get an error about permissions of accessing the /usr/ folder), and everything seemed to go smoothly..

but when i tried to execute deluge, i got this error:

Code: Select all

lrnz@c0de:~/downloads/deluge-0.5.0.90.2$ deluge
no existing Deluge session
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG value: 1
Applying preferences
Traceback (most recent call last):
  File "/usr/bin/deluge", line 63, in <module>
    interface = deluge.interface.DelugeGTK()
  File "/usr/lib/python2.5/site-packages/deluge/interface.py", line 105, in __init__
    '%s %s'%(common.PROGRAM_NAME, common.PROGRAM_VERSION), common.CONFIG_DIR)
  File "/usr/lib/python2.5/site-packages/deluge/core.py", line 233, in __init__
    self.state = pickle.load(pkl_file)
  File "/usr/lib/python2.5/pickle.py", line 1370, in load
    return Unpickler(file).load()
  File "/usr/lib/python2.5/pickle.py", line 858, in load
    dispatch[key](self)
  File "/usr/lib/python2.5/pickle.py", line 1069, in load_inst
    klass = self.find_class(module, name)
  File "/usr/lib/python2.5/pickle.py", line 1124, in find_class
    __import__(module)
ImportError: No module named deluge
now, i would like to fix the problem or, as an alternative, completely remove the installation (possibly not by hand :) )

is there a way to do any of the above?

thanks ;)
asy

Re: problems compiling.. i guess

Posted: Tue Jun 05, 2007 12:55 pm
by zachtib
did you try to upgrade from 0.5.0 to the 0.5.1 beta?

if so, you need to remove the file ~/.config/deluge/persistent.state

Re: problems compiling.. i guess

Posted: Tue Jun 12, 2007 6:26 pm
by asymmetric
thanks, it worked :)