[C++-sig] [py++] AttributeError: 'Boost.Python.StaticProperty' object attribute '__doc__' is read-only

Vaclav Smilauer eudoxos at arcig.cz
Thu Aug 20 11:10:57 CEST 2009


Hi everybody,

I have a small wrapper for a few geometry classes generated; it works on boost
1.34--1.37. I tried to compile and run on boost 1.39 (Boost::python doesn't
seem to be mentioned in changelogs for 1.38 or 1.39 though) and I am getting
this error:

Traceback (most recent call last):
  File "debian/yade-bzr1703-dbg/usr/lib/yade-bzr1703-dbg/gui/PythonUI_rc.py",
line 11, in <module>
    from miniWm3Wrap import *
AttributeError: 'Boost.Python.StaticProperty' object attribute '__doc__' is
read-only

I only googled the same error at http://de.pastebin.ca/1535109 (which concerns
pySide), but no solution. What am I doing wrong? 

Thanks, Vaclav





More information about the Cplusplus-sig mailing list