Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error When launching #1281

Closed
Xeidit opened this issue Aug 4, 2022 · 2 comments
Closed

Error When launching #1281

Xeidit opened this issue Aug 4, 2022 · 2 comments

Comments

@Xeidit
Copy link

Xeidit commented Aug 4, 2022

`WARNING:root:RPC server bound on non-default port 7994
Traceback (most recent call last):
File "/usr/bin/pronterface", line 62, in
app = PronterApp(False)
File "/usr/lib/python3/dist-packages/printrun/pronterface.py", line 2439, in init
self.mainwindow = PronterWindow(self)
File "/usr/lib/python3/dist-packages/printrun/pronterface.py", line 207, in init
self.reload_ui()
File "/usr/lib/python3/dist-packages/printrun/pronterface.py", line 281, 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'

`Version 2.0
Using pop os,

I'm new with linux so any fixes need to be written for a noob

@rockstorm101
Copy link
Collaborator

Duplicate of #1225.

Hi @Xeidit please see this comment for the reason behind the error and a temporary workaround. You might need to (re)install Python 3.9. I could provide a .deb file for you if you are into trusting binaries from random strangers on the internet. This is issue seems to be becoming more common and patching through official repositories is not fast enough for it.

@rockstorm101
Copy link
Collaborator

Duplicate of #1225. Which is already fixed. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants