#Unable to open file after installing Klipper on old Laptop

23 messages · Page 1 of 1 (latest)

quiet basalt
#

Sry cant help you on that. Dont know if there is any difference between installing Klipper on a Pi and an Laptop. I hope others can help you on that

spring lance
#

Log in using SSH or any terminal app if you have any desktop Environment, and type in sudo chown -R someuser /home/someuser . Someuser is your user login

worn silo
#

unfortunately still the same error. after I logged in with ssh it just asked for my password and nothing happened after that.

calm needle
#

Please fix your tags #readme
Mainsail is just the webgui, your problem most likely is related to moonraker. Therefore please send your moonraker.log

worn silo
calm needle
#

Did you try to print something during that log?

worn silo
#

Yes, I tried that, but every time I want to start printing the console tells me unable to open file. Although I can set the printer to home position and create the bed mesh but printing files, hasn't worked yet due to this error

calm needle
#

Ok, weird, as I don't see such an error inside the log. Send your klippy.log too, please

#

Nvm found it ^^
GCode path received from Klipper does not match expected location.

#
Received: '/home/klipper/printer_data/gcodes'
Expected: '/home/klipper/printer_1_data/gcodes'

Modify the [virtual_sdcard] section Klipper's configuration to correct this error.
#

So fix your printer.cfg, to fix this error

worn silo
#

I was already at the point with virtual SDcrad. I tried several paths but unfortunately it usually didn't work.Or do I just have to delete this point in my printer.cfg?

#

Oh, you mean I should insert this code from you under the point virtualsdcard?

calm needle
#

Send your klippy.log please

worn silo
calm needle
#

Send your printer.cfg

#

I think you might have it on the wrong spot and it gets overwritten by an include

worn silo
#

OK, here you go

#

Oh wait file is to big

calm needle
#

You don't have a virtual_sdcard configured....
Add this below your mainsail include```
[virtual_sdcard]
path: ~/printer_1_data/gcodes
on_error_gcode: CANCEL_PRINT

worn silo
#

Omg thank you very much, it works !

calm needle
#

Then please close this post 😄