GL error on mac after using pyinstaller

enrike <[email protected]> Thu, 20 Oct 2016 21:55:11 +0200
Newsgroups gmane.comp.python.opengl.user
Message-ID <[email protected]>
Hi

I have an app that uses PyQt4 and PyOpenGL. On latest mac OSX the app 
runs fine from command line but when I pack it with PyInstaller I get 
this error.

Traceback (most recent call last):
    File "site-packages/mirra/main.py", line 90, in resizeGL
    File "site-packages/mirra/engine.py", line 183, in restart
    File "errorchecker.pyx", line 53, in 
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError 
(src/errorchecker.c:1218)
OpenGL.error.GLError: GLError(
      err = 1286,
      description = 'invalid framebuffer operation',
      baseOperation = glClear,
      cArguments = (16640,)
)

removing the glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT) from 
that line to a previous step in the program seems to solve the problem, 
any ideas why this is happening?

thanks

enrike

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net