We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I am testing whether OSMesa functions properly, but I encountered the following error. Who can assist me? ;)
--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) Cell In[1], [line 2](vscode-notebook-cell:?execution_count=1&line=2) [1](vscode-notebook-cell:?execution_count=1&line=1) from OpenGL import GL ----> [2](vscode-notebook-cell:?execution_count=1&line=2) from OpenGL import osmesa [4](vscode-notebook-cell:?execution_count=1&line=4) ctx = osmesa.OSMesaCreateContext(osmesa.OSMESA_RGBA, None) [5](vscode-notebook-cell:?execution_count=1&line=5) if ctx: File ~/anaconda3/envs/flame/lib/python3.8/site-packages/OpenGL/osmesa/__init__.py:2 [1](https://vscode-remote+ssh-002dremote-002b172-002e31-002e224-002e53.vscode-resource.vscode-cdn.net/home/kongxiaoqian/project/flame-main/~/anaconda3/envs/flame/lib/python3.8/site-packages/OpenGL/osmesa/__init__.py:1) from OpenGL.raw.osmesa._types import * ----> [2](https://vscode-remote+ssh-002dremote-002b172-002e31-002e224-002e53.vscode-resource.vscode-cdn.net/home/kongxiaoqian/project/flame-main/~/anaconda3/envs/flame/lib/python3.8/site-packages/OpenGL/osmesa/__init__.py:2) from OpenGL.raw.osmesa.mesa import * File ~/anaconda3/envs/flame/lib/python3.8/site-packages/OpenGL/raw/osmesa/mesa.py:34 [30](https://vscode-remote+ssh-002dremote-002b172-002e31-002e224-002e53.vscode-resource.vscode-cdn.net/home/kongxiaoqian/project/flame-main/~/anaconda3/envs/flame/lib/python3.8/site-packages/OpenGL/raw/osmesa/mesa.py:30) OSMesaGetCurrentContext = _p.GetCurrentContext [32](https://vscode-remote+ssh-002dremote-002b172-002e31-002e224-002e53.vscode-resource.vscode-cdn.net/home/kongxiaoqian/project/flame-main/~/anaconda3/envs/flame/lib/python3.8/site-packages/OpenGL/raw/osmesa/mesa.py:32) @_f [33](https://vscode-remote+ssh-002dremote-002b172-002e31-002e224-002e53.vscode-resource.vscode-cdn.net/home/kongxiaoqian/project/flame-main/~/anaconda3/envs/flame/lib/python3.8/site-packages/OpenGL/raw/osmesa/mesa.py:33) @_p.types(OSMesaContext,GLenum, OSMesaContext) ---> [34](https://vscode-remote+ssh-002dremote-002b172-002e31-002e224-002e53.vscode-resource.vscode-cdn.net/home/kongxiaoqian/project/flame-main/~/anaconda3/envs/flame/lib/python3.8/site-packages/OpenGL/raw/osmesa/mesa.py:34) def OSMesaCreateContext(format,sharelist): pass [36](https://vscode-remote+ssh-002dremote-002b172-002e31-002e224-002e53.vscode-resource.vscode-cdn.net/home/kongxiaoqian/project/flame-main/~/anaconda3/envs/flame/lib/python3.8/site-packages/OpenGL/raw/osmesa/mesa.py:36) @_f [37](https://vscode-remote+ssh-002dremote-002b172-002e31-002e224-002e53.vscode-resource.vscode-cdn.net/home/kongxiaoqian/project/flame-main/~/anaconda3/envs/flame/lib/python3.8/site-packages/OpenGL/raw/osmesa/mesa.py:37) @_p.types(OSMesaContext,GLenum, GLint, GLint, GLint, OSMesaContext) [38](https://vscode-remote+ssh-002dremote-002b172-002e31-002e224-002e53.vscode-resource.vscode-cdn.net/home/kongxiaoqian/project/flame-main/~/anaconda3/envs/flame/lib/python3.8/site-packages/OpenGL/raw/osmesa/mesa.py:38) def OSMesaCreateContextExt(format, depthBits, stencilBits,accumBits,sharelist ): pass File ~/anaconda3/envs/flame/lib/python3.8/site-packages/OpenGL/raw/osmesa/mesa.py:9, in _f(function) [7](https://vscode-remote+ssh-002dremote-002b172-002e31-002e224-002e53.vscode-resource.vscode-cdn.net/home/kongxiaoqian/project/flame-main/~/anaconda3/envs/flame/lib/python3.8/site-packages/OpenGL/raw/osmesa/mesa.py:7) def _f( function ): [8](https://vscode-remote+ssh-002dremote-002b172-002e31-002e224-002e53.vscode-resource.vscode-cdn.net/home/kongxiaoqian/project/flame-main/~/anaconda3/envs/flame/lib/python3.8/site-packages/OpenGL/raw/osmesa/mesa.py:8) return _p.createFunction( ----> [9](https://vscode-remote+ssh-002dremote-002b172-002e31-002e224-002e53.vscode-resource.vscode-cdn.net/home/kongxiaoqian/project/flame-main/~/anaconda3/envs/flame/lib/python3.8/site-packages/OpenGL/raw/osmesa/mesa.py:9) function,_p.PLATFORM.OSMesa, [10](https://vscode-remote+ssh-002dremote-002b172-002e31-002e224-002e53.vscode-resource.vscode-cdn.net/home/kongxiaoqian/project/flame-main/~/anaconda3/envs/flame/lib/python3.8/site-packages/OpenGL/raw/osmesa/mesa.py:10) None, [11](https://vscode-remote+ssh-002dremote-002b172-002e31-002e224-002e53.vscode-resource.vscode-cdn.net/home/kongxiaoqian/project/flame-main/~/anaconda3/envs/flame/lib/python3.8/site-packages/OpenGL/raw/osmesa/mesa.py:11) error_checker=None [12](https://vscode-remote+ssh-002dremote-002b172-002e31-002e224-002e53.vscode-resource.vscode-cdn.net/home/kongxiaoqian/project/flame-main/~/anaconda3/envs/flame/lib/python3.8/site-packages/OpenGL/raw/osmesa/mesa.py:12) ) AttributeError: 'GLXPlatform' object has no attribute 'OSMesa'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I am testing whether OSMesa functions properly, but I encountered the following error. Who can assist me? ;)
The text was updated successfully, but these errors were encountered: