[visionegg] Re: Error on FC7 and glColorf

Hi Mark,

I haven't had the chance yet to try VE with PyOpenGL 3. I suspect some
aspect of the upgrade from PyOpenGL 2 to 3 is the issue. In the
meantime, is it possible for you to downgrade to PyOpenGL 2?

Mark van Rossum wrote:
> Hi 
>
> I have a problem with visionegg and a recent (test ) version of fedora  7.
>
> python plaid.py returns:
>
> File "plaid.py", line 61, in <module>    p.go()
> File 
> "/usr/lib/python2.5/site-packages/visionegg-1.0-py2.5-linux-i686.egg/VisionEgg/FlowControl.py",
>  
> line 411, in go     viewport.draw()
>   
> File 
> "/usr/lib/python2.5/site-packages/visionegg-1.0-py2.5-linux-i686.egg/VisionEgg/Core.py",
>  
> line 1358, in draw     stimulus.draw()
>   
> File 
> "/usr/lib/python2.5/site-packages/visionegg-1.0-py2.5-linux-i686.egg/VisionEgg/Gratings.py",
>  
> line 424, in draw     gl.glColorf(p.color1[0],p.color1[1],p.color1
> [2],p.max_alpha)
> AttributeError: 'module' object has no attribute 'glColorf'
> Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound 
> method TextureObject.__del__ of <VisionEgg.Textures.TextureObject object at 
> 0xa2c3e6c>> ignored
>
>
>
> Version checklist of check-config returns:
>
> Python version 2.5 (OK)
> extra Python info: (r25:51908, Apr 10 2007, 10:29:13) [GCC 4.1.2 20070403 
> (Red 
> Hat 4.1.2-8)]
> Numeric version 23.8 (OK)
> PyOpenGL (package "OpenGL") version 3.0.0a6 (OK)
> pygame version 1.7.1release (OK)
> Python Imaging Library (package "Image") version 1.1.6 (OK)
>
>
>   

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

Other related posts: