Will Not Load: Invalid Torrent Handle Used

General support for problems installing or using Deluge
Post Reply
tonyr1988
New User
New User
Posts: 3
Joined: Wed Oct 10, 2007 2:49 pm

Will Not Load: Invalid Torrent Handle Used

Post by tonyr1988 »

I upgraded from Ubuntu Feisty to Gusty, and it had an older version of Deluge (don't remember the exact number). For some reason, anytime I added a torrent, it crashed. When reloaded, it didn't show the new torrent either. It notified me that there was a new version, so I came to the site, downloaded the proper *.deb, and installed it. Now, it won't load - it gets the general layout of the GTK window, and exits. Here's the output:
no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG.
Applying preferences
Pickling state...
Scanning plugin dir /usr/share/deluge/plugins
Initialising plugin TorrentNotification
Initialising plugin MoveTorrent
Initialising plugin Scheduler
Initialising plugin EventLogging
Initialising plugin NetworkGraph
Initialising plugin ExtraStats
Initialising plugin TorrentSearch
Initialising plugin DesiredRatio
Initialising plugin SimpleRSS
Initialising plugin TorrentPeers
Initialising plugin TorrentFiles
Initialising plugin BlocklistImport
Initialising plugin NetworkHealth
Initialising plugin SpeedLimiter
Initialising plugin TorrentCreator
Initialising plugin WebUi
Initialising plugin Locations
Initialising plugin WebSeed
Applying preferences
Showing window
Loading TorrentFiles plugin...
Loading TorrentPeers plugin...
Loading TorrentCreator plugin...
Loading TorrentNotification plugin...
terminate called after throwing an instance of 'libtorrent::invalid_handle'
what(): invalid torrent handle used
Aborted (core dumped)
markybob
Compulsive Poster
Compulsive Poster
Posts: 1230
Joined: Thu May 24, 2007 11:27 pm
Location: Chicago, IL, USA
Contact:

Re: Will Not Load: Invalid Torrent Handle Used

Post by markybob »

are you using the rc or final 0.5.6? rm ~/.config/deluge/persistent.state will fix it either way
waltherbans
Leecher
Leecher
Posts: 50
Joined: Thu Jun 28, 2007 6:36 pm

Re: Will Not Load: Invalid Torrent Handle Used

Post by waltherbans »

i have the same problem using deluge 0.5.6 on ubuntu gutsy. deluge 0.5.95 worked on my machine but since i've updated deluge it crashes on start.
rm ~/.config/deluge/persistent.state helps but when i add the same torrents as before deluge won't start next time (same error message).
bb10
Member
Member
Posts: 11
Joined: Thu Oct 25, 2007 1:32 pm

Re: Will Not Load: Invalid Torrent Handle Used

Post by bb10 »

same here on ubuntu 7.10
I had 5.5 installed, when I removed that and installed 5.6 final. It froze after a few minutes of usage and now it won't start giving me that same error.
johnpriest
New User
New User
Posts: 5
Joined: Thu Oct 25, 2007 5:53 pm

Re: Will Not Load: Invalid Torrent Handle Used

Post by johnpriest »

well same thing occurred for me and since the error comes up after loading the plugin Torrent Notification. I did the step mentioned here
rm ~/.config/deluge/persistent.state then i started deluge and disabled the plugin. Then readded my torrents and now it opens and closes just fine.
Hope that helps any of you all. ^^
studo
New User
New User
Posts: 3
Joined: Thu Oct 25, 2007 6:51 am

Re: Will Not Load: Invalid Torrent Handle Used

Post by studo »

Addon to the previous:
Your *.torrent files are in /home/<user>/.config/deluge/torrentfiles
So show hidden files, and click on... or copy
bb10
Member
Member
Posts: 11
Joined: Thu Oct 25, 2007 1:32 pm

Re: Will Not Load: Invalid Torrent Handle Used

Post by bb10 »

johnpriest wrote:well same thing occurred for me and since the error comes up after loading the plugin Torrent Notification. I did the step mentioned here
rm ~/.config/deluge/persistent.state then i started deluge and disabled the plugin. Then readded my torrents and now it opens and closes just fine.
Hope that helps any of you all. ^^
Still buggy for me after disabling that plugin. (and removing the config file of course)

Code: Select all

bb10@bb10-desktop:~$ deluge
no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG.
Applying preferences
Pickling state...
Scanning plugin dir /usr/share/deluge/plugins
Initialising plugin BlocklistImport
Initialising plugin TorrentPeers
Initialising plugin EventLogging
Initialising plugin TorrentFiles
Initialising plugin Scheduler
Initialising plugin SpeedLimiter
Initialising plugin SimpleRSS
Initialising plugin ExtraStats
Initialising plugin NetworkGraph
Initialising plugin TorrentSearch
Initialising plugin WebUi
Initialising plugin WebSeed
Initialising plugin Locations
Initialising plugin NetworkHealth
Initialising plugin AwnDeluge
Initialising plugin TorrentCreator
Initialising plugin DesiredRatio
Initialising plugin MoveTorrent
Initialising plugin TorrentNotification
Applying preferences
Starting DHT...
Loading TorrentPeers plugin...
Loading AwnDeluge plugin...
Loading Move Torrent plugin...
Loading ExtraStats plugin...
Loading TorrentFiles plugin...
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 1005, in update
    self.plugins.update_active_plugins()
  File "/var/lib/python-support/python2.5/deluge/plugins.py", line 111, in update_active_plugins
    plugin.update()
  File "/usr/share/deluge/plugins/AwnDeluge/plugin.py", line 34, in update
    awn.SetInfoByName("deluge",downRate + '-' + upRate)
  File "/var/lib/python-support/python2.5/dbus/proxies.py", line 135, in __call__
    **keywords)
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 603, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.25 was not provided by any .service files
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 1544, in window_state_event
    self.update()
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 1005, in update
    self.plugins.update_active_plugins()
  File "/var/lib/python-support/python2.5/deluge/plugins.py", line 111, in update_active_plugins
    plugin.update()
  File "/usr/share/deluge/plugins/AwnDeluge/plugin.py", line 34, in update
    awn.SetInfoByName("deluge",downRate + '-' + upRate)
  File "/var/lib/python-support/python2.5/dbus/proxies.py", line 135, in __call__
    **keywords)
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 603, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.25 was not provided by any .service files
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/plugins.py", line 111, in update_active_plugins
    plugin.update()
  File "/usr/share/deluge/plugins/AwnDeluge/plugin.py", line 34, in update
    awn.SetInfoByName("deluge",downRate + '-' + upRate)
  File "/var/lib/python-support/python2.5/dbus/proxies.py", line 135, in __call__
    **keywords)
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 603, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.25 was not provided by any .service files
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/plugins.py", line 111, in update_active_plugins
    plugin.update()
  File "/usr/share/deluge/plugins/AwnDeluge/plugin.py", line 34, in update
    awn.SetInfoByName("deluge",downRate + '-' + upRate)
  File "/var/lib/python-support/python2.5/dbus/proxies.py", line 135, in __call__
    **keywords)
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 603, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.25 was not provided by any .service files
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/plugins.py", line 111, in update_active_plugins
    plugin.update()
  File "/usr/share/deluge/plugins/AwnDeluge/plugin.py", line 34, in update
    awn.SetInfoByName("deluge",downRate + '-' + upRate)
  File "/var/lib/python-support/python2.5/dbus/proxies.py", line 135, in __call__
    **keywords)
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 603, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.25 was not provided by any .service files
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/plugins.py", line 111, in update_active_plugins
    plugin.update()
  File "/usr/share/deluge/plugins/AwnDeluge/plugin.py", line 34, in update
    awn.SetInfoByName("deluge",downRate + '-' + upRate)
  File "/var/lib/python-support/python2.5/dbus/proxies.py", line 135, in __call__
    **keywords)
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 603, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.25 was not provided by any .service files
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/plugins.py", line 111, in update_active_plugins
    plugin.update()
  File "/usr/share/deluge/plugins/AwnDeluge/plugin.py", line 34, in update
    awn.SetInfoByName("deluge",downRate + '-' + upRate)
  File "/var/lib/python-support/python2.5/dbus/proxies.py", line 135, in __call__
    **keywords)
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 603, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.25 was not provided by any .service files
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/dialogs.py", line 307, in plugin_toggled
    self.plugins.disable_plugin(plugin_name)
  File "/var/lib/python-support/python2.5/deluge/plugins.py", line 84, in disable_plugin
    plugin.unload()
  File "/usr/share/deluge/plugins/AwnDeluge/plugin.py", line 26, in unload
    awn.UnsetInfoByName("deluge")
  File "/var/lib/python-support/python2.5/dbus/proxies.py", line 135, in __call__
    **keywords)
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 603, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.25 was not provided by any .service files
Applying preferences
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 511, in tray_clicked
    self.update()
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 1005, in update
    self.plugins.update_active_plugins()
  File "/var/lib/python-support/python2.5/deluge/plugins.py", line 111, in update_active_plugins
    plugin.update()
  File "/usr/share/deluge/plugins/AwnDeluge/plugin.py", line 34, in update
    awn.SetInfoByName("deluge",downRate + '-' + upRate)
  File "/var/lib/python-support/python2.5/dbus/proxies.py", line 135, in __call__
    **keywords)
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 603, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.25 was not provided by any .service files
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 1568, in quit
    self.shutdown()
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 1588, in shutdown
    self.plugins.shutdown_all_plugins()
  File "/var/lib/python-support/python2.5/deluge/plugins.py", line 119, in shutdown_all_plugins
    self.disable_plugin(name)
  File "/var/lib/python-support/python2.5/deluge/plugins.py", line 84, in disable_plugin
    plugin.unload()
  File "/usr/share/deluge/plugins/AwnDeluge/plugin.py", line 26, in unload
    awn.UnsetInfoByName("deluge")
  File "/var/lib/python-support/python2.5/dbus/proxies.py", line 135, in __call__
    **keywords)
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 603, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.25 was not provided by any .service files
bb10@bb10-desktop:~$ deluge
no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG.
Applying preferences
Pickling state...
Scanning plugin dir /usr/share/deluge/plugins
Initialising plugin BlocklistImport
Initialising plugin TorrentPeers
Initialising plugin EventLogging
Initialising plugin TorrentFiles
Initialising plugin Scheduler
Initialising plugin SpeedLimiter
Initialising plugin SimpleRSS
Initialising plugin ExtraStats
Initialising plugin NetworkGraph
Initialising plugin TorrentSearch
Initialising plugin WebUi
Initialising plugin WebSeed
Initialising plugin Locations
Initialising plugin NetworkHealth
Initialising plugin AwnDeluge
Initialising plugin TorrentCreator
Initialising plugin DesiredRatio
Initialising plugin MoveTorrent
Initialising plugin TorrentNotification
Applying preferences
Starting DHT...
Loading TorrentPeers plugin...
Loading Move Torrent plugin...
Loading ExtraStats plugin...
Loading TorrentFiles plugin...
terminate called after throwing an instance of 'libtorrent::invalid_handle'
  what():  invalid torrent handle used
