Ronald Degmar
2017-01-06 03:52:50 UTC
Hello,
I installed boost and libtorrent in Python virtualenv. Then I installed
Deluge.
This works fine. I want to do new python code and what is reallly annoying
is the fact I get a warning everytime I import libtorrent.
See:
***@systorzo:~/AcademicTorrents$ source bin/activate
(AcademicTorrents) ***@systorzo:~/AcademicTorrents$ python
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
boost::shared_ptr<libtorrent::alert> already registered; second conversion
method ignored.
How do I get rid of this warning,
Best,
Ronald Barrios
I installed boost and libtorrent in Python virtualenv. Then I installed
Deluge.
This works fine. I want to do new python code and what is reallly annoying
is the fact I get a warning everytime I import libtorrent.
See:
***@systorzo:~/AcademicTorrents$ source bin/activate
(AcademicTorrents) ***@systorzo:~/AcademicTorrents$ python
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import libtorrent as lt
__main__:1: RuntimeWarning: to-Python converter forboost::shared_ptr<libtorrent::alert> already registered; second conversion
method ignored.
lt.version
'1.0.10.0'How do I get rid of this warning,
Best,
Ronald Barrios