Enabling error checking did not change that particular failure.

Are you suggesting that that machine may not have glBindVertexArray? That's a core function and the driver reports itself as 3.3.0 via glxinfo and lets me acquire a core 3.3 context via pyopengl glut.

G

On Thu, Nov 10, 2011 at 1:44 PM, Mike C. Fletcher <vrplumber@gmail.com> wrote:
On 11-11-08 10:38 PM, Gordon Wrigley wrote:
> On an impulse I tried broke.py on another linux machine I have access
> to that has Nvidia drivers on it, the result was the same but the
> details differed. Particularly problems 2, 3 & 4 were replaced by this:
>
> Traceback (most recent call last):
>   File "broke.py", line 145, in <module>
>     main(sys.argv)
>   File "broke.py", line 115, in main
>     glBindVertexArray(vao)
>   File
> "/usr/local/lib/python2.7/dist-packages/OpenGL/platform/baseplatform.py",
> line 371, in __call__
>     if self.load():
>   File
> "/usr/local/lib/python2.7/dist-packages/OpenGL/platform/baseplatform.py",
> line 351, in load
>     if not platform.PLATFORM.checkExtension( self.extension ):
>   File
> "/usr/local/lib/python2.7/dist-packages/OpenGL/platform/baseplatform.py",
> line 246, in checkExtension
>     result = extensions.hasGLExtension( name )
>   File "/usr/local/lib/python2.7/dist-packages/OpenGL/extensions.py",
> line 54, in hasGLExtension
>     AVAILABLE_GL_EXTENSIONS[:] = glGetString( GL_EXTENSIONS ).split()
> AttributeError: 'NoneType' object has no attribute 'split'
Hmm, without error checking that will return None if the entry point is
not provided by the context (i.e. a core/forward-compatible-only
context).  That definitely will break.

Thanks,
Mike

--
________________________________________________
 Mike C. Fletcher
 Designer, VR Plumber, Coder
 http://www.vrplumber.com
 http://blog.vrplumber.com