You have a lot of different errors, one of them:
Traceback (most recent call last):
File "/home/mike/klipper/klippy/gcode.py", line 459, in _respond_raw
os.write(self.fd, (msg+"\n").encode())
BlockingIOError: [Errno 11] Resource temporarily unavailable
Looks like your USB2UART got disconnected.
Like many times.
I’m not familiar with your specific board, but if it can be connected directly by USB, it could be better.
Found 1 objects
Internal error on command:"BED_MESH_CALIBRATE"
Traceback (most recent call last):
File "/home/mike/klipper/klippy/gcode.py", line 212, in _process_commands
handler(gcmd)
File "/home/mike/klipper/klippy/gcode.py", line 140, in <lambda>
func = lambda params: origfunc(self._get_extended_params(params))
File "/home/mike/klipper/klippy/extras/bed_mesh.py", line 647, in cmd_BED_MESH_CALIBRATE
self.update_config(gcmd)
File "/home/mike/klipper/klippy/extras/bed_mesh.py", line 607, in update_config
need_cfg_update |= self.set_adaptive_mesh(gcmd)
File "/home/mike/klipper/klippy/extras/bed_mesh.py", line 466, in set_adaptive_mesh
for point in obj["polygon"]:
KeyError: 'polygon'
Looks like gcode is borked, there should be a string like:
EXCLUDE_OBJECT_DEFINE NAME=Part_Studio_1_-_Part_1.stl_id_0_copy_0 CENTER=102.537,134.277 POLYGON=[[22.2612,64.8517],[129.765,31.6968],[182.813,203.702],[75.309,236.857],[22.2612,64.8517]]
Technically if you are able to produce borked gcode file, it may have sense to share it.
So, this strange crash can be fixed, I think if there are borked object definitions, then Klipper should ignore it, not crash.
Unhandled exception during run
Traceback (most recent call last):
File "/home/mike/klipper/klippy/klippy.py", line 176, in run
self.reactor.run()
File "/home/mike/klipper/klippy/reactor.py", line 292, in run
g_next.switch()
File "/home/mike/klipper/klippy/reactor.py", line 340, in _dispatch_loop
timeout = self._check_timers(eventtime, busy)
File "/home/mike/klipper/klippy/reactor.py", line 158, in _check_timers
t.waketime = waketime = t.callback(eventtime)
File "/home/mike/klipper/klippy/extras/BDsensor.py", line 336, in scan_sample_event
intd = self.mcu_probe.BD_Sensor_Read(0)
File "/home/mike/klipper/klippy/extras/BDsensor.py", line 857, in BD_Sensor_Read
raise self.printer.command_error("Bed Distance Sensor, "
gcode.CommandError: Bed Distance Sensor, out of range.:10.15
Transition to shutdown state: Unhandled exception during run
Hope in helps.