RuntimeWarning when more than one Python rule is in use
Issue #80
resolved
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)
-
reporter -
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?
-
I've the problem aswell. Any way to supress these messages or how to fix it? I've no clue what to do.
-
-
Thanks @Erik Shreve for fixing this!
-
- changed status to resolved
- Log in to comment
see note in http://stackoverflow.com/questions/9888289/checking-whether-a-converter-has-already-been-registered