#Printer crashes when homing

31 messages · Page 1 of 1 (latest)

sick niche
#

Whenever I try to home my v-minion it immediately crashes and gives me the screen attached. I also have the klippy.log file here.

sturdy dawnBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

sick niche
#

Yes

mystic field
#

please upload your debug.zip

sick niche
#

how do I do that

radiant cliff
sick niche
#

this is 2.0.2 i dont think there's a configurator

vast finch
#

Correct, 2.0.2 doesn't have the debug.zip

#
Internal Error on WebRequest: gcode/script
Traceback (most recent call last):
  File "/home/pi/klipper/klippy/webhooks.py", line 268, in _process_request
    func(web_request)
  File "/home/pi/klipper/klippy/webhooks.py", line 448, in _handle_script
    self.gcode.run_script(web_request.get_str('script'))
  File "/home/pi/klipper/klippy/gcode.py", line 230, in run_script
    self._process_commands(script.split('\n'), need_ack=False)
  File "/home/pi/klipper/klippy/gcode.py", line 212, in _process_commands
    handler(gcmd)
  File "/home/pi/klipper/klippy/extras/ratos_homing.py", line 42, in cmd_G28
    toolhead.set_position(pos, homing_axes=[2])
  File "/home/pi/klipper/klippy/toolhead.py", line 467, in set_position
    self.kin.set_position(newpos, homing_axes)
  File "/home/pi/klipper/klippy/kinematics/cartesian.py", line 67, in set_position
    axis = "xyz".index(axis_name)
TypeError: must be str, not int```
#

Can we get your printer.cfg?

sick niche
vast finch
#

Nothing there seems to have messed with the homing macro. Have you edited any other files?

sick niche
#

I haven't

vast finch
#

hmmm

#

What does your update manager look like?

sick niche
#

I did the thing where it said to update ratos first

#

and then everything else

vast finch
#

That matters less for 2.0.2, but won't break anything at least

#

I'm really not sure what to look at next, maybe @mystic field has an idea

mystic field
#

lines 51-54 - why did you do that? This smells of you not installing ratos correctly

sick niche
#

I did it because the mcu was not connecting

#

so that was to see if it could connect and if I did anything wrong with wiring

#

as said in the instructions

mystic field
sick niche
#

hmm

#

I did a fresh new install, reflashed it using the setup webpage and it still gives me the same error.

#

when I flashed it the site kept saying the version of the pi and the mcu did not match, no matter how many times I reflashed it

vast finch
#

Tried flashing via sd card?