START_PRINT issues! jinja2.exceptions

Basic Information:

Printer Model: x5sa
MCU / Printerboard: skr 2
Host / SBC Android 9.0 tv box
klippy.log

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 (3).log (2.9 MB)

Unable to start printing my printer immediately starts temp to attempt move then get this error "Error evaluating ‘gcode_macro START_PRINT:gcode’: jinja2.exceptions.UndefinedError: ‘dict object’ has no attribute ‘BED’ "

See Using START_PRINT and END_PRINT Macros how to correctly handle such macros.
Your issue probably is that you do not call it correctly from your slicer.

1 Like

This is my Cura Start G-code
START_PRINT BED_TEMP={material_print_temperature_layer_0} EXTRUDER_TEMP={material_bed_temperature_layer_0}

now the previous error is gone and I am now receiving a “Error on ‘M190 S’: unable to parse”

Case sensitive: BED_TEMP is not the same as bed_temp

What you said worked, and now I got this error “Requested temperature (285.0) out of range (0.0:130.0)”.

Honestly I believe I will have to just start from scratch due to having so many conflicts with each correction. So much for trying to get this to work sooner.

I will be back after I clean up with file just not to waste anybody’s time.

In the help article there was a copy / paste mishap that switched bed and nozzle temps for the Cura example. I just fixed this.
Thanks @EddyMI3D for pointing it out!

2 Likes

I ended up just using the beginners guide on klippers website, thank you!

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