View previous topic :: View next topic |
Author |
Message |
audiodef Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/121230830564ba822c25c21.jpg)
Joined: 06 Jul 2005 Posts: 6656 Location: The soundosphere
|
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
|
_________________ decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Last edited by audiodef on Mon May 21, 2012 3:00 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
poncho Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 06 Mar 2011 Posts: 92
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
audiodef Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/121230830564ba822c25c21.jpg)
Joined: 06 Jul 2005 Posts: 6656 Location: The soundosphere
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Spidey Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/5203861844a7275e3a0431.jpg)
Joined: 07 Sep 2006 Posts: 269
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
dol-sen Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/895601024436ad996b979b.gif)
Joined: 30 Jun 2002 Posts: 2805 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 ![Smile :)](images/smiles/icon_smile.gif) _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
erzapito Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 02 Feb 2007 Posts: 136
|
Posted: Fri Jan 11, 2013 5:20 pm Post subject: |
|
|
deluge 1.3.5-r2 seems to fix the problem. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|