Re: [PyOpenGL-Users] GL error on mac after using pyinstaller
Brought to you by:
mcfletch
From: Antoine M. <an...@na...> - 2016-11-16 04:35:02
|
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? Maybe the pyinstaller version uses a different codepath to trigger this? (no accelerate module or something) Cheers Antoine > > 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 > _______________________________________________ > PyOpenGL-Users mailing list > PyO...@li... > https://lists.sourceforge.net/lists/listinfo/pyopengl-users > |