Skip to content

Klipper shutdown during the START routine of a print #1970

@oschir

Description

@oschir

Request a temperature tower from orcaslicer.
Move it to approx 5cm of the front border of the plate.
Start the print and Klipper shuts down in error "unhandled exception".
Klipper restart or firmware restart is useless, need to reboot the raspberry.

Moving the temperature tower to approx 10cm of the front border of the plate solves the issue.

Looking at the log:
Unhandled exception during run
Traceback (most recent call last):
File "/home/pi/klipper/klippy/klippy.py", line 176, in run
self.reactor.run()
File "/home/pi/klipper/klippy/reactor.py", line 292, in run
g_next.switch()
File "/home/pi/klipper/klippy/reactor.py", line 340, in _dispatch_loop
timeout = self._check_timers(eventtime, busy)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pi/klipper/klippy/reactor.py", line 158, in _check_timers
t.waketime = waketime = t.callback(eventtime)
^^^^^^^^^^^^^^^^^^^^^
File "/home/pi/klipper/klippy/reactor.py", line 48, in invoke
res = self.callback(eventtime)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pi/klipper/klippy/extras/scanner.py", line 1916, in
self.reactor.register_async_callback(lambda e: self._stream_flush())
^^^^^^^^^^^^^^^^^^^^
File "/home/pi/klipper/klippy/extras/scanner.py", line 1893, in _stream_flush
cb(sample)
File "/home/pi/klipper/klippy/extras/scanner.py", line 2799, in _handle
self.cb(sample)
File "/home/pi/klipper/klippy/extras/scanner.py", line 3545, in cb
yi = int(round((y - min_y) / self.step_y))
~~~~~~~~~~^~~~~~~~~~~~~~~
ZeroDivisionError: float division by zero
Transition to shutdown state: Unhandled exception during run

Using:
Klipper v0.12.0-486-g050bc332 -> v0.13.0-181
cartographer v1.2.0-0-g7e354f3b
Klipper-Adaptive-Meshing-Purging v1.1.2-13-gb0dad8ec

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions