|
From: Samuel M. <wat...@sp...> - 2008-01-21 15:03:57
|
Hello,
I got pyODE working (Never figured out what the problem was, but I
redownloaded it yesterday and it worked), but now when I run the third
tutorial from the website, it spits out this about fifty times:
Traceback (most recent call last):
File
"/Volumes/Data/Users/ronald/Projects/python/wrk/r251/Modules/_ctypes/callbacks.c",
line 206, in 'calling callback function'
File "/Users/samuelmankins/Desktop/tut3.py", line 225, in _drawfunc
draw_body(b)
File "/Users/samuelmankins/Desktop/tut3.py", line 73, in draw_body
glScale(sx, sy, sz)
NameError: global name 'glScale' is not defined
And then switches to spitting out this about fifty times for every
second the pygame window (Which shows up, with the background color on)
is open:
Traceback (most recent call last):
File
"/Volumes/Data/Users/ronald/Projects/python/wrk/r251/Modules/_ctypes/callbacks.c",
line 206, in 'calling callback function'
File "/Users/samuelmankins/Desktop/tut3.py", line 225, in _drawfunc
draw_body(b)
File "/Users/samuelmankins/Desktop/tut3.py", line 69, in draw_body
glPushMatrix()
File "build/bdist.macosx-10.3-fat/egg/OpenGL/error.py", line 188, in
glCheckError
OpenGL.error.GLError: GLError(
err = 1283,
description = 'stack overflow',
baseOperation = glPushMatrix,
cArguments = ()
)
I anyone has any idea what's going on here, I'd greatly appreciate it.
Thanks!
|