Page 1 of 1

format error

Posted: Mon Apr 28, 2014 4:47 am
by McSlappy
So my prints seem to run fine, but when the print ends I get thousands of repeating 'format error' in the logs and it never fully finishes and homes z.

18:46:11.434 : Resend:46116
18:46:12.446 : Error:expected line 46116 got 46127
18:46:12.446 : Resend:46116

This goes on forever.

Any ideas

Re: format error

Posted: Mon Apr 28, 2014 5:08 am
by Eaglezsoar
McSlappy wrote:So my prints seem to run fine, but when the print ends I get thousands of repeating 'format error' in the logs and it never fully finishes and homes z.

18:46:11.434 : Resend:46116
18:46:12.446 : Error:expected line 46116 got 46127
18:46:12.446 : Resend:46116

This goes on forever.

Any ideas
What version of Kisslicer are you using? The newest version was just released is that the one causing these problems?

Re: format error

Posted: Mon Apr 28, 2014 8:19 pm
by McSlappy
It's the latest one on the site not the new one that you linked.

Re: format error

Posted: Mon Apr 28, 2014 8:22 pm
by mhackney
That sounds more like a host issue. What host are you running? Also, if you could post the last 50 or so lines of your gcode, we could take a look at it.

Re: format error

Posted: Mon Apr 28, 2014 8:25 pm
by Polygonhell
That's a firmware responding to a coms error.
Basically there was an error sending line 46116, the printer keeps requesting the line be resent and it isn't being resent by the host, seems like that would be a bug in either Repetier host (assuming that's what your using) or Repetier firmware.

I know there are several things you can do with GCode that will cause the line count to get messed up, most obviously M303, so maybe there is something inserted at the end of the GCode that's causing the issue.

Re: format error

Posted: Mon Apr 28, 2014 9:59 pm
by McSlappy
Here's my gcode from the last file I printed.

Yes I'm using Repetier Host.

https://www.dropbox.com/s/mz9r7zkgis633 ... base.gcode

Re: format error

Posted: Mon Apr 28, 2014 10:15 pm
by mhackney
Close to the end of the file there is a comment that is not commented:
1 X8.87 Y0.86 E1.4115
G1 X8.87 Y0.86 Z39.8 E1.4115 F6000
; END_LAYER_OBJECT z=38.40
;
; *** Cooling Extruder 1 to 0 C ***
Cool GCode
; Guaranteed same extruder, cooling down
; 5D-style
M104 S0
The "Cool GCode" line. Did you add that to the GCode-Postfix tab? I suspect this might be causing the problem. Simple test is to add a ';' to comment that line properly.

Re: format error

Posted: Tue Apr 29, 2014 1:34 am
by McSlappy
Ah ha! Dem pesky semicolons.... Thanks mate!

No I didn't add that, not sure where that came from. I'm not brave enough to screw with gcode too much yet :)

Re: format error

Posted: Tue Apr 29, 2014 8:30 am
by mhackney
I believe this would be in the gcode section - there is a tab called Postfix. When you click it you may see that comment improperly formatted without the ;