[Python-modules-team] Bug#825165: python3-opengl: Can no longer call OSMesaCreateContext for offscreen OpenGL

Lawrence D'Oliveiro from-debian-bugs at geek-central.gen.nz
Tue May 24 08:57:06 UTC 2016


Package: python3-opengl
Version: 3.1.0+dfsg-1
Severity: important

Dear Maintainer,

The following lines work from the interactive prompt in Python 2, but
not in Python 3:

    from OpenGL.platform import osmesa; omp = osmesa.OSMesaPlatform
    omp.OSMesaCreateContext

The last line reports the error “AttributeError: type object 'OSMesaPlatform'
has no attribute 'OSMesaCreateContext'” in Python 3. This function is needed
for creating offscreen OpenGL contexts.

This used to work back when the latest version of Python 3.4. Now I have tried
both 3.4 and 3.5, with the same error.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.5.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_NZ.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-opengl depends on:
ii  freeglut3                 2.8.1-2
ii  libgl1-mesa-glx [libgl1]  11.2.2-1
ii  libglu1-mesa [libglu1]    9.0.0-2.1
pn  python3:any               <none>

python3-opengl recommends no packages.

Versions of packages python3-opengl suggests:
ii  libgle3        3.1.0-7.1
ii  python3-numpy  1:1.11.0-1
ii  python3-tk     3.5.1-1

-- no debconf information



More information about the Python-modules-team mailing list