RuntimeWarning when more than one Python rule is in use

Issue #80 resolved
Jason Sachs created an issue

If I use only one Python rule it is fine; if I use two or more Python rules I get this warning:

sys:1: RuntimeWarning: to-Python converter for struct Vera::Structures::Token already registered; second conversion method ignored.
sys:1: RuntimeWarning: to-Python converter for class std::vector<struct Vera::Structures::Token,class std::allocator<struct Vera::Structures::Token> > already registered; second conversion method ignored.
sys:1: RuntimeWarning: to-Python converter for class boost::python::detail::container_element<class std::vector<struct Vera::Structures::Token,class std::allocator<struct Vera::Structures::Token> >,unsigned int,class boost::python::detail::final_vector_derived_policies<class std::vector<struct Vera::Structures::Token,class std::allocator<struct Vera::Structures::Token> >,0> > already registered; second conversion method ignored.
sys:1: RuntimeWarning: to-Python converter for class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > already registered; second conversion method ignored.

Is there any way to suppress this warning? It seems useless.

Comments (6)

  1. MAeStROxr

    Not sure how to deal with this, can you elaborate?

    Is this how to fix in the code-base or how to fix after installation?

  2. Ferhat Aram

    I've the problem aswell. Any way to supress these messages or how to fix it? I've no clue what to do.

  3. Log in to comment