protoloft / klipper_z_calibration

Klipper plugin for self-calibrating z-offset
GNU General Public License v3.0
1.06k stars 152 forks source link

Section 'z_calibration' is not a valid config section #77

Closed 76900289 closed 1 year ago

76900289 commented 1 year ago

klipper v0.11.0-41-g9b60daf6 Section 'z_calibration' is not a valid config section?

gdachs commented 1 year ago

That is not an issue. Your configuration is wrong. Most likely you didn't add [include z_calibration.cfg] to your printer.cfg. Before you open an issue on github, always triple check that the problem is not on your side.

76900289 commented 1 year ago

Added. It is a problem after updating KLIPPER

76900289 commented 1 year ago

It is normal before updating

gdachs commented 1 year ago

I use the same Klipper version with z_calibration, no problems. Upload your klippy.log.

76900289 commented 1 year ago

klippy.txt

gdachs commented 1 year ago

what gives ls -l ~/klipper/klippy/extras/z_calibration.py

76900289 commented 1 year ago

I see. The update uninstalled this file. Thank you very much

gdachs commented 1 year ago

How did you update?

76900289 commented 1 year ago

1111 here

aCtionBR commented 1 year ago

Hello I have just executed an update all in my configuration manager. I had my z_calibration working perfect before and now the system is presenting this same error after this update. I am adding a print of the error and a copy of klippy.log. Can you please help me to identify what is wrong?

Capturar

klippy.log

aCtionBR commented 1 year ago

I solved it. I have seen a lot of comments in other foruns about this problem, but none of them commented what solved my problem, so I am adding below what was the problem. Maybe it helps others. There has been an update on the format accepted in z_calibration.cfg file. I have not looked into when it happend, what I learned is that the old configuration directives (like probe_nozzle_x: xxx) is no longer accepted. You have to adapt your z_calibration.cfg file to the new standard that uses nozzle_xy_position insted of probe_nozzle_x and probe_nozzle_y.

I got it from the configuration file presented at https://github.com/protoloft/klipper_z_calibration/wiki/How-To-Configure-It. Then I researched for some examples of z_calibration.cfg file in the internet to double check.