On May 8, 2013, at 23:31 , "Alex Leach" <beamesle...@gmail.com> wrote:
> That error means the type_id of uuid is not in the bp registry.
>
> I think you can fix this by deriving uuid_to_python from to_python_converter,
> as demonstrated in the pytype_function example[1]. This will add the
> get_pytype function call, and on initialisation, should hopefully add what's
> missing: a call to `registry::lookup`[2].
I'm afraid that doesn't work. To test this I changes my converter struct to
derive from bp::converter::wrap_pyttype<&PyStringType> and pass
has_get_type=true to the to_python_converter call, but I still get the exact
same error.
Regards,
Wichert.
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig