[PyOpenGL-Users] Tkinter OpenGL Context problem?
Brought to you by:
mcfletch
|
From: Larry C. <cu...@io...> - 2002-09-12 20:09:35
|
Hello Everyone,
Your help is needed on this problem:
Python code that runs perfectly on my old
Win2K machine, dies on my new
WinXP machine with the latest versions
of Python, Tkinter and PyOpenGL.
The Tk windows appear, but then the program
crashes with the first call to glPushMatrix().
Could this be a problem with the Tkinter
OpenGL context? Do I need to do something
to accommodate the later versions of
the software?
Any suggestions would be most appreciated.
Version info and error message below.
Thanks.
Larry Cuba
Version summary of my two machines:
Win2K box WinXP box
Python 1.5.2 2.2
OpenGL 1.5.5 2.0.0.44
Tk/Tcl 8.0 8.3
Error Message:
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Program Files\Graphics\Python22\lib\lib-tk\Tkinter.py",
line 1292, in __call__
return apply(self.func, args)
File
"C:\PROGRA~1\Graphics\Python22\Lib\site-packages\OpenGL\Tk\__init__.py",
line 212, in tkExpose
self.tkRedraw()
File
"C:\PROGRA~1\Graphics\Python22\Lib\site-packages\OpenGL\Tk\__init__.py",
line 198, in tkRedraw
glPushMatrix()
GLerror: [Errno 1283] stack overflow
|