Error gcode file too long
-
@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!
-
@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
-
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 -
Here is the line that should have fail
-
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.
-
@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
-
@infiniteloop here is the file. it is available for 7 days https://www.transfernow.net/dl/20230120EGawtxia
Thank you
-
@daoust thanks, I am running your file in simulation mode now.
-
@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.
-
@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.
-
@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.
-