[3dprinter-general] Bug#1050157: printrun: broken 3D view due to pyglet 2+

Rock Storm rockstorm at gmx.com
Mon Aug 21 08:43:21 BST 2023

Package: printrun
Version: 2.0.1-1
Severity: important
X-Debbugs-Cc: rockstorm at 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)
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

More information about the 3dprinter-general mailing list