Comment 22 for bug 289925

Revision history for this message
Juho Vepsäläinen (bebraw) wrote :

Mike C. Fletcher wrote:
>We could work around it by disabling GLUT error checking entirely, but that seems a bit of a nuclear option, as it would >change the API. Instead I'm thinking we'll disable error checking *just* for the GLUT functions commonly called before >the GLUT context is created. I've checked in changes to bzr head to implement this. Please do the following and report >whether the bug is fixed for you:
>
> bzr branch lp:pyopengl
> # add pyopengl/OpenGL to your PYTHONPATH
>
>then run the test script.

I just tested this and it still results in the same backtrace as before (I added pyopengl/OpenGL to Python path using "export PYTHONPATH=<path to branch>/pyopengl/OpenGL" on terminal.).

Interestingly pyglet (http://www.pyglet.org/) gives the exact same backtrace! I tested this importing (import hello_world) the Hello World! example (http://www.pyglet.org/doc/programming_guide/hello_world.py) from Pyglet documentation into my gdb Python session.