Python 3.8.2
pyqtgraph 0.11.1
Linux version 5.4.83-v7l+(Raspbian GNU/Linux 10 (buster))

Architecture:        armv7l
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  4
Socket(s):           1
Vendor ID:           ARM
Model:               3
Model name:          Cortex-A72
Stepping:            r0p3
CPU max MHz:         1500,0000
CPU min MHz:         600,0000
BogoMIPS:            270.00
Flags:               half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 
idiva idivt vfpd32 lpae evtstrm crc32
пятница, 5 марта 2021 г. в 18:11:44 UTC+3, Anakin: 

> Hello. Opening examples from pyqtgraph.examples. run (). Everything works 
> except 3D.
>
> Part of the example:
> ******************************
> from pyqtgraph.Qt import QtCore, QtGui
> import pyqtgraph.opengl as gl
>
> app = QtGui.QApplication([])
> w = gl.GLViewWidget()
> w.opts['distance'] = 200
> w.show()
> w.setWindowTitle('pyqtgraph example: GLVolumeItem')
>
> ******************************
>
>
> Outputs this:
>
> ******************************
> qt5ct: using qt5ct plugin
> bind: Invalid command `enable-meta-key'.
> >>> Traceback (most recent call last):
>   File 
> "/home/pi/.local/lib/python3.7/site-packages/pyqtgraph/opengl/GLViewWidget.py",
>  
> line 204, in paintGL
>     self.setProjection(region=region)
>   File 
> "/home/pi/.local/lib/python3.7/site-packages/pyqtgraph/opengl/GLViewWidget.py",
>  
> line 126, in setProjection
>     glMatrixMode(GL_PROJECTION)
>   File 
> "/home/pi/.local/lib/python3.7/site-packages/OpenGL/platform/baseplatform.py",
>  
> line 415, in __call__
>     return self( *args, **named )
>   File "src/errorchecker.pyx", line 58, in 
> OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError
> OpenGL.error.GLError: GLError(
> err = 1282,
> description = b'invalid operation',
> baseOperation = glMatrixMode,
> cArguments = (GL_PROJECTION,)
> )
> Traceback (most recent call last):
>   File 
> "/home/pi/.local/lib/python3.7/site-packages/pyqtgraph/opengl/GLViewWidget.py",
>  
> line 204, in paintGL
>     self.setProjection(region=region)
>   File 
> "/home/pi/.local/lib/python3.7/site-packages/pyqtgraph/opengl/GLViewWidget.py",
>  
> line 126, in setProjection
>     glMatrixMode(GL_PROJECTION)
>   File "src/errorchecker.pyx", line 58, in 
> OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError
> OpenGL.error.GLError: GLError(
> err = 1282,
> description = b'invalid operation',
> baseOperation = glMatrixMode,
> cArguments = (GL_PROJECTION,)
> )
> Traceback (most recent call last):
>   File 
> "/home/pi/.local/lib/python3.7/site-packages/pyqtgraph/opengl/GLViewWidget.py",
>  
> line 204, in paintGL
>     self.setProjection(region=region)
>   File 
> "/home/pi/.local/lib/python3.7/site-packages/pyqtgraph/opengl/GLViewWidget.py",
>  
> line 126, in setProjection
>     glMatrixMode(GL_PROJECTION)
>   File "src/errorchecker.pyx", line 58, in 
> OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError
> OpenGL.error.GLError: GLError(
> err = 1282,
> description = b'invalid operation',
> baseOperation = glMatrixMode,
> cArguments = (GL_PROJECTION,)
> )
> Traceback (most recent call last):
>   File 
> "/home/pi/.local/lib/python3.7/site-packages/pyqtgraph/opengl/GLViewWidget.py",
>  
> line 204, in paintGL
>     self.setProjection(region=region)
>   File 
> "/home/pi/.local/lib/python3.7/site-packages/pyqtgraph/opengl/GLViewWidget.py",
>  
> line 126, in setProjection
>     glMatrixMode(GL_PROJECTION)
>   File "src/errorchecker.pyx", line 58, in 
> OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError
> OpenGL.error.GLError: GLError(
> err = 1282,
> description = b'invalid operation',
> baseOperation = glMatrixMode,
> cArguments = (GL_PROJECTION,)
> )
>
> ******************************
>
> I've been working with Raspberry and Linux for a couple of months, so the 
> question may be silly.
>
> What could be the problem?
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/d4607163-55f1-4ebe-b1bd-e936c5bc30ean%40googlegroups.com.

Reply via email to