i'm developing an application that includes pyqtgraph for data visualization and i'm trying to open more than one 3D plot at the same time, but i receive this error whenever more than one GLViewWidget() are opened.
|==============================>>
| Traceback (most recent call last):
| File "C:\Program Files (x86)\Python33\lib\idlelib\run.py", line 121, in main
| seq, request = rpc.request_queue.get(block=True, timeout=0.05)
| File "C:\Program Files (x86)\Python33\lib\queue.py", line 175, in get
| raise Empty
| queue.Empty
|
| During handling of the above exception, another exception occurred:
|
| Traceback (most recent call last):
| File "C:\Program Files (x86)\Python33\lib\site-packages\pyqtgraph\opengl\GLViewWidget.py", line 180, in drawItemTree
| i.paint()
| File "C:\Program Files (x86)\Python33\lib\site-packages\pyqtgraph\opengl\items\GLMeshItem.py", line 166, in paint
| with self.shader():
| File "C:\Program Files (x86)\Python33\lib\site-packages\pyqtgraph\opengl\shaders.py", line 317, in __enter__
| glUseProgram(self.program())
| File "errorchecker.pyx", line 53, in OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError (D:\Build\PyOpenGL\pyopengl-bzr\OpenGL_accelerate\src\errorchecker.c:1218)
| OpenGL.error.GLError: GLError(
| err = 1281,
| description = b'valore non valido',
| baseOperation = glUseProgram,
| cArguments = (3,)
| )
|
|==============================<<
Error while drawing item <pyqtgraph.opengl.items.GLSurfacePlotItem.GLSurfacePlotItem object at 0x05D5C418>.
Thanks in advance for your help.