Aborted (core dumped)
bb10@bb10-desktop:~$ 
markybob
Compulsive Poster
Compulsive Poster
Posts: 1230
Joined: Thu May 24, 2007 11:27 pm
Location: Chicago, IL, USA
Contact:

Re: Will Not Load: Invalid Torrent Handle Used

Post by markybob »

waltherbans
Leecher
Leecher
Posts: 50
Joined: Thu Jun 28, 2007 6:36 pm

Re: Will Not Load: Invalid Torrent Handle Used

Post by waltherbans »

@markybob: this might help bb10 but the error "Invalid Torrent Handle Used" which seems to be caused by the torrent-creator-plugin still exists. and it didn't in rc1, that's why i'm confused about it.

edit: okay, it's not caused by the torrent-creator-plugin.
i disabled all plugins and imported the same torrents into deluge which worked on v.0.5.9.5 and got the same 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
Pickling state...
Scanning plugin dir /usr/share/deluge/plugins
Initialising plugin TorrentSearch
Initialising plugin WebSeed
Initialising plugin TorrentNotification
Initialising plugin SpeedLimiter
Initialising plugin Scheduler
Initialising plugin WebUi
Initialising plugin TorrentCreator
Initialising plugin DesiredRatio
Initialising plugin BlocklistImport
Initialising plugin NetworkGraph
Initialising plugin SimpleRSS
Initialising plugin NetworkHealth
Initialising plugin TorrentFiles
Initialising plugin Locations
Initialising plugin TorrentPeers
Initialising plugin MoveTorrent
Initialising plugin EventLogging
Initialising plugin ExtraStats
Applying preferences
Starting DHT...
terminate called after throwing an instance of 'libtorrent::invalid_handle'
  what():  invalid torrent handle used
Aborted (core dumped)
btw: installing deluge 0.6 from the repository gives me an english interface - using the .deb-package installs a translated version (german).
Post Reply