• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Failed to get file info. Illegal parameter letter '_'

Scheduled Pinned Locked Moved Solved
Duet Web Control
8
11
343
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    Albatroz
    last edited by 29 Mar 2024, 21:51

    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.

    1 Reply Last reply Reply Quote 0
    • undefined
      Albatroz
      last edited by Albatroz 30 Mar 2024, 01:49

      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.

      undefined undefined 2 Replies Last reply 30 Mar 2024, 06:38 Reply Quote 1
      • undefined
        dc42 administrators @Albatroz
        last edited by 30 Mar 2024, 06:38

        @Albatroz I'm glad you found what was causing the problems.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • undefined dc42 marked this topic as a question 30 Mar 2024, 06:38
        • undefined dc42 has marked this topic as solved 30 Mar 2024, 06:38
        • undefined
          oliof @Albatroz
          last edited by 30 Mar 2024, 08:41

          @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.

          <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

          1 Reply Last reply Reply Quote 1
          • undefined
            chrismbp
            last edited by 14 Dec 2024, 17:05

            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.

            undefined 1 Reply Last reply 16 Jan 2025, 23:55 Reply Quote 0
            • undefined
              Electriceye @chrismbp
              last edited by 16 Jan 2025, 23:55

              @chrismbp said in Failed to get file info. Illegal parameter letter '_':

              Exclude Objects

              I'm running into the same thing when running the built-in calibration tests in Super Slicer 2.5.59.13 (which is based on Prusa Slicer).

              Failed to get file info for First layer calibration_0.2mm_PETG_3m.gcode
              Illegal parameter letter '_'

              I've searched through the GCode for the print job but cannot find the line items he had:
              M280 P0 S160

              So...I guess that means SuperSlicer has added some other sorcery into the GCode I'm not seeing.
              Anyone else running into issues with Not-So-Super-Slicer?

              Any help, as always is greatly appreciated!

              • Cheers!
              1 Reply Last reply Reply Quote 0
              • undefined
                Phaedrux Moderator
                last edited by 17 Jan 2025, 03:42

                Illegal parameter letter '_'

                Look in the file for an underscore. It looks like they are targeting Klipper exclusively and inserting the names of common klipper macros.

                Z-Bot CoreXY Build | Thingiverse Profile

                undefined 1 Reply Last reply 17 Jan 2025, 04:53 Reply Quote 1
                • undefined
                  Electriceye @Phaedrux
                  last edited by Electriceye 17 Jan 2025, 04:53

                  @Phaedrux said in Failed to get file info. Illegal parameter letter '_':

                  _

                  EDIT - I DID find one END_PRINT near the end, replaced it with an M0 (doh)
                  But there are a metric boatload ton of _ characters in that code...are they not supposed to be there?
                  EXAMPLES:

                  START_PRINT EXTRUDER_TEMP=240 BED_TEMP=90
                  SET_PRESSURE_ADVANCE ADVANCE=0.05
                  SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY=5
                  ;WIPE_START
                  ;WIPE_END

                  ...and so on and so forth...

                  Ugh. 1 of 4494 instances found 😲

                  Thanks @Phaedrux , A hunting I will go!

                  Hopefully it's near the start of the code and not buried in the middle somewhere...

                  • Cheers!
                  undefined 1 Reply Last reply 17 Jan 2025, 11:35 Reply Quote 0
                  • undefined
                    T3P3Tony administrators @Electriceye
                    last edited by 17 Jan 2025, 11:35

                    @Electriceye those should all be comments or replaced with gcode commands.

                    I don't sure super slicer but you may be able to switch the output to RRF/Duet rather than Klipper?

                    www.duet3d.com

                    undefined 1 Reply Last reply 17 Jan 2025, 16:27 Reply Quote 1
                    • undefined
                      Electriceye @T3P3Tony
                      last edited by 17 Jan 2025, 16:27

                      @T3P3Tony

                      That's why I was puzzled by the code output...I DID select RepRap Firmware in the output section of SuperSlicer.
                      Look's like it has it's mind made up on Klipper. Going to un-install and start over...something's not right there. 🙄

                      Thanks again to all!

                      • Cheers!
                      undefined 1 Reply Last reply 17 Jan 2025, 17:38 Reply Quote 0
                      • undefined
                        droftarts administrators @Electriceye
                        last edited by 17 Jan 2025, 17:38

                        @Electriceye Check the start and end gcode, Klipper commands have crept in there, that aren't controlled by the firmware type switch.

                        Ian

                        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post
                        Unless otherwise noted, all forum content is licensed under CC-BY-SA