No variables.cfg K1 Max

Basic Information:

Printer Model: K1 Max
klippy (2).log (849.4 KB)

MCU / Printerboard:
Host / SBC
klippy.log

Describe your issue:

I have been installing Klipper to my K1 Max by following Creality K1 K1 Max root access Use Prusa slicer, Klipper, Fluidd, Moonraker like a normal 3D printer. It worked perfectly. Then I cloned jschuh’s Klipper-macros and now ik get this message:

Internal error during connect: [Errno 2] No such file or directory: ‘/root/usr/data/printer_data/config/klipper-macros/variables.cfg’

Once the underlying issue is corrected, use the “RESTART”
command to reload the config and restart the host software.
Printer is halted

Now I found a similar post of MangoTea where LifeOfBrian mentioned that the path in the slot.cfg (macros.cfg for me) and skippy.log should be the same.

In my opinion these paths are the same and still I get this message. What I’m failing to see?

**edited: I’ve changed to different folders multiple times, but no difference.

Hello @Pilgrim771202223 !

Rooted or not - it’s still crappy Creality’s crappy version of Klipper:

Git version: '09faed31-dirty

1 Like

Probably you are not familiar with UNIX.

[save_variables]
filename = root/usr/data/printer_data/klipper-macros/tempvar.cfg

So, probably you want:
/root/usr/data/printer_data/klipper-macros/tempvar.cfg

There should be always a leading slash.