#AFC crashes when filament is inserted while printer is homing / leveling gantry.

1 messages · Page 1 of 1 (latest)

small island
#

Git commit I was running: 39a7eb7b5f24deb1c50952c02c1670c63ea2c87a
Steps to reproduce: G28 / QUAD_GANTRY_LEVEL, then insert the filament.

uncut lily
#

Just to confirm, you are trying to insert filament into the BT, while QGL is running or homing?

#

pertinent stack trace

Unhandled exception during run
Traceback (most recent call last):
  File "/home/biqu/klipper/klippy/klippy.py", line 176, in run
    self.reactor.run()
  File "/home/biqu/klipper/klippy/reactor.py", line 292, in run
    g_next.switch()
  File "/home/biqu/klipper/klippy/reactor.py", line 340, in _dispatch_loop
    timeout = self._check_timers(eventtime, busy)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/biqu/klipper/klippy/reactor.py", line 158, in _check_timers
    t.waketime = waketime = t.callback(eventtime)
                            ^^^^^^^^^^^^^^^^^^^^^
  File "/home/biqu/klipper/klippy/reactor.py", line 48, in invoke
    res = self.callback(eventtime)
          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/biqu/klipper/klippy/extras/buttons.py", line 82, in <lambda>
    (lambda et, c=callback, bt=btime, s=state: c(bt, s)))
                                               ^^^^^^^^
  File "/home/biqu/klipper/klippy/extras/AFC_stepper.py", line 204, in prep_callback
    self.do_enable(True)
  File "/home/biqu/klipper/klippy/extras/AFC_stepper.py", line 223, in do_enable
    self.sync_print_time()
  File "/home/biqu/klipper/klippy/extras/AFC_stepper.py", line 235, in sync_print_time
    print_time = toolhead.get_last_move_time()
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/biqu/klipper/klippy/toolhead.py", line 376, in get_last_move_time
    self._flush_lookahead()
  File "/home/biqu/klipper/klippy/toolhead.py", line 365, in _flush_lookahead
    self.lookahead.flush()
  File "/home/biqu/klipper/klippy/toolhead.py", line 176, in flush
    self.toolhead._process_moves(queue[:flush_count])
  File "/home/biqu/klipper/klippy/toolhead.py", line 359, in _process_moves
    self._update_drip_move_time(next_move_time)
  File "/home/biqu/klipper/klippy/toolhead.py", line 505, in _update_drip_move_time
    raise DripModeEndSignal()
toolhead.DripModeEndSignal
Transition to shutdown state: Unhandled exception during run