Can't load mesh configuartion and I don't know why

Hi, I have problems to get the bed mesh working.

My system:

  • latest klipper firmware (todays) on a raspberry 3b
  • Ender 3 Pro

What I did:
After printing with klipper for a few weeks, now I wanted to do the bed mesh leveling.
I followed these tips (Method 2) and everything works as expected. I started the mesh test via the menu on the LCD and did the 9 paper tests on the positions
that were approached by the printer. Then I saved the mesh configuration as “default” with “SAVE_CONFIG” and also I saved the mesh configuration as “MESH_3x3” with "BED_MESH_PROFILE SAVE=MESH_3x3.

What I’ve got in my printer.cfg is:

[bed_mesh]
speed:100
mesh_min: 10,10
mesh_max: 210,210
probe_count: 3,3
fade_start: 1.0
fade_end: 10.0
fade_target: 0.0
mesh_pps: 2,2

and

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 0.000000, -0.140000, -0.080000
#*# 0.160000, 0.040000, 0.060000
#*# 0.080000, -0.040000, 0.000000
#*# tension = 0.2
#*# min_x = 10.0
#*# algo = lagrange
#*# y_count = 3
#*# mesh_y_pps = 2
#*# min_y = 10.0
#*# x_count = 3
#*# max_y = 210.0
#*# mesh_x_pps = 2
#*# max_x = 210.0
#*#
#*# [bed_mesh MESH_3x3]
#*# version = 1
#*# points =
#*# 0.000000, -0.140000, -0.080000
#*# 0.160000, 0.040000, 0.060000
#*# 0.080000, -0.040000, 0.000000
#*# tension = 0.2
#*# min_x = 10.0
#*# algo = lagrange
#*# y_count = 3
#*# mesh_y_pps = 2
#*# min_y = 10.0
#*# x_count = 3
#*# max_y = 210.0
#*# mesh_x_pps = 2
#*# max_x = 210.0

Whats my problem :
As I told I got the message that the configuration was saved as “…”.
But when I try to load a configuration i only get

Send: BED_MESH_PROFILE LOAD=default
Recv: !! bed_mesh: Unknown profile [default]
Recv: ok

or

Send: BED_MESH_PROFILE LOAD=MESH_3x3
Recv: !! bed_mesh: Unknown profile [MESH_3x3]
Recv: ok

Why I can’t load the mesh configuration even though it is available in printer.cfg ?
Before I also did a 6x6 mesh which also was saved as “default”. But after getting
problems I started to test with a 3x3 mesh.

Ok, I found out what my problem is:
My printer.cfg had multiple blocks starting with

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#

Between them also existing manual config parts.
So I cleaned up my printer.cfg and also removed all auto-generated blocks.
Then I rerun all needed config scripts like the PIDs for the heaters and
the mesh.
Now the mesh configuration is working and I’ve learned something :grin: