cannot start deluge

General support for problems installing or using Deluge
ddlfiles
New User
New User
Posts: 4
Joined: Tue Dec 29, 2009 7:21 pm

cannot start deluge

Post by ddlfiles »

it worked before , but now i cannot start it up.

Code: Select all

no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG.
Applying preferences
Raising error: libtorrent reports this is a duplicate torrent
Unable to add torrent:  'libtorrent reports this is a duplicate torrent'
Raising error: libtorrent reports this is a duplicate torrent
Scanning plugin dir /usr/share/deluge/plugins
Initialising plugin TorrentPeers
Initialising plugin Scheduler
Initialising plugin TorrentCreator
Initialising plugin DesiredRatio
Initialising plugin NetworkGraph
Initialising plugin FlexRSS
Initialising plugin TorrentFiles
Initialising plugin TorrentNotification
Initialising plugin EventLogging
Initialising plugin Search
Initialising plugin SpeedLimiter
Initialising plugin BlocklistImport
Initialising plugin WebUi
Initialising plugin WebSeed
Initialising plugin NetworkHealth
Initialising plugin MoveTorrent
Applying preferences
Starting DHT...
Traceback (most recent call last):
  File "/usr/bin/deluge", line 133, in <module>
    start_deluge()
  File "/usr/bin/deluge", line 116, in start_deluge
    interface = deluge.interface.DelugeGTK()
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 160, in __init__
    unique_ID = self.manager.get_torrent_unique_id(torrent)
  File "/var/lib/python-support/python2.5/deluge/core.py", line 548, in get_torrent_unique_id
    return self.state.torrents[torrent]
KeyError: <deluge.core.torrent_info instance at 0x851716c>
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: cannot start deluge

Post by johnnyg »

That looks like it's from the 0.5.x series, you should upgrade to 1.1.9 or wait a bit longer and upgrade to 1.2.
ddlfiles
New User
New User
Posts: 4
Joined: Tue Dec 29, 2009 7:21 pm

Re: cannot start deluge

Post by ddlfiles »

johnnyg wrote:That looks like it's from the 0.5.x series, you should upgrade to 1.1.9 or wait a bit longer and upgrade to 1.2.
what is the command to update , i am using ubuntu.
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: cannot start deluge

Post by johnnyg »

Check out: http://dev.deluge-torrent.org/wiki/Download
Easiest option for ubuntu would be to use the PPA.
ddlfiles
New User
New User
Posts: 4
Joined: Tue Dec 29, 2009 7:21 pm

Re: cannot start deluge

Post by ddlfiles »

i still cannot open tha app.
downloaded the last ver for the ubuntu pack , and downloaded the pythin pack.

now i get this error:

Code: Select all

no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG.
Applying preferences
Raising error: libtorrent reports this is a duplicate torrent
Unable to add torrent:  'libtorrent reports this is a duplicate torrent'
Raising error: libtorrent reports this is a duplicate torrent
Scanning plugin dir /usr/share/deluge/plugins
Initialising plugin TorrentPeers
Initialising plugin Scheduler
Initialising plugin TorrentCreator
Initialising plugin DesiredRatio
Initialising plugin NetworkGraph
Initialising plugin FlexRSS
Initialising plugin TorrentFiles
Initialising plugin TorrentNotification
Initialising plugin EventLogging
Initialising plugin Search
Initialising plugin SpeedLimiter
Initialising plugin BlocklistImport
Initialising plugin WebUi
Initialising plugin WebSeed
Initialising plugin NetworkHealth
Initialising plugin MoveTorrent
Applying preferences
Starting DHT...
Traceback (most recent call last):
  File "/usr/bin/deluge", line 133, in <module>
    start_deluge()
  File "/usr/bin/deluge", line 116, in start_deluge
    interface = deluge.interface.DelugeGTK()
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 108, in __init__
    self.apply_prefs()
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 916, in apply_prefs
    self.manager.apply_prefs()
  File "/var/lib/python-support/python2.5/deluge/core.py", line 1164, in apply_prefs
    self.prioritize_files(unique_ID, self.get_priorities(unique_ID))
  File "/var/lib/python-support/python2.5/deluge/core.py", line 814, in prioritize_files
    self.get_core_torrent_state(unique_ID)['num_files'])
AssertionError
loki
Moderator
Moderator
Posts: 787
Joined: Tue Dec 04, 2007 3:27 pm
Location: MI, USA

Re: cannot start deluge

Post by loki »

Doesn't Deluge require libtorrent 0.14+ from your error message it appears as though you have 0.13
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: cannot start deluge

Post by johnnyg »

It appears that you're still running the older version. Make sure you uninstall before installing the newer version (uninstalling won't remove your preferences).
ddlfiles
New User
New User
Posts: 4
Joined: Tue Dec 29, 2009 7:21 pm

Re: cannot start deluge

Post by ddlfiles »

ok , got the ppa thing..
but now other problem :\

Code: Select all

/var/lib/python-support/python2.5/deluge/core/core.py:502: DeprecationWarning: Use get_session_status().
  warnings.warn("Use get_session_status().", DeprecationWarning)
