Public bug reported:

I get this annoying warning when I try to use libtorrent in my code:

Warning:
----------------------
/usr/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: to-Python 
converter for boost::shared_ptr<libtorrent::alert> already registered; second 
conversion method ignored.


Test-Case:
-------------------
#!/usr/bin/python3

import libtorrent as lt
info = lt.torrent_info("some-torrent.torrent")
info_hash = info.info_hash()
print (info_hash)


Package-Version:
----------------------------
OS: Ubuntu 17.04
libboost-python1.62.0 (1.62.0+dfsg-4)
libboost-random1.62.0 (1.62.0+dfsg-4)
libtorrent-rasterbar9 (1.1.1-1)
python3-libtorrent (1.1.1-1)

** Affects: libtorrent-rasterbar (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: zesty

** Description changed:

  I get this annoying warning when I try to use libtorrent in my code:
  
- to-Python converter for boost::shared_ptr<libtorrent::alert> already
+ /usr/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: to-
+ Python converter for boost::shared_ptr<libtorrent::alert> already
  registered; second conversion method ignored.
- 
  
  Test-Case:
  -------------------
  
  #!/usr/bin/python3
  
  import libtorrent as lt
  info = lt.torrent_info("some-torrent.torrent")
  info_hash = info.info_hash()
  print (info_hash)
  
- 
  Package-Version:
  ----------------------------
  OS: Ubuntu 17.04
  libboost-python1.62.0 (1.62.0+dfsg-4)
  libboost-random1.62.0 (1.62.0+dfsg-4)
  libtorrent-rasterbar9 (1.1.1-1)
  python3-libtorrent (1.1.1-1)

** Description changed:

  I get this annoying warning when I try to use libtorrent in my code:
  
- /usr/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: to-
- Python converter for boost::shared_ptr<libtorrent::alert> already
- registered; second conversion method ignored.
+ 
+ Warning:
+ ----------------------
+ /usr/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: to-Python 
converter for boost::shared_ptr<libtorrent::alert> already registered; second 
conversion method ignored.
  
  Test-Case:
  -------------------
  
  #!/usr/bin/python3
  
  import libtorrent as lt
  info = lt.torrent_info("some-torrent.torrent")
  info_hash = info.info_hash()
  print (info_hash)
  
  Package-Version:
  ----------------------------
  OS: Ubuntu 17.04
  libboost-python1.62.0 (1.62.0+dfsg-4)
  libboost-random1.62.0 (1.62.0+dfsg-4)
  libtorrent-rasterbar9 (1.1.1-1)
  python3-libtorrent (1.1.1-1)

** Description changed:

  I get this annoying warning when I try to use libtorrent in my code:
- 
  
  Warning:
  ----------------------
  /usr/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: to-Python 
converter for boost::shared_ptr<libtorrent::alert> already registered; second 
conversion method ignored.
  
+ 
  Test-Case:
  -------------------
- 
  #!/usr/bin/python3
  
  import libtorrent as lt
  info = lt.torrent_info("some-torrent.torrent")
  info_hash = info.info_hash()
  print (info_hash)
+ 
  
  Package-Version:
  ----------------------------
  OS: Ubuntu 17.04
  libboost-python1.62.0 (1.62.0+dfsg-4)
  libboost-random1.62.0 (1.62.0+dfsg-4)
  libtorrent-rasterbar9 (1.1.1-1)
  python3-libtorrent (1.1.1-1)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1683108

Title:
  Annoying Warning: to-Python converter already registered (Zesty)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libtorrent-rasterbar/+bug/1683108/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to