Klipper "Internal error on command:"PROBE_CALIBRATE""

Basic Information:

Printer Model:
Ender 3 Pro
MCU / Printerboard:
BTT SKR 3 EZ with CR-Touch
klippy.log
klippy.log (328.1 KB)

Fill out above information and in all cases attach your klippy.log file. Pasting your printer.cfg is not needed

Describe your issue:

Trying to do a PROBE_CALIBRATE using the following console commands:
G28
PROBE_CALIBRATE
probe at 138.000,109.000 is z=0.690500
Klipper state: Shutdown
Internal error on command:“PROBE_CALIBRATE”

Internal error on command:“PROBE_CALIBRATE”
Once the underlying issue is corrected, use the
“FIRMWARE_RESTART” command to reset the firmware, reload the
config, and restart the host software.
Printer is shutdown

I see the following error in the klippy.log:
Internal error on command:“PROBE_CALIBRATE”
Traceback (most recent call last):
File “/home/pi/klipper/klippy/gcode.py”, line 198, in _process_commands
handler(gcmd)
File “/home/pi/klipper/klippy/gcode.py”, line 135, in
func = lambda params: origfunc(self._get_extended_params(params))
File “/home/pi/klipper/klippy/extras/probe.py”, line 268, in cmd_PROBE_CALIBRATE
self.probe_calibrate_finalize)
File “/home/pi/klipper/klippy/extras/manual_probe.py”, line 99, in init
self.gcode.register_command(‘NEXT’, self.cmd_ACCEPT)
File “/home/pi/klipper/klippy/gcode.py”, line 132, in register_command
“gcode command %s already registered” % (cmd,))
Error: gcode command NEXT already registered
Transition to shutdown state: Internal error on command:“PROBE_CALIBRATE”

Any idea on whether this is a hardware issue or a problem with my configuration.

I’m seeing so many configs, where people do not have a working Klipper setup yet but their configs are full of macros that they either:

  • do not understand
  • do not need
  • are from dubious sources
  • all 3 above

Something I will never understand :man_shrugging:

That having said there is a bug somewhere in your macros but I do not feel the urge to search for it. Most likely around

[gcode_macro NEXT]
gcode = 
	m876 S2
1 Like

Thanks for taking a look.

It’s an issue in the M600 macro that I was using. Once I got rid of that macro PROBE_CALIBRATE is working again.

The PROBE_CALIBRATE expects a typed in command at the end.
You do not have that with the LCD menu.