Failed to get file info. Illegal parameter letter '_'
-
Hello all!
Just after I’ve updated My Duet3d MB 6HC firmware from V3.4.6 to V3.5.0_rc3 I get this error when I try to print or simulate a file: Failed to get file info for filename.gcode. Operation failed (Reason: Illegal parameter letter '_'. If I downgrade back to 3.4.6 the behavior reverts to normal.
Can someone shed a light on this, please. I’ve red changed log and could not figured out what’s the reason. -
Hello!
Found the culprit. Several files contained this 2 lines:
M280 P0 S160 : precautionary alarm release (reset BLTouch Probe)
and
END_PRINT
In the first one, the comment was preceded by a : instead of a ;
In the second one the comment was not preceded by ; (it was generated by the slicer – ORCA)
In the RRF/DWC V3.4.6 this was not causing any issue. But in V3.5.0_RC3 causes the error.
Hope this information may be useful for someone else. -
@Albatroz I'm glad you found what was causing the problems.
-
-
-
@Albatroz END_PRINT looks like a Klipper type macro invocation; in their infinite wisdom they decided to use bare words for this without regard for the GCode standard.
In RepRapFirmware this means the bare word is applied to the previous line as a parameter, which yields the error you observed.
You can replace END_PRINT with M0 if you want to invoke end of print behavior, which you can tweak using the 0:/sys/stop.g macro.
-
I have also replicated this issue with firmware version 3.5.4 using Orcaslicer GCODE. I was able to recover operation by toggling off "Exclude Objects"
Oddly, this was working fine for slicing normal STL files but occurred when I was running Orcaslicer's built-in pressure advance calibration tests.