#1050157 - printrun: broken 3D view due to pyglet 2+ - Debian Bug report logs

Debian Bug report logs - #1050157
printrun: broken 3D view due to pyglet 2+

Package: pronterface; Maintainer for pronterface is Debian 3-D Printing Packages <3dprinter-general@lists.alioth.debian.org>; Source for pronterface is src:printrun (PTS, buildd, popcon).

Affects: plater

Reported by: Rock Storm <rockstorm@gmx.com>

Date: Mon, 21 Aug 2023 07:45:02 UTC

Severity: serious

Forwarded to https://github.com/kliment/Printrun/issues/1291

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, rockstorm@gmx.com, Debian 3-D Printing Packages <3dprinter-general@lists.alioth.debian.org>:
Bug#1050157; Package printrun. (Mon, 21 Aug 2023 07:45:04 GMT) (full text, mbox, link).


Acknowledgement sent to Rock Storm <rockstorm@gmx.com>:
New Bug report received and forwarded. Copy sent to rockstorm@gmx.com, Debian 3-D Printing Packages <3dprinter-general@lists.alioth.debian.org>. (Mon, 21 Aug 2023 07:45:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Rock Storm <rockstorm@gmx.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: printrun: broken 3D view due to pyglet 2+
Date: Mon, 21 Aug 2023 09:43:21 +0200
Package: printrun
Version: 2.0.1-1
Severity: important
X-Debbugs-Cc: rockstorm@gmx.com

Control: forwarded -1 https://github.com/kliment/Printrun/issues/1291

Dear Maintainer,

Initializing pronterface gives the following error which makes 3D views
impossible and only 2D works. Upstream is aware of this but has not
transitioned to pyglet 2+ yet.

```
$ pronterface 
3D view mode requested, but we failed to initialize it.
Falling back to 2D view, and here is the backtrace:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/printrun/gui/viz.py", line 69, in __init__
    import printrun.gcview
  File "/usr/lib/python3/dist-packages/printrun/gcview.py", line 22, in <module>
    from .gl.panel import wxGLPanel
  File "/usr/lib/python3/dist-packages/printrun/gl/panel.py", line 28, in <module>
    from pyglet.gl import glEnable, glDisable, GL_LIGHTING, glLightfv, \
ImportError: cannot import name 'GL_LIGHTING' from 'pyglet.gl' (/usr/lib/python3/dist-packages/pyglet/gl/__init__.py)
```

-- System Information:
Debian Release: trixie/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.4.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages printrun depends on:
ii  plater       2.0.1-1
ii  printcore    2.0.1-1
ii  pronsole     2.0.1-1
ii  pronterface  2.0.1-1

printrun recommends no packages.

printrun suggests no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Debian 3-D Printing Packages <3dprinter-general@lists.alioth.debian.org>:
Bug#1050157; Package printrun. (Thu, 24 Aug 2023 14:09:09 GMT) (full text, mbox, link).


Acknowledgement sent to Rock Storm <rockstorm@gmx.com>:
Extra info received and forwarded to list. Copy sent to Debian 3-D Printing Packages <3dprinter-general@lists.alioth.debian.org>. (Thu, 24 Aug 2023 14:09:09 GMT) (full text, mbox, link).


Message #10 received at 1050157@bugs.debian.org (full text, mbox, reply):

From: Rock Storm <rockstorm@gmx.com>
To: 1050157@bugs.debian.org
Subject: Reassign and raise severity
Date: Thu, 24 Aug 2023 16:04:58 +0200
Control: reassign -1 pronterface
Control: affects -1 plater
Control: severity -1 serious
Control: forwarded -1 https://github.com/kliment/Printrun/issues/1291
Control: tags 1050166 - moreinfo

Reassigning to `pronterface` since it doesn't really affect the full
printrun suite. `plater` suffers the exact same issue but neither
`pronsole` nor `printcore` do.

Severity raised to serious to avoid package migration.

For refernce, this would be the system information pertaining to
pronterface:

-- System Information:
Debian Release: trixie/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'unstable'), (500, 'testing')=
, (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.4.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIG=
NED_MODULE
Locale: LANG=3Den_US.UTF-8, LC_CTYPE=3Den_US.UTF-8 (charmap=3DUTF-8), LANGU=
AGE=3Den_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pronterface depends on:
ii  pronsole          2.0.1-1
ii  python3           3.11.4-5+b1
ii  python3-cairosvg  2.7.0-1
ii  python3-gi        3.44.1-2
ii  python3-libxml2   2.9.14+dfsg-1.3
ii  python3-numpy     1:1.24.2-1
ii  python3-pyglet    2.0.9+ds-1
ii  python3-wxgtk4.0  4.2.1+dfsg-1

Versions of packages pronterface recommends:
ii  slic3r  1.3.0+dfsg1-5+b2

pronterface suggests no packages.

Regards,

--=20
=E2=A2=A0=E2=A3=A4=E2=A3=BC=E2=A3=A7=E2=A3=A4=E2=A1=84 Rock Storm
=E2=A3=B6=E2=A3=BF=E2=A0=8B=E2=A0=99=E2=A3=BF=E2=A3=B6=E2=A0=80https://gith=
ub.com/rockstorm101
=E2=A2=A8=E2=A0=BF=E2=A0=83=E2=A0=98=E2=A2=BF=E2=A1=85 C304 34B3 632C 464C =
2FAF C741 0439 CF52 C968 32FD










Bug reassigned from package 'printrun' to 'pronterface'. Request was from Rock Storm <rockstorm@gmx.com> to 1050157-submit@bugs.debian.org. (Thu, 24 Aug 2023 14:09:09 GMT) (full text, mbox, link).


No longer marked as found in versions printrun/2.0.1-1. Request was from Rock Storm <rockstorm@gmx.com> to 1050157-submit@bugs.debian.org. (Thu, 24 Aug 2023 14:09:10 GMT) (full text, mbox, link).


Added indication that 1050157 affects plater Request was from Rock Storm <rockstorm@gmx.com> to 1050157-submit@bugs.debian.org. (Thu, 24 Aug 2023 14:09:10 GMT) (full text, mbox, link).


Severity set to 'serious' from 'important' Request was from Rock Storm <rockstorm@gmx.com> to 1050157-submit@bugs.debian.org. (Thu, 24 Aug 2023 14:09:11 GMT) (full text, mbox, link).


Set Bug forwarded-to-address to 'https://github.com/kliment/Printrun/issues/1291'. Request was from Rock Storm <rockstorm@gmx.com> to 1050157-submit@bugs.debian.org. (Thu, 24 Aug 2023 14:09:11 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Nov 28 01:25:31 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.