Odd Error (Boost Attribute is readonly)

Seneschul

14-10-2009 02:26:44


C:\PythonOgre\demos\bullet>python test01.py
Traceback (most recent call last):
File "test01.py", line 10, in <module>
import ogre.renderer.OGRE as ogre
File "C:\Python26\lib\site-packages\ogre\renderer\OGRE\__init__.py", line 10,
in <module>
from _ogre_ import *
AttributeError: 'Boost.Python.StaticProperty' object attribute '__doc__' is read-only


I've had a hella time.
I did not understand (after reading the wiki) how to update.
Finally, I figured out via trial and error that I needed to:
Install a 2.x version of Python (Cool; done.)
Download the installer. (Arighty, got it. Installed. Setup-python didn't work. Ah hA! version issue - the installer wants 2.5, I have 2.6 installed.)
Download the update - and overwrite the pythonogre directory. Delete any build directory in the pythonogre directory.
run python setup.py install

Phew *wipes forehead off* Got it!

So, now I go down into a demo directory, (I've played with Ogre's C++ demos before; it's always wonderful to see :) )
I run the above code chunk and get the above error.
I have no idea what it means; searching the forums produces no help.
Any idea what precisely this means and/or how to fix it?
Any help much apprecciated.

Seneschul

P.S.
All the above information is included to make it easier for others who have similar problems to find this post and any answers it has - not meaning to sound rude or nuffin.

andy

15-10-2009 12:33:35

What version of windows etc are you running (I've never seen this error before)? Also do any of the other demos work or do you always see this error?

Andy

Seneschul

15-10-2009 21:11:58

*grins* yay I am special!
*chuckles* Sorry, I'm humoured and comforted that this is a unique instance.

Windows XP SP3 on a P4 with 2 gigs of ram, and a 6600 Nvidia adapter. (she's old, but she runs pretty good ~_^ )
Bullet, Cegui, Ogrebullet, theora
Sampleframework.py
All give the error
To be honest, I haven't run anything yet that does not give the error, EXCEPT: setup.py, Enums.py, tweener.py

If there are any diagnostics I can run to make this easier, let me know.

andy

16-10-2009 01:48:57

It's a problem with Python 2.6.3 (2.6.2 is fine) -- I'm looking into this at the moment and will release a new binary to resolve this...

Andy