Help with TEST_RESONANCES,

Basic Information:

Printer Model: Anet E12
MCU / Printerboard: Anet 1.0 board
Host / SBC: NEC LS550 Laptop 6gb ram
klippy.log |
/
klippy (1).zip (3.9 MB)

I Trying to calibrate input shapers using TEST_RESONANCES
but Klipper gives me an error
I’ve tried solving the problem from past posts(including github), but that didn’t help
“Internal error on command:“TEST_RESONANCES”
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”
“name ‘thpos’ is not defined”

Problem solved, I wasn’t looking at the log carefully, I changed
X, Y = thpos[:2] to
X, Y = tpos[:2]
and everything worked