[3dprinter-general] Bug#1010400: printrun: Pronterface crashes under python 3.10
Renzo Davoli
renzo at cs.unibo.it
Sat Apr 30 15:57:54 BST 2022
Package: printrun
Version: 2.0.0~rc8-1
Severity: important
Tags: upstream
X-Debbugs-Cc: renzo at cs.unibo.it
Dear Maintainer,
The bug should have been fixed in upstream git:
https://github.com/kliment/Printrun/issues/1225
$ pronterface
WARNING:root:Could not setup DBus for sleep inhibition: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ScreenSaver was not provided by any .service files
Traceback (most recent call last):
File "/usr/bin/pronterface", line 62, in <module>
app = PronterApp(False)
File "/usr/lib/python3/dist-packages/printrun/pronterface.py", line 2455, in __init__
self.mainwindow = PronterWindow(self)
File "/usr/lib/python3/dist-packages/printrun/pronterface.py", line 219, in __init__
self.reload_ui()
File "/usr/lib/python3/dist-packages/printrun/pronterface.py", line 293, in reload_ui
self.createGui(self.settings.uimode == _("Compact"),
File "/usr/lib/python3/dist-packages/printrun/gui/__init__.py", line 259, in createGui
viz_pane = VizPane(self, vizpanel)
File "/usr/lib/python3/dist-packages/printrun/gui/viz.py", line 115, in __init__
root.gwindow = gviz.GvizWindow(build_dimensions = root.build_dimensions_list,
File "/usr/lib/python3/dist-packages/printrun/gviz.py", line 77, in __init__
self.p = Gviz(panel, size = size, build_dimensions = build_dimensions, grid = grid, extrusion_width = extrusion_width, bgcolor = bgcolor, realparent = self)
File "/usr/lib/python3/dist-packages/printrun/gviz.py", line 197, in __init__
self.mainpen = wx.Pen(wx.Colour(0, 0, 0), penwidth)
TypeError: Pen(): arguments did not match any overloaded call:
overload 1: too many arguments
overload 2: argument 2 has unexpected type 'float'
overload 3: argument 1 has unexpected type 'Colour'
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.16.0-6-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: 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.0~rc8-1
ii printcore 2.0.0~rc8-1+b1
ii pronsole 2.0.0~rc8-1
ii pronterface 2.0.0~rc8-1
printrun recommends no packages.
printrun suggests no packages.
-- no debconf information
More information about the 3dprinter-general
mailing list