Open traceyflanders opened 1 year ago
Hi, can you please attach your log- and config file as zip file? Search for printrunconf.ini and Printrun.log. The location for the log file can be found here:
For the config file please search for it as I don't know where the locations are for macOS. In Windows they have two locations (you need to delete both), so better search for it. Make a backup of the file first and then delete it. Pronterface will create an initial new one as soon as you launch it again.
The path is : /Users/Your_Username/Library/Application Support/Printrun/ pronsolerc can be edited in any Texteditor. As for the buttons, the index of the buttons in the settings file (button 0, button 1, button 2, etc...) must have an ascending sequence. If one index is missing (0, 1, _, 3) the loading of the buttons will fail. The order of the indices doesn't matter tho.
Yea, I still forgot that macOS and Linux use a different file name for the config file...
@traceyflanders, had this solve your problem?
Hello,
I get an error when trying to launch Pronterface after it crashed added a custom button. It did work for a few days until I added a custom button. Is there a user settings file I can delete to remove the customization? I couldn't find anything in my home directory that was related.
This is what I get when I launch it via terminal.
OUTPUT
user@AlphaMusk-M2-MacBook-Pro ~ % /Applications/pronterface.app/Contents/MacOS/pronterface 2023-05-01 17:53:09.924 pronterface[1386:21749] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/t5/htk9tx7n07bck2nt_840m_4c0000gn/T/pronterface.savedState Traceback (most recent call last): File "pronterface.py", line 62, in
File "printrun/pronterface.py", line 2582, in init
File "printrun/pronterface.py", line 219, in init
File "printrun/pronterface.py", line 293, in reload_ui
File "printrun/gui/init.py", line 295, in createGui
File "printrun/pronterface.py", line 2155, in cbuttons_reload
wx._core.wxAssertionError: C++ assertion "CheckExpectedParentIs(w, m_containingWindow)" failed at /Users/robind/projects/bb2/dist-osx-py310/build/ext/wxWidgets/src/common/sizer.cpp(850) in DoInsert(): Windows managed by the sizer associated with the given window must have this window as parent, otherwise they will not be repositioned correctly.
Please use the window wxPanel@0x7fe1b2f97150 ("panel") with which this sizer is associated, as the parent when creating the window wxStaticText@0x7fe1b2f9df90 ("staticText") managed by it. [1386] Failed to execute script 'pronterface' due to unhandled exception: C++ assertion "CheckExpectedParentIs(w, m_containingWindow)" failed at /Users/robind/projects/bb2/dist-osx-py310/build/ext/wxWidgets/src/common/sizer.cpp(850) in DoInsert(): Windows managed by the sizer associated with the given window must have this window as parent, otherwise they will not be repositioned correctly.
Please use the window wxPanel@0x7fe1b2f97150 ("panel") with which this sizer is associated, as the parent when creating the window wxStaticText@0x7fe1b2f9df90 ("staticText") managed by it. [1386] Traceback: Traceback (most recent call last): File "pronterface.py", line 62, in
File "printrun/pronterface.py", line 2582, in init
File "printrun/pronterface.py", line 219, in init
File "printrun/pronterface.py", line 293, in reload_ui
File "printrun/gui/init.py", line 295, in createGui
File "printrun/pronterface.py", line 2155, in cbuttons_reload
wx._core.wxAssertionError: C++ assertion "CheckExpectedParentIs(w, m_containingWindow)" failed at /Users/robind/projects/bb2/dist-osx-py310/build/ext/wxWidgets/src/common/sizer.cpp(850) in DoInsert(): Windows managed by the sizer associated with the given window must have this window as parent, otherwise they will not be repositioned correctly.
Please use the window wxPanel@0x7fe1b2f97150 ("panel") with which this sizer is associated, as the parent when creating the window wxStaticText@0x7fe1b2f9df90 ("staticText") managed by it.
END OUTPUT
My Mac Info M2-MacBook-Pro ~ % systemstats
Summary