[C++-sig] cannot_convert_raw_PyObject

David Abrahams dave at boost-consulting.com
Thu Aug 22 23:16:00 CEST 2002


Achim: there's not enough info here for me to help you.
Please go back and apply what you learned in "support requests 101" ;-)

-Dave

-----------------------------------------------------------
           David Abrahams * Boost Consulting
dave at boost-consulting.com * http://www.boost-consulting.com


----- Original Message -----
From: "Achim Domma" <achim.domma at syynx.de>
To: "C++-Sig at Python. Org" <c++-sig at python.org>
Sent: Thursday, August 22, 2002 5:21 PM
Subject: [C++-sig] cannot_convert_raw_PyObject


> Hi,
>
> I get the following errors:
>
> E:\cvsroot\boost\boost/python/converter/arg_to_python.hpp(168) : error
> C2027: use of undefined type 'cannot_convert_raw_PyObject<struct _object
*>'
>         E:\cvsroot\boost\boost/python/converter/arg_to_python.hpp(167) :
> while compiling class-template member function 'void __cdecl
> boost::python::converter::detail::reject_raw_object_helper<struct
> _object,char *>::error(char *)'
> E:\cvsroot\boost\boost/python/converter/arg_to_python.hpp(168) : error
> C2065: 'to_python_use_handle_instead' : undeclared identifier
>         E:\cvsroot\boost\boost/python/converter/arg_to_python.hpp(167) :
> while compiling class-template member function 'void __cdecl
> boost::python::converter::detail::reject_raw_object_helper<struct
> _object,char *>::error(char *)'
>
> the only place where raw PyObject* is used is in Ralfs bpl_utils.h, but I
> have no idea how to fix it (if that's the real problem). If I replace
> PyObject* with handle<> the call of
> boost::python::converter::registry::push_back fails. I looked at
> boost/python/converter/implicit.hpp and saw, that there is also PyObject
> used!? Any hint?
>
> Achim
>
>
>
> _______________________________________________
> C++-sig mailing list
> C++-sig at python.org
> http://mail.python.org/mailman/listinfo/c++-sig
>





More information about the Cplusplus-sig mailing list