#(Solved) Internal error on command:"PREP"

1 messages · Page 1 of 1 (latest)

deft crypt
#

just started having Internal error on command:"PREP" mid print. this is the log bit just after the crash and restart.
Traceback (most recent call last):
File "/home/pi/klipper/klippy/extras/delayed_gcode.py", line 34, in _gcode_timer_event
self.gcode.run_script(self.timer_gcode.render())
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pi/klipper/klippy/gcode.py", line 230, in run_script
self._process_commands(script.split('\n'), need_ack=False)
Expand
message.txt
5 KB

lost narwhal
#

Does this happen often/somewhat repeatable?

deft crypt
#

just now started

#

while trying to print my portland vice badge

lost narwhal
#

Well there's your problem, your print knows something important is going to happen so it does not want to work /s 😬

#

Can you upload your gcode for that print. I wonder if there is a PREP keyword in that file and klipper thinks it's gcode

deft crypt
#

well now the printer isnt booting

#

just gives prep error

lost narwhal
#

Can you roll your logs over and then upload the new one with the error

deft crypt
#

i rebooted and now im getter a Unknown pin chip name 'probe' wtf

#

im using a beacon and dont have probe called anywhere i dont think

lost narwhal
#

You update klipper recently?

deft crypt
#

oh shiiiiit i hit the auto update all after the 3rd reboot.....

#

😭

lost narwhal
#

Must... resist.. updates 😬

deft crypt
lost narwhal
#

Especially since klipper has been pushing code that can break AFC lately

deft crypt
#

git checkout 126275d1f or is there a better head

lost narwhal
#

I know this one will work, so I always suggest this one #afc-updates message

#

Then rerun the beacon script

#

I'll have to look through your klippy logs later, they are too big to view on mobile

deft crypt
#

ok backed klippper reran beacon, Section 'afc' is not a valid config section

#

soo its acting like i dont have afc installed?

lost narwhal
#

Oh rerun AFC install script and just choose u to update and it will put the links back

deft crypt
#

u update option is gone, top one is intall

#

ahh didnt show the U optiopn

#

but i could still run it

#

its like allllll my addons are broken,.,,,,

lost narwhal
#

Yeah, that's why I manually update klipper as the update managers clean out the sym links to the klippy extras folder

deft crypt
#

ok

#

now im back to just the prep error

#

boots fine if a comment out AFC config part

lost narwhal
#

Can you get me the full error dump, so it's on a smaller file

deft crypt
#

how do i make a smaller dump

lost narwhal
deft crypt
#

yea

lost narwhal
#

There is a button to roll over logs in the same section as the logs, I think it's lower right of the screen. So roll the logs and then restart klipper

deft crypt
lost narwhal
#

Can you run the debug script real quick

glass forgeBOT
deft crypt
lost narwhal
#

For lane 2 and 4 are your spoolman weights negative?

deft crypt
#

uhhh

lost narwhal
#

Spoolid 4,5

deft crypt
#

had a 0 start weight...

lost narwhal
#

Put bigger weight for those IDs and it should hopefully fix it

deft crypt
#

they were missing base weight

#

its bootingh now

lost narwhal
#

Nice!!

lost narwhal
#

@deft crypt So good to call this solved now?

deft crypt
#

Yes ty