Printrun
Printrun copied to clipboard
RuntimeError: wrapped C/C++ object of type GcodeViewPanel has been deleted
Steps to reproduce
- Checkout latest master https://github.com/kliment/Printrun/commit/8fd9b8b6dab86ee0c238016f9a0ed7b0c5abea73
- Fresh install (i.e. delete all 'pronsolerc' files lying around)
- Run
./pronterface.py
- Settings -> Options -> Viewer -> Main visualization -> Change from '3D' to '2D'
Error
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/wx/core.py", line 3427, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rock/Projects/printrun/rockintrun/printrun/gl/panel.py", line 139, in Refresh
return super().Refresh(eraseback)
^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: wrapped C/C++ object of type GcodeViewPanel has been deleted
System Info
- Debian 12
- Python 3.11.1
- wxPython 4.2.0
- Pyglet 1.5.27
I can reproduce this with Fedora's pronterface (2.0.0rc8 with some commits on top).
- Fedora 37
- Python 3.11.1
- wxPython 4.2.0
- Pyglet 1.5.23
Funnily enough only without ~/.pronsolerc
. When I try to get a new one, no matter what I do in the app, the file is not created.
Funnily enough only without
~/.pronsolerc
. When I try to get a new one, no matter what I do in the app, the file is not created.
Isn't that expected? When there is no ~/.pronsolerc
the new configuration file is created at ~/.config/Printrun/pronsolerc
instead.
Aha!