BED_MESH_CALIBRATE PROFILE="default" fails

Basic Information:

Printer Model: Voron 2.4 R2
MCU / Printerboard: Octopus 1.1
Host / SBC: Raspberry PI
klippy.log: Yes

Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there

Describe your issue:


klippy (2).log (691.6 KB)

This site has been a tremendous help getting further down the road and closer to my first Voron Benchy.

I’m trying to do a bed mesh calibrate and it fails every time with the following error;
“Error evaluating ‘gcode_macro BED_MESH_CALIBRATE:gcode’: jinja2.exceptions.UndefinedError: ‘extras.gcode_macro.GetStatusWrapper object’ has no attribute ‘gcode_macro _USER_VARIABLE’”

I am using a bed_mesh.cfg and including this in my printer.cfg and TAP is my probe.

I appreciate any assistance with this

Except the macros for the webinterfaces and not even these are strictly needed. It is absolutely beyond me, why users have some dozens of macros in a standard printer and not even a working base config.

You have two options:

  1. Kick out all these macros unless you know what they are doing and you know that you need them
  2. Contact the author of these macros. Likely you forgot to include some parts of one of them and this is why you get this error.

I copied the entire file. Not sure what could have been left out. However the Bed Mesh Calibrate will work without the included bed_mesh.cfg?

As stated above: You do not need any macros for a standard printer unless specifically called out by some piece of hardware by the relevant manufacturer.
In addition, many of them are:

  • Not properly documented
  • Outdated
  • Not maintained
  • Unneeded
  • All above

Maybe someone is willing to dig into such macros, I’m not. You will spend hours understanding and debugging just to realize it was a stone old version that have been abandoned ages ago.

Can you point me to the correct way to do the bed meshing? Without including the bed_mesh.cfg?

For a new printer setup you might want to follow this

I’ve commented out the include bed_mesh.cfg. Now it fails every time with a message that home should be performed evan after homing.

I issued a G28 and then the bed mesh calibrate. This worked. Clicking the macro homed but didn’t seem to be recognized by the bed mesh calibrate.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.