osxguy
04-08-2006 02:47:33
Hi all,
I'm coming back to Ogre after a long hiatus and am looking at PyOgre. I have a run-time problem with PyOgre; when I run any demo, e.g. ParticleFXDemo, I get an error about ExceptionPtr as follows:
Line 263 of "/usr/lib/python2.4/site-packages/pyogre/ogre.py" is
If I change this to
then most of the Python demos work. I still get segfaults on things like StaticGeometryDemo.py but I think that's a different problem.
So.... what is the meaning of the ExceptionPtr error above? Is the OgreException variable even used?
Environment:
* Linux Ubuntu Breezy
* automake-1.7
* manually compiled/installed cegui_mk2 version 0.4.1
* manually compiled/installed swig-1.3.29
* Ogre 1.0.6 configured with --with-platform=GLX
* Ogre 1.0.6 compiled with CC=gcc-3.3 CXX=g++-3.3
* PyOgre 1.0.6 built with "CC=gcc-3.3 CXX=g++-3.3 python setup.py build"
Thanks... I hope to get PyOgre running smoothly.
I'm coming back to Ogre after a long hiatus and am looking at PyOgre. I have a run-time problem with PyOgre; when I run any demo, e.g. ParticleFXDemo, I get an error about ExceptionPtr as follows:
Traceback (most recent call last):
File "ParticleFXDemo.py", line 2, in ?
import pyogre.ogre as ogre
File "/usr/lib/python2.4/site-packages/pyogre/ogre.py", line 263, in ?
OgreException = ExceptionPtr
NameError: name 'ExceptionPtr' is not defined
Line 263 of "/usr/lib/python2.4/site-packages/pyogre/ogre.py" is
OgreException = ExceptionPtr
If I change this to
OgreException = None
then most of the Python demos work. I still get segfaults on things like StaticGeometryDemo.py but I think that's a different problem.
So.... what is the meaning of the ExceptionPtr error above? Is the OgreException variable even used?
Environment:
* Linux Ubuntu Breezy
* automake-1.7
* manually compiled/installed cegui_mk2 version 0.4.1
* manually compiled/installed swig-1.3.29
* Ogre 1.0.6 configured with --with-platform=GLX
* Ogre 1.0.6 compiled with CC=gcc-3.3 CXX=g++-3.3
* PyOgre 1.0.6 built with "CC=gcc-3.3 CXX=g++-3.3 python setup.py build"
Thanks... I hope to get PyOgre running smoothly.