You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Been struggling to get this to work after klipper update everything was working great prior to the update.
I am not a programmer or developer just a 65 year old user and this is way beyond my skill set.
Internal error on command:"CALIBRATE_Z"
Internal Error on WebRequest: gcode/script
Traceback (most recent call last):
File "/home/pi/klipper/klippy/webhooks.py", line 256, in _process_request
func(web_request)
File "/home/pi/klipper/klippy/webhooks.py", line 436, in _handle_script
self.gcode.run_script(web_request.get_str('script'))
File "/home/pi/klipper/klippy/gcode.py", line 229, in run_script
self._process_commands(script.split('\n'), need_ack=False)
File "/home/pi/klipper/klippy/gcode.py", line 211, in _process_commands
handler(gcmd)
File "/home/pi/klipper/klippy/gcode.py", line 137, in <lambda>
func = lambda params: origfunc(self._get_extended_params(params))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pi/klipper/klippy/extras/z_calibration.py", line 152, in cmd_CALIBRATE_Z
state.calibrate_z(switch_offset, nozzle_site, switch_site, bed_site)
File "/home/pi/klipper/klippy/extras/z_calibration.py", line 474, in calibrate_z
nozzle_zero = self._probe_on_site(self.z_endstop,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pi/klipper/klippy/extras/z_calibration.py", line 450, in _probe_on_site
return self.helper._calc_mean(positions)[2]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pi/klipper/klippy/extras/z_calibration.py", line 357, in _calc_mean
return [sum([pos[i] for pos in positions]) / count
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pi/klipper/klippy/extras/z_calibration.py", line 357, in <listcomp>
return [sum([pos[i] for pos in positions]) / count
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
ZeroDivisionError: float division by zero
The text was updated successfully, but these errors were encountered:
Been struggling to get this to work after klipper update everything was working great prior to the update.
I am not a programmer or developer just a 65 year old user and this is way beyond my skill set.
The text was updated successfully, but these errors were encountered: