Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am getting this error . aseOperation = baseOperation, OpenGL.error.GLError: GLError( err = 1282, description = b'invalid operation', baseOperation = glMatrixMode, cArguments = (GL_PROJECTION,) ) ? please help me #28

Open
TechRova opened this issue Jun 7, 2019 · 2 comments

Comments

@TechRova
Copy link

TechRova commented Jun 7, 2019

Config:

  • Win 10
  • python 3.7
  • Logitech C270 webcam
PS C:\Users\TechRova\Downloads\VNect-tensorflow-master> python demo_tf_gl.py --device=gpu --demo_type=webcam --test_img=
test_imgs/yuniko.jpg --model_file=models/weights/vnect_tf  --plot_2d=True --plot_3d=True
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
  File "demo_tf_gl.py", line 247, in <module>
    glMatrixMode(GL_PROJECTION)
  File "C:\Users\TechRova\AppData\Local\Programs\Python\Python37\lib\site-packages\OpenGL\platform\baseplatform.py", line 409, in __call__
    return self( *args, **named )
  File "C:\Users\TechRova\AppData\Local\Programs\Python\Python37\lib\site-packages\OpenGL\error.py", line 232, in glCheckError
    baseOperation = baseOperation,
OpenGL.error.GLError: GLError(
        err = 1282,
        description = b'invalid operation',
        baseOperation = glMatrixMode,
        cArguments = (GL_PROJECTION,)
)
@xuzheyuan624
Copy link

@TechRova I meet the same problem, have u solved it ?

@suly520
Copy link

suly520 commented Jun 28, 2021

Same problem! My Program works on Windows perfectly on Raspberry(Linux) i get the same Problem ( I am using python 3.9.4 on Windows works on 3.6 i think on raspi dont works :/)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants