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

    Error gcode file too long

    Scheduled Pinned Locked Moved
    General Discussion
    6
    22
    1.6k
    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.
    • daoustundefined
      daoust @daoust
      last edited by

      @daoust ![alt text]20230117_204225.jpg

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        Can you please share the actual file?

        Also please share the results of M122.

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators @daoust
          last edited by

          @daoust said in Error gcode file too long:

          @infiniteloop I use cura 5.0 with reprap firmware.

          It almost stop in mid print but when I open with notepad++ it only have 941463 line of command for the complet gcode so I don t understand how it can be a probleme with the line 995655

          Current versions of RRF double count line numbers when the line ending is CRLF. So try looking at line 497828.

          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

          infiniteloopundefined 1 Reply Last reply Reply Quote 0
          • infiniteloopundefined
            infiniteloop @dc42
            last edited by

            @dc42 said in Error gcode file too long:

            Current versions of RRF double count line numbers when the line ending is CRLF.

            Thanks for the missing link!

            1 Reply Last reply Reply Quote 0
            • infiniteloopundefined
              infiniteloop @daoust
              last edited by

              @daoust said in Error gcode file too long:

              Should I try again the same gcode to see if the probleme still there?

              You can try a simulation run, so no waste of filament. But the original problem has to be found in the file, and @dc42 told us where to look:

              Current versions of RRF double count line numbers when the line ending is CRLF. So try looking at line 497828

              Be it a line more or less - if you can share the file as @Phaedrux proposes, we can throw our editors with line numbering at it 😊

              1 Reply Last reply Reply Quote 0
              • daoustundefined
                daoust
                last edited by

                so here is the m122 , for the gcode, it say my file size is too big too share, so how to ? file size is
                29 921kb

                console.txt

                infiniteloopundefined 1 Reply Last reply Reply Quote 0
                • daoustundefined
                  daoust
                  last edited by

                  Here is the line that should have fail20230118_192037.jpg

                  1 Reply Last reply Reply Quote 0
                  • infiniteloopundefined
                    infiniteloop @daoust
                    last edited by infiniteloop

                    @daoust

                    for the gcode, it say my file size is too big too share, so how to?

                    Dropbox, Google Drive? As I don't use any of these, I can't give a recommendation. Maybe @Phaedrux has an idea?

                    Thanks for the screenshot - all lines look pretty common, so I wonder what's going on there. I really want to examine the binary, and if nothing else helps, run the file in simulation mode on my printer.

                    The M122 report would be more telling if you made it in the event of the error, that is when you actually print (or simulate) the file.

                    daoustundefined 2 Replies Last reply Reply Quote 1
                    • daoustundefined
                      daoust @infiniteloop
                      last edited by

                      @infiniteloop the m122 was done after the error hapen, the printer was never close after the event.

                      I will look at dropbox to send the file. Now I m suspecting a bad sd card maybe

                      1 Reply Last reply Reply Quote 0
                      • daoustundefined
                        daoust @infiniteloop
                        last edited by

                        @infiniteloop here is the file. it is available for 7 days https://www.transfernow.net/dl/20230120EGawtxia

                        Thank you

                        dc42undefined 1 Reply Last reply Reply Quote 0
                        • dc42undefined
                          dc42 administrators @daoust
                          last edited by

                          @daoust thanks, I am running your file in simulation mode now.

                          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

                          infiniteloopundefined 1 Reply Last reply Reply Quote 0
                          • infiniteloopundefined
                            infiniteloop @dc42
                            last edited by

                            @daoust, @dc42 said in Error gcode file too long:

                            thanks, I am running your file in simulation mode now.

                            Mee too. Simulation shows no problems. I've also looked at the file: no hidden characters, no line even near to the limit of 255 chars. So your file is OK. Maybe you're right suspecting the sd card.

                            1 Reply Last reply Reply Quote 1
                            • dc42undefined
                              dc42 administrators
                              last edited by

                              @daoust my simulation ran OK too.

                              I am wondering whether the file might have become corrupted. How did you upload the file to the Duet? If you uploaded it from DWC, do you have "Use CRC32 checksums for uploads" enabled on the Settings/Machine Specific tab?

                              You could download the file from the Duet and check whether the downloaded one matches the original.

                              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

                              daoustundefined 1 Reply Last reply Reply Quote 0
                              • daoustundefined
                                daoust @dc42
                                last edited by

                                @dc42 I always use a sdcard because I need a wifi booster but I don t have any. I got some trouble lately that make me belive my sd card is the only thing that where not try yet.

                                1 Reply Last reply Reply Quote 0
                                • R006undefined R006 referenced this topic
                                • First post
                                  Last post
                                Unless otherwise noted, all forum content is licensed under CC-BY-SA