| View previous topic :: View next topic |
| Author |
Message |
audiodef Advocate


Joined: 06 Jul 2005 Posts: 4950
|
Posted: Mon May 21, 2012 1:42 pm Post subject: Deluge + rb_libtorrent-0.16.0 cannot handle magnet links |
|
|
This happened when I attempted to load a magnet link in deluge. I'm running python-updater and will run revdep-rebuild, but I'm not sure that will fix anything. This happens in version 1.3.3, 1.3.5 and 9999. Maybe this is related to a python bug?
| Code: |
13:35:01.724 [ERROR ][twisted :532 ] Unhandled error in Deferred:
Unhandled error in Deferred:
13:35:01.728 [ERROR ][twisted :532 ] Unhandled Error
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/twisted/internet/gtk2reactor.py", line 319, in run
self.__run()
File "/usr/lib64/python2.7/site-packages/deluge/ui/gtkui/addtorrentdialog.py", line 791, in _on_button_add_clicked
client.core.add_torrent_magnet(filename, options)
File "/usr/lib64/python2.7/site-packages/deluge/ui/client.py", line 557, in __call__
return self.daemon.call(self.base, *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/deluge/ui/client.py", line 509, in call
m, *copy.deepcopy(args), **copy.deepcopy(kwargs)
--- <exception caught here> ---
File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 134, in maybeDeferred
result = f(*args, **kw)
File "/usr/lib64/python2.7/site-packages/deluge/core/core.py", line 307, in add_torrent_magnet
return self.torrentmanager.add(magnet=uri, options=options)
File "/usr/lib64/python2.7/site-packages/deluge/core/torrentmanager.py", line 484, in add
handle = lt.add_magnet_uri(self.session, utf8_encoded(magnet), add_torrent_params)
exceptions.TypeError: No registered converter was able to produce a C++ rvalue of type boost::intrusive_ptr<libtorrent::torrent_info> from this Python object of type NoneType
Unhandled Error
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/twisted/internet/gtk2reactor.py", line 319, in run
self.__run()
File "/usr/lib64/python2.7/site-packages/deluge/ui/gtkui/addtorrentdialog.py", line 791, in _on_button_add_clicked
client.core.add_torrent_magnet(filename, options)
File "/usr/lib64/python2.7/site-packages/deluge/ui/client.py", line 557, in __call__
return self.daemon.call(self.base, *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/deluge/ui/client.py", line 509, in call
m, *copy.deepcopy(args), **copy.deepcopy(kwargs)
--- <exception caught here> ---
File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 134, in maybeDeferred
result = f(*args, **kw)
File "/usr/lib64/python2.7/site-packages/deluge/core/core.py", line 307, in add_torrent_magnet
return self.torrentmanager.add(magnet=uri, options=options)
File "/usr/lib64/python2.7/site-packages/deluge/core/torrentmanager.py", line 484, in add
handle = lt.add_magnet_uri(self.session, utf8_encoded(magnet), add_torrent_params)
exceptions.TypeError: No registered converter was able to produce a C++ rvalue of type boost::intrusive_ptr<libtorrent::torrent_info> from this Python object of type NoneType
|
_________________ Gentoo Studio: http://gentoostudio.org
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Linux 'Tude Tees: http://skreened.com/geektudetees
A cloud is evaporated water in the sky, thanks.
Last edited by audiodef on Mon May 21, 2012 3:00 pm; edited 1 time in total |
|
| Back to top |
|
 |
poncho n00b

Joined: 06 Mar 2011 Posts: 42
|
|
| Back to top |
|
 |
audiodef Advocate


Joined: 06 Jul 2005 Posts: 4950
|
|
| Back to top |
|
 |
Spidey Apprentice


Joined: 07 Sep 2006 Posts: 237
|
Posted: Tue May 22, 2012 4:49 pm Post subject: |
|
|
| I guess the library updated and deluge didn't catch up yet. |
|
| Back to top |
|
 |
dol-sen Developer


Joined: 30 Jun 2002 Posts: 2371 Location: Richmond, BC, Canada
|
Posted: Fri Dec 07, 2012 3:34 am Post subject: |
|
|
Well, it seems that 1.3.5 still doesn't handle rb_libtorrent-0.16.* I tried downgrading it, but 0.15 won't compile with newer boost.
But, deluge-9999 does work with rb_libtorrent-0.16.5  _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
| Back to top |
|
 |
erzapito n00b

Joined: 02 Feb 2007 Posts: 61
|
Posted: Fri Jan 11, 2013 5:20 pm Post subject: |
|
|
| deluge 1.3.5-r2 seems to fix the problem. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|