Unable to parse max_z_accel

Ender 3 v2 + BTT Octopus + Klipper and Octoprint used both example files to build printer.cfg but can’t get past this error. printer.cfg (4.1 KB)

Hello @jeryjr !

You may a a smaller value. 50 or less.

I tried that and it still doesn’t work. I’m fixing to just switch back to Marlin

It’s important to be careful with comments and whitespace in the config file.

If you look closely at your config, the first non-comment line after max_z_accel is an assignment of EXP1_1… Which the config is associating with max_z_accel and causing a parsing error.

In general, if you get these types of errors, best to double check formatting and whitespace everywhere in the config file.

-Kevin

1 Like

und wie löst man das problem genau

Please open a new topic together with your klippy.log

1 Like

klippy.log (824.9 KB)

grafik

This is how Klipper sees your config.

jao so gut bin ich nun auch wieder nicht. bin ein totaler Neuling. wie muss ich da vorgehen um das Problem zu beheben .

  • Check your printer.cfg file
  • There should be somewhere a block:
[printer]
kinematics = cartesian
max_velocity = 200
max_accel = 3000
max_z_velocity = 100
max_z_accel = 100
	TMC2208 configuration

The last line TMC2208 configuration is not a configuration item but a comment. Replace it by

[printer]
kinematics = cartesian
max_velocity = 200
max_accel = 3000
max_z_velocity = 100
max_z_accel = 100

# TMC2208 configuration

Edit: And please try to stick to English, also out of courtesy to the other readers