[PyOpenGL-Users] GL.glBindTexture, ctypes.ArgumentError
Brought to you by:
mcfletch
From: Darren W. <dar...@gm...> - 2007-12-07 07:14:01
|
I'm using PsychoPy that depends on pyOpenGL. I'm working on Ubuntu Gutsy (7.10, amd64) and see the traceback below. I've also found this or similar tracebacks with other python code that depends on pyOpenGL, so I hope this is the right place to ask about it. Some advice I've had suggests that libglut3 might be the source of this problem. As this is a python traceback (see below), I guess this is the logical place to look for bugs. Is this a problem with pyOpenGL? Thanks in advance, Darren dweber@skiweber:/data/psychophysics/psychopy$ ./first_stimulus.py Traceback (most recent call last): File "./first_stimulus.py", line 9, in <module> grating = visual.AlphaStim(win=mywin, mask="circle", size=3, pos=[-4,0], sf=3) File "/usr/lib/python2.5/site-packages/psychopy/visual.py", line 925, in __init__ self._setTex(tex) File "/usr/lib/python2.5/site-packages/psychopy/visual.py", line 1428, in _setTexNoShaders GL.glBindTexture(GL.GL_TEXTURE_1D, self.texID)#bind that name to the target ctypes.ArgumentError: argument 2: <type 'exceptions.TypeError'>: wrong type dweber@skiweber:/data/psychophysics/psychopy$ |