Strange situation and save_config error

Basic Information:

Printer Model: voron 2.4 ( DIY)
MCU / monster8 v2
Host / Pi 4
klippy.log

greetings to everyone. i encountered an interesting situation. i did a new klipper installation. klipper for system backup KGB i installed this utility and automatically backed up my files. then when i was continuing the configuration i could not use the save_config command. and i had to manually specify settings that were previously saved with save_config. for example z offset, pid extruder, pid hotbed… what could be the problem.

Seriously, this isn’t your first post here, and again, no klippy.log. What is so terribly difficult with this?

Also, attach your printer.cfg file. This is completely unrelated to your backup stuff.

1 Like

I am very sorry … I know. my system is installed at work, I sent this message from home… I am adding it now
klippy (1).log (613.3 KB)

this printer.cfg file is a backup file from the old system. i downloaded it from the github repository and uploaded it to the system. there is a difference in the klipper version update. the latest updated version from v 11 was installed. i manually deleted some save config data before submitting this file. ( z-offset, hotbabed: kp-ki-kd, extruder: kp-ki-kd …)

Please attach as requested

printer.cfg (9.3 KB)

Thank you sineos…for your help and interest in the subject.

most probably where i made a mistake and the problem was my lack of knowledge. i completely deleted the save_config section at the bottom of the backup printer.cfg file i uploaded.

for the extruder and hotbed for testing; I ran the PID_CALIBRATE commands. and the “save_config” command did the necessary operation.

I hope this can help novice users who are having a problem like me to find a solution.

Hmm, this is a bit strange as the printer.cfg looks okay regarding the save_config block. Try the following approach:

[extruder]
...
#control: pid        # <---- remove comment
#pid_kp: 16.346  # <---- remove comment
#pid_ki: 0.991     # <---- remove comment
#pid_kd: 67.427  # <---- remove comment

[heater_bed]
...
#control: pid          # <---- remove comment
#pid_kp: 47.224    # <---- remove comment
#pid_ki: 1.779       # <---- remove comment
#pid_kd: 313.449  # <---- remove comment

Remove the commented-out settings as shown above and delete the entire block:

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 16.406
#*# pid_ki = 1.013
#*# pid_kd = 66.443
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 34.731
#*# pid_ki = 1.838
#*# pid_kd = 164.103

Restart Klipper and then try PID tuning again. If the error persists, show the output of:

ls -al /home/arjanbuijserd/printer_data/config/printer.cfg
1 Like

The same path was followed as you directed. When this problem occurred, the klipper system forced me to open all the closed lines in the printer.cfg file. After the system was opened, the “save_config” command did not work to save the PID settings, offset settings, etc. Then, after deleting the save_config section at the bottom from the old system, save_config started working in the operations I performed…

Thank you again for your help and advice.

With your permission, I am marking this post as solved.