Basic Information:
Printer Model: Ender 3
MCU / Printerboard: Creality 4.2.2
klippy.log
If the º symbol is present in a commented line of a gcode file that´s printed using the virtual sd card feature mainsail will show a 100% PAUSED state after the printjob succesfully completes in real life , if the resume function is activated mainsail console will show the message “Print is not paused , resume aborted”, leaving only the option to cancel the print which activation will lead to a Klippy disconnect in Moonraker´s history.
issue-video.zip (2.0 MB)
I use SuperSlicer_2.4.58.5 which allows me to have printer notes, on one note i included the character º , the slicer adds several comments after the last uncommented command including my notes to the gcode file it generates.
klippy-issue-log.txt (56.6 KB)
One solution of course is to not use the character º in comments , i just find it weird since they are of no consequence to the completion of the printjob. I think that the moment that virtual_sdcard.py finds M73 P100 R0 should send complete state to moonraker and exit without error.