Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#192 closed bug (WorksForMe)

deluged 0.6 crashes with python error

Reported by: Owned by: andar
Priority: major Milestone:
Component: Core Version: svn
Keywords: gentoo, python Cc:


Deluged doesn't seem to like starting at times. If I first turn the computer on, it seems to load the daemon ok. But if I shut the daemon down and then start it again, I get this python error:

[DEBUG   ] torrent:542 Attempting to save torrent file: heroes.torrent
[DEBUG   ] pluginmanager:147 run_post_session_load
Traceback (most recent call last):
  File "/usr/bin/deluged", line 7, in ?
  File "/usr/lib/python2.4/site-packages/deluge/", line 101, in start_daemon
    Daemon(options, args)
  File "/usr/lib/python2.4/site-packages/deluge/core/", line 44, in __init__
    self.core = Core(options.port).run()
  File "/usr/lib/python2.4/site-packages/deluge/core/", line 252, in run
  File "/usr/lib/python2.4/site-packages/deluge/", line 194, in start
  File "/usr/lib/python2.4/site-packages/deluge/", line 114, in start
  File "/usr/lib/python2.4/site-packages/deluge/", line 121, in start_component
  File "/usr/lib/python2.4/site-packages/deluge/", line 126, in start_component
  File "/usr/lib/python2.4/site-packages/deluge/core/", line 150, in start
  File "/usr/lib/python2.4/site-packages/deluge/core/", line 532, in load_state
KeyError: 'dcd81b918cfc6ddfd150025b7271f3c8bb4446b4'

This is when clicking on start daemon in the webui but the same happens with the gtkui. I've got deluge 0.6 running fine on my ubuntu hardy computer but not on my gentoo computer. Is it because I'm using python-2.4 on gentoo?

Change History (6)

comment:1 Changed 16 years ago by

Updated to python2.5 and I get the same error....I don't seem to have this problem with ubuntu but then again, I didn't compile it myself on ubuntu.

comment:2 Changed 16 years ago by anonymous

  • Keywords 2.4 removed

comment:3 Changed 16 years ago by andar

Try deleting your torrents.state file and see if it helps.

It's located ~/.config/deluge/torrents.state

comment:4 Changed 16 years ago by durand

Thanks, that did the trick! ...though i got a feeling that it will come back.

comment:5 Changed 16 years ago by andar

  • Resolution set to worksforme
  • Status changed from new to closed

comment:6 Changed 16 years ago by anonymous

  • Milestone 0.6.0 deleted

Milestone 0.6.0 deleted

Note: See TracTickets for help on using tickets.