Can´t open file after fresh install

Basic Information:

Creality Ender 3 S1 PRO
RPi 4B

Just installed Klipper with Mainsail and everything went well until I had to print my first prints.

“Unable to open file” and below is the log.

CPU: 4 core ?
Python: ‘3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0]’
Building C code module c_helper.so
Start printer at Thu Jan 25 14:04:03 2024 (1706191443.8 1202.3)
===== Config file =====
[mcu]
serial = /dev/serial/by-id/

[virtual_sdcard]
path = /home/auToeXeCc/printer_data/gcodes
on_error_gcode = CANCEL_PRINT

[printer]
kinematics = none
max_velocity = 1000
max_accel = 1000

mcu ‘mcu’: Starting serial connect
mcu ‘mcu’: Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/: [Errno 2] No such file or directory: ‘/dev/serial/by-id/’
mcu ‘mcu’: Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/: [Errno 2] No such file or directory: ‘/dev/serial/by-id/’
mcu ‘mcu’: Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/: [Errno 2] No such file or directory: ‘/dev/serial/by-id/’
mcu ‘mcu’: Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/: [Errno 2] No such file or directory: ‘/dev/serial/by-id/’
mcu ‘mcu’: Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/: [Errno 2] No such file or directory: ‘/dev/serial/by-id/’

Searched here for a long time now but can’t find anything that helps.

It would be helpful if you upload the klippy.log as requested by the template you deleted upon creation of this post.
Looks like you did not insert the right serial of the used MCU.
See here:
https://www.klipper3d.org/Installation.html#building-and-flashing-the-micro-controller

Im so sorry, after some more google i did found out that it was my Virtual SD card path. Now it´s working and only a " Unknown command 201" pops up. But it does print now.

Before it leads others down a false route:

The above-mentioned error cannot, is not and will never be caused by a false setting in [virtual_sdcard]

As stated by @LifeOfBrian, the serial = /dev/serial/by-id/ is wrong.

2 Likes

Yeah it is too obvious when the above config snippet is still in use.
Thanks for highlighting that.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.