Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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 
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.

Loading...