[0.5.2, resolved] Startup Error

General support for problems installing or using Deluge
Post Reply
codergeek42

[0.5.2, resolved] Startup Error

Post by codergeek42 »

Hello; I built 0.5.2 this morning as an RPM (this time, no patches and using the internal libtorrent sources) and after installing it tried to run it to test, but when I do it crashes:

Code: Select all

$ deluge
no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG value: 1
Applying preferences
/usr/lib64/python2.5/site-packages/deluge/core.py:782: DeprecationWarning: integer argument expected, got float
  PREF_FUNCTIONS[pref](self.get_pref(pref))
Traceback (most recent call last):
  File "/usr/bin/deluge", line 93, in <module>
    start_deluge()
  File "/usr/bin/deluge", line 67, in start_deluge
    interface = deluge.interface.DelugeGTK()
  File "/usr/lib64/python2.5/site-packages/deluge/interface.py", line 59, in __init__
    '%s %s'%(common.PROGRAM_NAME, common.PROGRAM_VERSION), common.CONFIG_DIR)
  File "/usr/lib64/python2.5/site-packages/deluge/core.py", line 224, in __init__
    self.state = pickle.load(pkl_file)
  File "/usr/lib64/python2.5/pickle.py", line 1370, in load
    return Unpickler(file).load()
  File "/usr/lib64/python2.5/pickle.py", line 858, in load
    dispatch[key](self)
  File "/usr/lib64/python2.5/pickle.py", line 1069, in load_inst
    klass = self.find_class(module, name)
  File "/usr/lib64/python2.5/pickle.py", line 1124, in find_class
    __import__(module)
ImportError: No module named deluge
On the other hand, the module seems to exist properly from a rudimentary python invocation:

Code: Select all

]$ python
Python 2.5.1 (r251:54863, Jun 27 2007, 11:06:53) 
[GCC 4.1.2 20070626 (Red Hat 4.1.2-14)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import deluge
>>> dir(deluge)
['__builtins__', '__doc__', '__file__', '__name__', '__path__']
>>> help(deluge)
>>> print deluge.__name__
deluge
>>> print deluge.__path__
['/usr/lib64/python2.5/site-packages/deluge']
Is there something I've misconfigured somewhere? Thanks.
Last edited by codergeek42 on Mon Jul 09, 2007 5:14 am, edited 1 time in total.
codergeek42

Re: [0.5.2] Startup Error

Post by codergeek42 »

Ack; I removed my ~/.config/deluge directory and it works again.

Sorry for the spam... T_T
User avatar
zachtib
Leecher
Leecher
Posts: 97
Joined: Thu May 24, 2007 3:26 pm
Location: Louisville, KY
Contact:

Re: [0.5.2] Startup Error

Post by zachtib »

codergeek42 wrote:Ack; I removed my ~/.config/deluge directory and it works again.

Sorry for the spam... T_T
If you want to, send me the RPMs and I'll put them on our new download page
Former Deluge Developer
Post Reply