FS#47530 - [libtorrent-rasterbar] alerts are missing in the Python binding
Attached to Project:
Arch Linux
Opened by Roman Beslik (beroal) - Friday, 25 December 2015, 20:32 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 26 December 2015, 14:32 GMT
Opened by Roman Beslik (beroal) - Friday, 25 December 2015, 20:32 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 26 December 2015, 14:32 GMT
|
Details
Description:
An error occurs when popping alerts in the Python binding by "torrent_session.pop_alert()". The Python interpreter reports: {{{ Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: No to_python (by-value) converter found for C++ type: boost::shared_ptr<libtorrent::alert> }}} Should be: {{{ successfully listening on [TCP] 0.0.0.0:6882 }}} Additional info: * boost 1.60.0-1, boost-libs 1.60.0-1, libtorrent-rasterbar 1:1.0.7-3. * It works if I downgrade to boost 1.59.0-3, boost-libs 1.59.0-5, libtorrent-rasterbar 1:1.0.7-2. Steps to reproduce: Run in the Python 2 interpreter: {{{ import libtorrent s = libtorrent.session() s.set_alert_mask(libtorrent.alert.category_t.status_notification) s.listen_on(6881, 6891) print(s.pop_alert()) }}} |
This task depends upon
Closed by Doug Newgard (Scimmia)
Saturday, 26 December 2015, 14:32 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#47519
Saturday, 26 December 2015, 14:32 GMT
Reason for closing: Duplicate
Additional comments about closing:
Comment by Doug Newgard (Scimmia) -
Saturday, 26 December 2015, 14:32 GMT
While the problem may be in libtorrent-rasterbar, I need to keep
it tagged with deluge so the deluge maintainer will take a look at
it.