-
Hello, After removing all old macros existing before in my config, and changing the prusaslicer settings accordingly, I still endet up with error:
I guess it has something to do with the layers.cfg macro, as this seems to be the only one using "PRINT_STATS_INFO"... but I am not expert engough to make any changes there... Btw, i do NOT use mainsail-macros (because this error seems to also have happended using their macro configuration) |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
I can confirm that it was related to layers.config - removing it from the imports did the trick (with loosing the functionality of course). I now run into problems with my setting is exactly the one in the install-instructions (path being correct already): PS: I understand that globals.cfg makes it a requirement to defien an on_error_gcode. I wonder why this is required - I didnt have one before and it worked fine, and the most dangerous thing that could go wrong is a failed print... PPS: I also tried to define a simple CANCLE_PRINT makro directly in printer.cfg, but the error message remained the same. |
Beta Was this translation helpful? Give feedback.
-
The SET_PRINT_STATS_INFO gcode has been supported in Klipper for more than a year. So, you hit this error because you're running an old, unsupported version of Klipper. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the Hint! I suppose you are refering to the software running on my pi, not the firmware version of the controller board? I am running the latest version of the octoprint klipper plugin available (https://github.com/thelastWallE/OctoprintKlipperPlugin). but I see now, that this is arleady from febraury 23... Seems like octoprint has an outdated klipper version in the back... do you have a recommondation for which interface to use? |
Beta Was this translation helpful? Give feedback.
-
after updating Klipper (Needed to do a git-pull in the klipper folder of the raspberry) it worked. updating steps 2. Navigate to the Klipper Directory: Once logged in, navigate to the Klipper directory using the command: 3. Stop the Klipper Service: Before updating, you need to stop the Klipper service. Use the command: 4. Fetch the Latest Code: Now, update the Klipper software to the latest version with the command: 5. Recompile the Klipper Firmware: Recompile the firmware with 6. Flash the Firmware to Your Printer (if needed): (Using BIGTREETECH SKR Mini E3 V2.0, that I already had klipper running on, id didnt need to) 7. Restart the Klipper Service: Once everything is updated and the new firmware is flashed (if needed), restart the Klipper service with: 8. Check OctoPrint: Finally, go to the OctoPrint interface in your web browser and check if everything is running smoothly. You might need to reconnect OctoPrint to your printer. |
Beta Was this translation helpful? Give feedback.
-
Use SSH go to the mainsail-config folder "sudo chmod 765 client.cfg" then use nano (sudo nano client.cfg) and comment the line rename_existing: SET_PRINT_STATS_INFO_BASE (#rename_existing: SET_PRINT_STATS_INFO_BASE). save and restart |
Beta Was this translation helpful? Give feedback.
The SET_PRINT_STATS_INFO gcode has been supported in Klipper for more than a year. So, you hit this error because you're running an old, unsupported version of Klipper.