pronterface crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical SSO provider |
New
|
Undecided
|
Unassigned |
Bug Description
pronterface (part of printrun package) crashes with:
WARNING:root:RPC server bound on non-default port 7981
Traceback (most recent call last):
File "/usr/bin/
app = PronterApp(False)
File "/usr/lib/
self.mainwindow = PronterWindow(self)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
viz_pane = VizPane(self, vizpanel)
File "/usr/lib/
root.gwindow = gviz.GvizWindow
File "/usr/lib/
self.p = Gviz(panel, size = size, build_dimensions = build_dimensions, grid = grid, extrusion_width = extrusion_width, bgcolor = bgcolor, realparent = self)
File "/usr/lib/
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'
This is a bug exposed by using an old version of printrun on python 3.10 (rather than 3.9).
This bug was fixed ages ago (I originally reported the same bug on Fedora, and was involved in testing the fix).
I suspect all you need to do is to update printrun in the Ubuntu repository to the current version from the printrun git. I am currently running their version of pronterface, which works fine.
I have just found the issue on github:
https:/ /github. com/kliment/ Printrun/ issues/ 1225
I reported it and it was fixed (almost immediately) 2 years ago!
The current issue with Ubuntu is mentioned twice near the bottom of that page.