#bad marshal data (tuple size out of range) | Error

76 messages · Page 1 of 1 (latest)

compact wolf
#

hey i treid including the mainsail.cfg in the printer.cfg and now i always get the error show in the image

Printer.cfg


#Included the Cfg right here just dont edit the other stuff
[include mainsail.cfg]
[stepper_x]
step_pin: PB13
dir_pin: !PB12
enable_pin: !PB14
microsteps: 16
rotation_distance: 40
endstop_pin: ^PC0
position_endstop: 0
position_max: 235
homing_speed: 50
karmic garden
#

Can you send the Klippe.log. I never seen that

compact wolf
karmic garden
#

Never seen that, the macros look ok to me

#

Are you up to date?

#

I see it is a Armbian buster

compact wolf
karmic garden
#

The dirty at Klipper rings an alarm bell for me

#

ssh in your sbc

cd klipper 
git status
#

Show me the output

compact wolf
karmic garden
#

You need to do that on your host as said ssh in the host

compact wolf
compact wolf
#

should i do git pull now?

karmic garden
#

Ok why is that file modified?

#

No do not do a git pull yet

#

But the modification to that file could explain the error as we activate [virtual_sdcard]

#

git diff klippy/extras/virtual_sdcard.py

compact wolf
karmic garden
#

Someone did …

#

If it was not intended than

git status```
#

And also git remote show origin

compact wolf
#

jeah gonna tell him that
to be true i have a german freind who is horrible in english who lives near who have this problem and i translate it right now for him and explains him everything since i know some stuff about software.

Well he dont response so fast
thats why it takes so long

Hopes thats ok 😅

karmic garden
#

Sure but I will switch off if it takes to long

compact wolf
karmic garden
#

Ok now reboot and see if the error is gone

compact wolf
karmic garden
#

Ok than we need to update all, but to warn you that might force you to update the mcu board

#

The macros are shipped with more than 40k downloads and I never seen a problem like that

#

But that is also the first mkspi that I see

#

So update Klipper and moonraker and see what happens

compact wolf
#

id dint installed klipper for him therefore I am not yet initiated with the commands,
so what do i need to do?

karmic garden
#

What we also can do is comment out the

path: ~/gcode_files```
compact wolf
#

in the mainsail.cfg?

karmic garden
#

Of mainsail.cfg and see if the error is gone. We need that later but let’s see if it was really the route cause

karmic garden
#

This is expected as we removed the virtual sdcard

compact wolf
#

okay so what now?

karmic garden
#

But is Klipper up and running?

compact wolf
#

is there a command i can check with?

karmic garden
#

Simple look in the console of Mainsail you should see Klipper state: Ready

karmic garden
#

ssh in the host
ls -l ~

#

Send me a screenshot

compact wolf
karmic garden
#

Hmm. I run out of ideas gcode_files is the correct path

compact wolf
#

hmm okay so simply update?

karmic garden
#

Yes I would try an update but honestly I am not sure if it will help

#

The mks pi and there Image is completely unknown to me

compact wolf
#

maiby just some outdated code or so
how shoudl he do it?

compact wolf
karmic garden
#

Use the updater in mainsail update Klipper first and then moonraker

compact wolf
#

any commands for this to use or do he just need to press some buttons as sayed im not sitting next to him right now i cant check by myself :/

karmic garden
#

Start with the blue circle above

#

That will remove the dirty and he will see “update”. The blue update is a button 😉

compact wolf
#

oh bruh 🤐

compact wolf
karmic garden
#

Hard

compact wolf
#

👍

#

i gonna shower quickly and gonna be back with a update

compact wolf
#

@karmic garden Okay he did that
error is gone but he cant print gcode

karmic garden
#

Have you get the virtual sd card definition back?

karmic garden
#

Moonraker.log

compact wolf
karmic garden
#

It gets to late for me. I will look into it tomorrow morning

compact wolf
#

okay

karmic garden
#

Please write in here if you solve it before that

compact wolf
karmic garden
#

Perfect, please close the post as we are done

#

Yes the moonraker data structure has changed