Your message dated Fri, 27 Jan 2023 00:23:37 +0000
with message-id <e1plcwn-00bfmw...@fasolo.debian.org>
and subject line Bug#1029011: fixed in pyopengl 3.1.6+dfsg-2
has caused the Debian Bug report #1029011,
regarding python3-opengl: GLUT import error on Wayland
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1029011: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029011
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python3-opengl
Version: 3.1.6+dfsg-1
Severity: grave
Tags: upstream
Justification: renders package unusable
X-Debbugs-Cc: s...@highlab.com


GLUT fails to import on Wayland (using EGL), but it works if you force
it to GLX:

  $ echo $XDG_SESSION_TYPE
  wayland

  $ python3 -c 'from OpenGL.GLUT import *'
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/usr/lib/python3/dist-packages/OpenGL/GLUT/__init__.py", line 5, in 
<module>
      from OpenGL.GLUT.fonts import *
    File "/usr/lib/python3/dist-packages/OpenGL/GLUT/fonts.py", line 20, in 
<module>
      p = platform.getGLUTFontPointer( name )
    File "/usr/lib/python3/dist-packages/OpenGL/platform/baseplatform.py", line 
350, in getGLUTFontPointer
      raise NotImplementedError(
  NotImplementedError: Platform does not define a GLUT font retrieval function

  $ PYOPENGL_PLATFORM=x11 python3 -c 'from OpenGL.GLUT import *; print("no 
problem")'
  no problem


Looking at OpenGL.platform.egl[0] there is indeed no
`getGLUTFontPointer()` function, unlike in OpenGL.platform.glx[1] where
the function *does* exist.

0: <https://github.com/mcfletch/pyopengl/blob/master/OpenGL/platform/egl.py>,
1: <https://github.com/mcfletch/pyopengl/blob/master/OpenGL/platform/glx.py#L97>

The problem is not present in 3.1.5 (e.g. in Bullseye), because the
older platform detection code there does not try to detect Wayland and
so chooses GLX (which works) instead of EGL (which fails):

3.1.5:
* 
<https://github.com/mcfletch/pyopengl/blob/3e9791ffb4cd4831dae261d6bea3049ce9e78f01/OpenGL/__init__.py#L211-L218>
* 
<https://github.com/mcfletch/pyopengl/blob/3e9791ffb4cd4831dae261d6bea3049ce9e78f01/OpenGL/platform/__init__.py#L25-L26>

3.1.6:
* 
<https://github.com/mcfletch/pyopengl/blob/master/OpenGL/__init__.py#L211-L222>
* 
<https://github.com/mcfletch/pyopengl/blob/master/OpenGL/platform/__init__.py#L29-L46>

Reported to upstream here: <https://github.com/mcfletch/pyopengl/issues/89>


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

Kernel: Linux 6.0.0-6-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-opengl depends on:
ii  libgl1                  1.5.0-1
ii  libglu1-mesa [libglu1]  9.0.2-1.1
ii  python3                 3.10.6-3+b1

python3-opengl recommends no packages.

Versions of packages python3-opengl suggests:
pn  libgle3        <none>
ii  python3-numpy  1:1.23.5-2
ii  python3-tk     3.10.8-1

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: pyopengl
Source-Version: 3.1.6+dfsg-2
Done: Scott Talbert <s...@techie.net>

We believe that the bug you reported is fixed in the latest version of
pyopengl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1029...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Scott Talbert <s...@techie.net> (supplier of updated pyopengl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 26 Jan 2023 18:26:28 -0500
Source: pyopengl
Architecture: source
Version: 3.1.6+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Scott Talbert <s...@techie.net>
Closes: 1029011
Changes:
 pyopengl (3.1.6+dfsg-2) unstable; urgency=medium
 .
   [ Sebastian Kuzminsky ]
   * Team upload.
   * Include a patch from Scott Talbert (Closes: #1029011).
Checksums-Sha1:
 9af7776d5f856d451182a66dc6e9bc3936495ec5 2325 pyopengl_3.1.6+dfsg-2.dsc
 42ec1168085cd4d22110c9ccecb0ae669f66346c 11120 
pyopengl_3.1.6+dfsg-2.debian.tar.xz
 5747af9814022f8a75b88083799c1f332e831553 10573 
pyopengl_3.1.6+dfsg-2_amd64.buildinfo
Checksums-Sha256:
 2b3ca8cb957205610ddcb7c9377f0d07047ef4d96adf2a3ad8530eacdbc93541 2325 
pyopengl_3.1.6+dfsg-2.dsc
 6b1c7fe2f44c909460b4000241bb7b96ec252bfee554a26ad7373d10f9a6105e 11120 
pyopengl_3.1.6+dfsg-2.debian.tar.xz
 8f52a84e0ce5653d4d04765fbc1670de451ce2faff843126b9b2a341fe1115f7 10573 
pyopengl_3.1.6+dfsg-2_amd64.buildinfo
Files:
 2a4d71ff19483db3913f79071d34306c 2325 python optional pyopengl_3.1.6+dfsg-2.dsc
 aa4901f7198eea8480d8621b27bfb401 11120 python optional 
pyopengl_3.1.6+dfsg-2.debian.tar.xz
 662f64262275731d0fc60e57dab86414 10573 python optional 
pyopengl_3.1.6+dfsg-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEEbnQ09Yl9Q7F/zVe3U9W8ZLUjeKIFAmPTDVsPHHN3dEB0ZWNo
aWUubmV0AAoJEFPVvGS1I3iiyZoQAKzIia6UEL5H5YDSm6mw///KEgbjJmOE3Xwx
6lmzsQPg9msV47YNattJuitYrEsGfUtMK24mpSSbdIgKTTnY6nv4Ywxy4bH8eDxm
+E5MnYEJMmRudl01Q4HQVGUKl8gakXNymmMvtWSb1KMhELCSQXxf3LKdUzZ4McjZ
I7YfZldqdCjS3ry+nJmbYJk7Ybe9hMCxATTI9muoX2sSSzzC8U+r0WdcxE8E6mlz
X2BQGWix3Ksdd4l7Y49EA84jUYclet1KIHF/Q1omA5Jano5GZPVauaietrRnD/A2
HWElYS1mZVFTfyl3VWO05hlDirdytuB4A29BPGg++Alqeh9fR5Uau/BdMXf9TByy
YAAARHNxAZkTNHt4Nh0JRqqbgD1PJkMqGVP9PshACMuaX3JAazz8YOHgN7eu2yV3
5/PhJ1o6YN2OXiltPQZdN7lMgiZHbjcVPV8vrXxjGzPD8Y2yU7gQ9dCV6gVDCy6Y
WuHS+emd6tk/tge9WTYpnnPGnS+jjCcKgZv3zIlLWU4ZgOhJzTd4svAPURkaGj3Y
Mo8mcN4BdYbGKgUYU6H2EsEi7UTy8cgMbL9aqkF7OmfM3jQ670jL5wI4wAmxXOGB
eFADxBBGp/Z6cepySDg2Jj7WJTsjCZXdo75LlyLAYJMQUKaFyZ/0RdrfY6z5ZhN2
x+HYE0UL
=7tJs
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to