Printer Model: Kreator A1
MCU / Printerboard: MKS Gen L v2.1 klippy.log klippy_ldcF.log (1.4 MB)
Fill out above information and in all cases attach yourklippy.logfile. Pasting yourprinter.cfgis not needed
Describe your issue: I’m using Graphics LCD 128*64. When trying to print from LCD menu SD Print mainSail os restarts and shows Unhandled exception during run .
virtual_sdcard get_file_list
Traceback (most recent call last):
File "/home/debian/klipper/klippy/extras/virtual_sdcard.py", line 78, in get_file_list
filenames = os.listdir(self.sdcard_dirname)
OSError: [Errno 2] No such file or directory: '/home/debian/gcode_files'
Unhandled exception during run
Traceback (most recent call last):
In a Linux path the ~ is expanded to the user’s home folder, so ~/gcode_files is the same as /home/debian/gcode_files (given your current user is debian)
The error handler is meant to react if something goes wrong during a print from the virtual_sdcard and not as a safeguard when the folder does not even exists.