-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Description
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.
- Error message:
- Running on http://0.0.0.0:5555/ (Press CTRL+C to quit)
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:
Metadata
Metadata
Assignees
Labels
No labels