#Analyzing klipper logs

4 messages · Page 1 of 1 (latest)

chilly basalt
#

Hey everyone,

This afternoon I was running a print when suddenly my printer stopped. For a while after it wouldn't reboot. I am trying to figure out what went wrong by going through klippy.log. However, it's 4.6MB of plaintext, and I have no clue what to look for and where to find it.

I suspect maybe something overheated, since I increased the current for the E stepper yesterday.

Does anyone have any pointers?

lucid sail
#

just scroll from the bottom to the top to find the shutdown. it helps to use an editor with minimap. for example sublime

chilly basalt
#

Ahh sublime is much easier than notepad haha

#
Attempting MCU 'mcu' reset
Unhandled exception during post run
Traceback (most recent call last):
  File "/home/marci/klipper/klippy/klippy.py", line 234, in run
    self.send_event("klippy:firmware_restart")
  File "/home/marci/klipper/klippy/klippy.py", line 263, in send_event
    return [cb(*params) for cb in self.event_handlers.get(event, [])]
  File "/home/marci/klipper/klippy/mcu.py", line 931, in _firmware_restart
    self._restart_arduino()
  File "/home/marci/klipper/klippy/mcu.py", line 891, in _restart_arduino
    serialhdl.arduino_reset(self._serialport, self._reactor)
  File "/home/marci/klipper/klippy/serialhdl.py", line 377, in arduino_reset
    ser = serial.Serial(serialport, 2400, timeout=0, exclusive=True)
  File "/home/marci/klippy-env/lib/python2.7/site-packages/serial/serialutil.py", line 240, in __init__
    self.open()
  File "/home/marci/klippy-env/lib/python2.7/site-packages/serial/serialposix.py", line 268, in open
    raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
SerialException: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'
Restarting printer
Start printer at Sat Dec  3 12:06:01 2022 (1670069161.7 6153.8)```

This is what I found (there's a whole lot of stats above). I have no clue what this error message means