PyOgre tut1 requires CEGUI?

griminventions

27-10-2005 04:43:46

I'm going through the first pyogre tutorial from the wiki (big thanks to Clay for this!), but Python complains that there's no pyogre.cegui. Am I missing a component, or can I safely remove the import? I didn't think pycegui was working yet.

Edit: I took it out of the pyogre/__init__.py file and so far nothing is amiss.

Clay

27-10-2005 06:04:57

Is this from SVN you built yourself or from the most recent release?

What exact error do you get? I tested these myself, and even with the cegui in __init__.py it doesn't give me any error when it's missing.

griminventions

27-10-2005 06:10:39

It's 1.0.5 from BerliOS.

(tut1.py is the file I created with the "from pyogre import *" statement).
Traceback (most recent call last):
File "tut1.py", line 1, in ?
from pyogre import *
AttributeError: 'module' object has no attribute 'cegui'

I'm using Python 2.4.1. I removed 'cegui' from __all__ and it works fine.

Clay

27-10-2005 16:41:04

Doh. Ok thanks. I should have realized this.