/var/lib/python-support/python2.5/deluge/core/core.py:508: DeprecationWarning: Use get_session_status().
  warnings.warn("Use get_session_status().", DeprecationWarning)
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/ui/gtkui/gtkui.py", line 225, in __init__
    reactor.run()
  File "/usr/lib/python2.5/site-packages/twisted/internet/gtk2reactor.py", line 175, in run
    self.__run()
  File "/usr/lib/python2.5/site-packages/twisted/internet/gtk2reactor.py", line 216, in simulate
    self.runUntilCurrent()
  File "/usr/lib/python2.5/site-packages/twisted/internet/base.py", line 561, in runUntilCurrent
    call.func(*call.args, **call.kw)
--- <exception caught here> ---
  File "/usr/lib/python2.5/site-packages/twisted/internet/base.py", line 414, in _continueSystemEvent
    callable(*args, **kw)
  File "/var/lib/python-support/python2.5/deluge/ui/gtkui/gtkui.py", line 291, in _on_reactor_start
    component.start()
  File "/var/lib/python-support/python2.5/deluge/component.py", line 193, in start
    _ComponentRegistry.start()
  File "/var/lib/python-support/python2.5/deluge/component.py", line 111, in start
    self.start_component(component)
  File "/var/lib/python-support/python2.5/deluge/component.py", line 118, in start_component
    self.start_component(depend)
  File "/var/lib/python-support/python2.5/deluge/component.py", line 124, in start_component
    self.components[name].start()
  File "/var/lib/python-support/python2.5/deluge/core/torrentmanager.py", line 203, in start
    self.load_state()
  File "/var/lib/python-support/python2.5/deluge/core/torrentmanager.py", line 579, in load_state
    resume_data=resume_data.get(torrent_state.torrent_id))
  File "/var/lib/python-support/python2.5/deluge/core/torrentmanager.py", line 366, in add
    self.legacy_delete_resume_data(state.torrent_id)
  File "/var/lib/python-support/python2.5/deluge/core/torrentmanager.py", line 301, in legacy_delete_resume_data
    path = os.path.join(self.config["state_location"],
  File "/var/lib/python-support/python2.5/deluge/config.py", line 232, in __getitem__
    return self.get_item(key)
  File "/var/lib/python-support/python2.5/deluge/config.py", line 250, in get_item
    return self.__config[key]
exceptions.KeyError: 'state_location'
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: cannot start deluge

Post by andar »

ddlfiles wrote:ok , got the ppa thing..
but now other problem :\

Code: Select all

/var/lib/python-support/python2.5/deluge/core/core.py:502: DeprecationWarning: Use get_session_status().
  warnings.warn("Use get_session_status().", DeprecationWarning)
/var/lib/python-support/python2.5/deluge/core/core.py:508: DeprecationWarning: Use get_session_status().
  warnings.warn("Use get_session_status().", DeprecationWarning)
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/ui/gtkui/gtkui.py", line 225, in __init__
    reactor.run()
  File "/usr/lib/python2.5/site-packages/twisted/internet/gtk2reactor.py", line 175, in run
    self.__run()
  File "/usr/lib/python2.5/site-packages/twisted/internet/gtk2reactor.py", line 216, in simulate
    self.runUntilCurrent()
  File "/usr/lib/python2.5/site-packages/twisted/internet/base.py", line 561, in runUntilCurrent
    call.func(*call.args, **call.kw)
--- <exception caught here> ---
  File "/usr/lib/python2.5/site-packages/twisted/internet/base.py", line 414, in _continueSystemEvent
    callable(*args, **kw)
  File "/var/lib/python-support/python2.5/deluge/ui/gtkui/gtkui.py", line 291, in _on_reactor_start
    component.start()
  File "/var/lib/python-support/python2.5/deluge/component.py", line 193, in start
    _ComponentRegistry.start()
  File "/var/lib/python-support/python2.5/deluge/component.py", line 111, in start
    self.start_component(component)
  File "/var/lib/python-support/python2.5/deluge/component.py", line 118, in start_component
    self.start_component(depend)
  File "/var/lib/python-support/python2.5/deluge/component.py", line 124, in start_component
    self.components[name].start()
  File "/var/lib/python-support/python2.5/deluge/core/torrentmanager.py", line 203, in start
    self.load_state()
  File "/var/lib/python-support/python2.5/deluge/core/torrentmanager.py", line 579, in load_state
    resume_data=resume_data.get(torrent_state.torrent_id))
  File "/var/lib/python-support/python2.5/deluge/core/torrentmanager.py", line 366, in add
    self.legacy_delete_resume_data(state.torrent_id)
  File "/var/lib/python-support/python2.5/deluge/core/torrentmanager.py", line 301, in legacy_delete_resume_data
    path = os.path.join(self.config["state_location"],
  File "/var/lib/python-support/python2.5/deluge/config.py", line 232, in __getitem__
    return self.get_item(key)
  File "/var/lib/python-support/python2.5/deluge/config.py", line 250, in get_item
    return self.__config[key]
exceptions.KeyError: 'state_location'
I thought this bug was fixed.. What version are you using?
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: cannot start deluge

Post by Cas »

What version of Ubuntu?

What command are you running to get that error?

What version do you get if you type:

Code: Select all

deluged --v 
Install apt-show-versions and it can also show what versions you have:

Code: Select all

apt-show-versions -R "deluge*"
Post Reply