kliment / Printrun

Pronterface, Pronsole, and Printcore - Pure Python 3d printing host software

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RuntimeError: wrapped C/C++ object of type GcodeViewPanel has been deleted

rockstorm101 opened this issue · comments

Steps to reproduce

  • Checkout latest master 8fd9b8b
  • 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.