[visionegg] Dynamic function loading not implemented/supported on this platform

Hello,

I'd like to execute multiple scripts in succession. To do this, I'm using a .py file with multiple import statements, one for each script I want to run. For now, I'm just trying this with a moving target script (barscript.py) and a gratings script (gratingscript.py). If I import gratingscript.py first, followed by barscript.py, everything works fine. First the gratings run, and when they're finished, the moving target script runs. But when I try the reverse order (barscript.py, then gratingscript.py), barscript.py runs fine, but when gratinscript.py starts up, I get the following error:

File "C:\Python23\Lib\site-packages\VisionEgg\Textures.py", line 1194, in __init__
gl.glActiveTextureARB(gl.GL_TEXTURE1_ARB)
OpenGL.GL.GLerror: [Errno (1282,)] Dynamic function loading not implemented/supported on this platform


This error happens when creating an instance of the Mask2D class in the gratings script. When I comment out the mask instance, the error goes away and everything runs fine (but without a mask on the grating). It sounds like something's unhappy that stuff's been previously written to screen, but I don't know. I haven't tried this on another machine yet, I'll see if that changes anything.

I'm running the 1.0-cvs binary in Windows with Python 2.3.4 and all the recommended versions of the dependencies. Here's the full log of the error:

2005-01-11 02:37:23,660 (1204) INFO: Requesting window 1024 x 768 32 bpp (8 8 8 8 RGBA).
2005-01-11 02:37:23,769 (1204) INFO: OpenGL 1.4.1, GeForce2 MX/AGP/3DNOW!, NVIDIA Corporation
2005-01-11 02:37:23,769 (1204) INFO: Video system reports 32 bpp (8 8 8 8 RGBA).
2005-01-11 02:37:23,799 (1204) INFO: Gamma set sucessfully: linearized gamma lookup tables to correct monitor with native gammas (2.100000, 2.100000, 2.100000) RGB
2005-01-11 02:37:23,819 (1204) CRITICAL: Traceback (most recent call last):
File "C:\Desktop\Display\multiscript.py", line 7, in ?
exec('import '+script)
File "<string>", line 1, in ?
File "C:\Desktop\Display\gratingscript.py", line 72, in ?
gratings(preexpSec, postexpSec, orioff, mindurationSec, mask, diameterDeg, widthDeg, heightDeg, ori, tfreqCycSec, sfreqCycDeg, phase0, pedestal, contrast, bgbrightness, durationSec, postsweepSec, varlist, nruns, shuffleSweeps, blankSweep, shuffleBlankSweeps)
File "C:\Desktop\Display\Display\Gratings.py", line 143, in gratings
num_samples=(nmasksamples,nmasksamples)) # size of mask texture data (# of texels), quality/performance tradeoff?
File "C:\Python23\Lib\site-packages\VisionEgg\Textures.py", line 1194, in __init__
gl.glActiveTextureARB(gl.GL_TEXTURE1_ARB)
GLerror: [Errno (1282,)] Dynamic function loading not implemented/supported on this platform


Any advice?

Thanks,

Martin Spacek
PhD student, Graduate Program in Neuroscience
Dept. of Ophthalmology and Visual Sciences
University of British Columbia, Vancouver, BC, Canada
+1-604-875-4555 ext. 66282
mspacek@xxxxxxxxxxxxxxx | http://swindale.ecc.ubc.ca
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: