Re: GL error on mac after using pyinstaller

enrike <[email protected]> Sun, 20 Nov 2016 08:24:24 +0100
Newsgroups gmane.comp.python.opengl.user
Message-ID <[email protected]>
az., 2016.eko azaren 16a 05:09(e)an, Antoine Martin igorleak idatzi zuen:
> On 21/10/16 02:55, enrike wrote:
>> 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?
> Could be a driver bug:
> http://stackoverflow.com/questions/21241786/
>
> What chipset is this running on? Also Intel?

it is an old mac running an old version of OSX not sure about which one 
but definitely around 6 years old both machine and OS. I get it to do 
tests from a friend sometimes

> Maybe the pyinstaller version uses a different codepath to trigger this?
> (no accelerate module or something)


------------------------------------------------------------------------------
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net