[PyOpenGL-Devel] Crash with python 3.5 on ubuntu 16.04
Brought to you by:
mcfletch
From: Joel P. <joe...@ho...> - 2017-02-20 21:02:09
|
I have a very simple script: #!/usr/bin/python3 import OpenGL from OpenGL.GL import * Running this script with python 3.5.1 on an updated ubuntu 16.04 causes the following stack trace: Traceback (most recent call last): File "test.py", line 3, in <module> from OpenGL.GL import * File "/usr/lib/python3/dist-packages/OpenGL/GL/__init__.py", line 3, in <module> from OpenGL.GL.VERSION.GL_1_1 import * File "/usr/lib/python3/dist-packages/OpenGL/GL/VERSION/GL_1_1.py", line 10, in <module> from OpenGL import platform, constants, constant, arrays File "/usr/lib/python3/dist-packages/OpenGL/arrays/__init__.py", line 22, in <module> formathandler.FormatHandler.loadAll() File "/usr/lib/python3/dist-packages/OpenGL/arrays/formathandler.py", line 28, in loadAll cls.loadPlugin( entrypoint ) File "/usr/lib/python3/dist-packages/OpenGL/arrays/formathandler.py", line 35, in loadPlugin plugin_class = entrypoint.load() File "/usr/lib/python3/dist-packages/OpenGL/plugins.py", line 14, in load return importByName( self.import_path ) File "/usr/lib/python3/dist-packages/OpenGL/plugins.py", line 28, in importByName module = __import__( ".".join(moduleName), {}, {}, moduleName) File "/usr/lib/python3/dist-packages/OpenGL/arrays/vbo.py", line 430, in <module> def mapVBO( vbo, access=GL.GL_READ_WRITE ): AttributeError: module 'OpenGL.GL' has no attribute 'GL_READ_WRITE' Running exactly the same script with python 2.7.12 does not cause any crash. The installed version of pyopengl is 3.0.2. Is this a bug with pyopengl, and is this mailing list then the appropriate place to report it? |