[Tutor] pyopengl name error

D-Man dsh8290@rit.edu
Mon, 9 Apr 2001 19:13:05 -0400


On Mon, Apr 09, 2001 at 05:11:26PM -0600, VanL wrote:
| 
| Traceback (most recent call last):
|   File "glut.py", line 69, in OnDraw
|     drawCube()
|   File "drawcube.py", line 3, in drawCube
|     OpenGL.GL.glTranslatef(0.0, 0.0, -2.0);
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This is the line of code causing the exception.  This line doesn't
occur anywhere in the code you posted.  Can you post the first few
lines of 'drawcube.py' instead?  

Something to note : I noticed that the package name uses mixed case.
On Windows systems the filesystem is case-insensitive so sometimes
there are problems relating to the case not matching.

Also, BTW, even though semicolons are allowed for line termination, it
isn't exactly encouraged.  (not a big deal, though)


-D