[visionegg] muti-stim error

HI,

I think I've tried all the other demos but multi_stim.

visionegg 1.1.2
numpy 1.2.1
pyopengl 3.0.0b8

Mac OS X 10.5.6


DC397:visionegg-1.1.2 demos jc$ python multi_stim.py
2009-02-02 16:39:01,190 (12012) INFO: Script multi_stim.py started Vision Egg 1.1.2 with process id 12012. 2009-02-02 16:39:06,581 (12012) INFO: Requesting window 640 x 480 32 bpp (8 8 8 0 RGBA). 2009-02-02 16:39:06,678 (12012) INFO: OpenGL 1.2 APPLE-1.5.36, Intel GMA X3100 OpenGL Engine, Intel Inc. (PyOpenGL 3.0.0b8) 2009-02-02 16:39:06,678 (12012) INFO: Video system reports 32 bpp (8 8 8 8 RGBA). 2009-02-02 16:39:07,446 (12012) CRITICAL: Traceback (most recent call last):
  File "multi_stim.py", line 216, in <module>
framebuffer_copy_texture = Texture( texels=screen.get_framebuffer_as_image(format=gl.GL_RGBA) ) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/visionegg-1.1.2-py2.5-macosx-10.3-fat.egg/ VisionEgg/Core.py", line 441, in get_framebuffer_as_image
    size=size,
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/visionegg-1.1.2-py2.5-macosx-10.3-fat.egg/ VisionEgg/Core.py", line 488, in get_framebuffer_as_array
    fb_array = Numeric.reshape(fb_array,(size[1],size[0],4))
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/numpy-1.2.1-py2.5-macosx-10.3-fat.egg/numpy/ oldnumeric/functions.py", line 97, in reshape
    return np.reshape(a, shape)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/numpy-1.2.1-py2.5-macosx-10.3-fat.egg/numpy/ core/fromnumeric.py", line 145, in reshape
    return reshape(newshape, order=order)
ValueError: total size of new array must be unchanged

Traceback (most recent call last):
  File "multi_stim.py", line 216, in <module>
framebuffer_copy_texture = Texture( texels=screen.get_framebuffer_as_image(format=gl.GL_RGBA) ) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/visionegg-1.1.2-py2.5-macosx-10.3-fat.egg/ VisionEgg/Core.py", line 441, in get_framebuffer_as_image
    size=size,
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/visionegg-1.1.2-py2.5-macosx-10.3-fat.egg/ VisionEgg/Core.py", line 488, in get_framebuffer_as_array
    fb_array = Numeric.reshape(fb_array,(size[1],size[0],4))
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/numpy-1.2.1-py2.5-macosx-10.3-fat.egg/numpy/ oldnumeric/functions.py", line 97, in reshape
    return np.reshape(a, shape)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/numpy-1.2.1-py2.5-macosx-10.3-fat.egg/numpy/ core/fromnumeric.py", line 145, in reshape
    return reshape(newshape, order=order)
ValueError: total size of new array must be unchanged
DC397:visionegg-1.1.2 demos jc$


======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: