jschuh / klipper-macros

A collection of useful macros for the Klipper 3D printer firmware
GNU General Public License v3.0
921 stars 167 forks source link

[BUG]Error evaluating 'gcode_macro BED_MESH_CALIBRATE:gcode': UndefinedError: 'dict object' has no attribute 'polygon' #148

Closed Johnn201 closed 1 year ago

Johnn201 commented 1 year ago

Before making a report please ensure you've followed the troubleshooting steps at: https://github.com/jschuh/klipper-macros#troubleshooting

You can also get general troubleshooting assistance in the Q&A Discussion tab: https://github.com/jschuh/klipper-macros/discussions/categories/q-a

Describe the bug When attempting to print a file sliced in superslicer I get the noted error, after printing successfully for 4 days straight this error happened out of the blue.

Klipper errors Error evaluating 'gcode_macro BED_MESH_CALIBRATE:gcode': UndefinedError: 'dict object' has no attribute 'polygon'

Klipper config Paste any relevant sections from your Klipper config, or attach the full config if you prefer. Please also note any other macros you are including as part of your config. Bug reports without attached configs will most likely be closed. klippy (1).log

Johnn201 commented 1 year ago

klippy.1.log printer.txt macros.txt

Johnn201 commented 1 year ago

start.txt

jschuh commented 1 year ago

You're running an old version of the macros. The current version handles SuperSlicer's weird EXCLUDE_OBJECT entries. (This is also why the troubleshooting steps include updating to the latest version.)