On 11/9/06, Pecevski Dejan <de...@ig...> wrote:
> Hi,
>
> I'm using py++ to generate boost.python wrappers in my project. The
> generated source code compiles well, but when I try
> to import the generated .so library in python, I get this strange poor
> error message:
> AttributeError: can't set attribute error
>
> Apparently there is a problem with the generated pypp code.
>
> After googling, I found this post related to some bug in pyste that
> produces the same error:
> http://mail.python.org/pipermail/c++-sig/2003-August/005108.html
> It has to do something with generating multiple def()'s in boost.python
> code.
>
> Does somebody have any idea what can be the problem?
>
> I'm using linux with the latest gccxml cvs dump, and latest version of
> pygccxml and py++ (0.8.2).
I'll be glad to help you. Can you create small test case that reproduce the
problem?
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
|