-
Notifications
You must be signed in to change notification settings - Fork 84
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
An error message when open the page on a web browser #6
Comments
Try to use PyOpenGL with a higher version, ours is 3.1.5. |
I have tried to upgrade the Opengl version to 3.1.5, but this error still exists, I hope to get other guidance. Thank you. Error: |
Hello, After I tried to add MESA_L_VERSION_OVERRIDE=3.3 in the running line, my page can be opened without error, but the page is still in the state of "waiting for ··". How can I solve this problem? The print log is as follows:
|
@zhouliuling OpenGL.error.GLError: GLError( |
@zhouliuling |
i run ok, but the web shows nothing, and "my render" windows show nothing |
I also meet the same problem. And I tried it on my local host , it was the same error.Can you tell me how to fix it. |
a usb camera is must |
@shuodehaoa Have you managed to solve the problem? It's just that I have the same error. |
When I've configured it, the running code prompts me to open the web page, but when I open page on the Web Server, I get an error message.I want to know how to solve this problem.Thank you very much.
121.248.49.86 - - [25/Aug/2020 16:30:53] "GET / HTTP/1.1" 200 -
Debugging middleware caught exception in streamed response at a point where response headers were already sent.
Traceback (most recent call last):
File "/home/anaconda3/lib/python3.7/site-packages/werkzeug/wsgi.py", line 506, in next
return self._next()
File "/home/anaconda3/lib/python3.7/site-packages/werkzeug/wrappers/base_response.py", line 45, in _iter_encoded
for item in iterable:
File "/root/project/MonoPort/RTL/main.py", line 476, in main_loop
renderer = AlbedoRender(width=256, height=256, multi_sample_rate=1)
File "/root/project/MonoPort/monoport/lib/render/gl/Render.py", line 64, in init
self._init_shader()
File "/root/project/MonoPort/monoport/lib/render/gl/AlbedoRender.py", line 6, in _init_shader
self.shader = Shader(vs_file='albedo.vs', fs_file='albedo.fs', gs_file=None)
File "/root/project/MonoPort/monoport/lib/render/gl/Shader.py", line 35, in init
shaders.compileShader(vp_code, gl.GL_VERTEX_SHADER),
File "/home/anaconda3/lib/python3.7/site-packages/OpenGL/GL/shaders.py", line 226, in compileShader
shaderType,
RuntimeError: ("Shader compile failure (0): b'0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.00 ES, and 3.00 ES\n'", [b'#version 330 core\nlayout (location = 0) in vec3 a_Position;\nlayout (location = 1) in vec2 a_TextureCoord;\n\nout vec2 TextureCoord;\n\nuniform mat4 ModelMat;\nuniform mat4 PerspMat;\n\nvoid main()\n{\n\tgl_Position = PerspMat * ModelMat * vec4(a_Position, 1.0);\n TextureCoord = a_TextureCoord;\n}'], GL_VERTEX_SHADER)
The page is always in this state:
The text was updated successfully, but these errors were encountered: