Deluged 1.1.0 crashes on startup

General support for problems installing or using Deluge
Post Reply
can3p

Deluged 1.1.0 crashes on startup

Post by can3p »

Ubuntu 8.10, package from the site.

When I start deluged, I get following:

Code: Select all

$ deluged -d
Traceback (most recent call last):
  File "/usr/bin/deluged", line 8, in <module>
    load_entry_point('deluge==1.1.0', 'console_scripts', 'deluged')()
  File "/var/lib/python-support/python2.5/deluge/main.py", line 213, in start_daemon
    Daemon(options, args)
  File "/var/lib/python-support/python2.5/deluge/core/daemon.py", line 44, in __init__
    self.core = Core(options.port).run()
  File "/var/lib/python-support/python2.5/deluge/core/core.py", line 223, in run
    component.start()
  File "/var/lib/python-support/python2.5/deluge/component.py", line 186, in start
    _ComponentRegistry.start()
  File "/var/lib/python-support/python2.5/deluge/component.py", line 106, in start
    self.start_component(component)
  File "/var/lib/python-support/python2.5/deluge/component.py", line 113, in start_component
    self.start_component(depend)
  File "/var/lib/python-support/python2.5/deluge/component.py", line 118, in start_component
    self.components[name].start()
  File "/var/lib/python-support/python2.5/deluge/core/torrentmanager.py", line 176, in start
    deluge.core.oldstateupgrader.OldStateUpgrader()
  File "/var/lib/python-support/python2.5/deluge/core/oldstateupgrader.py", line 70, in __init__
    self.upgrade05()
  File "/var/lib/python-support/python2.5/deluge/core/oldstateupgrader.py", line 105, in upgrade05
    torrent_id=str(torrent_info.info_hash()),
UnboundLocalError: local variable 'torrent_info' referenced before assignment
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: Deluged 1.1.0 crashes on startup

Post by andar »

This has been fixed in svn. If you don't care about your old state, then you could delete your ~/.config/deluge/persistent.state file, but if you do, you may want to wait until 1.1.1 for the fix.
Post Reply