Communication error when print finishes

What is the problem?

At the end of the print, octoprint starts getting communication errors and then cancels the print job even though it is done.

What did you already try to solve it?

Removing a few lines of my S3D ending script.

Have you tried running in safe mode and if so did it solve the issue?

No

Complete Logs

octoprint.log, serial.log or output on terminal tab at a minimum, browser error console if UI issue ... no logs, no support! Not log excerpts, complete logs.)

Send: N102658 G92 E0.0000*81
Recv: ok 102657
Send: N102659 G1 E-1.5000 F2500*34
Recv: ok 102658
Send: N102660 M104 S0*86
Recv: ok 102659
Recv: ok 102660
Send: N102661 G91*35
Send: N102662 G1 E-1 F300*53
Recv: ok 102661
Send: N102663 G1 Z+60 E-5 X-20 Y-20 F{speed_travel}*115
Recv: TargetExtr0:0
Recv: Printed filament:8261.39m Printing time:87 days 2 hours 45 min
Recv: ok 102662
Recv: Error:Format error
Send: N102664 M105*16
Recv: 
Recv: Resend:102663
Recv: ok
Send: N102663 G1 Z+60 E-5 X-20 Y-20 F{speed_travel}*115
Recv: skip 102664
Recv: ok
Send: N102664 M105*16
Recv: Error:Format error
Recv: 
Recv: Resend:102663
Recv: ok
Recv: skip 102664
Recv: ok
Send: N102663 G1 Z+60 E-5 X-20 Y-20 F{speed_travel}*115
Send: N102664 M105*16
Recv: Error:Format error
Recv: 
Recv: Resend:102663
Recv: ok
Recv: skip 102664
Recv: ok
Send: N102663 G1 Z+60 E-5 X-20 Y-20 F{speed_travel}*115
Send: N102664 M105*16
Recv: Error:Format error
Recv: 
Recv: Resend:102663
Recv: ok
Recv: skip 102664
Send: N102663 G1 Z+60 E-5 X-20 Y-20 F{speed_travel}*115
Recv: ok
Send: N102664 M105*16
Recv: Error:Format error
Recv: 
Recv: Resend:102663
Recv: ok
Send: N102663 G1 Z+60 E-5 X-20 Y-20 F{speed_travel}*115
Recv: skip 102664
Recv: ok
Recv: Error:Format error
Send: N102664 M105*16
Recv: 
Recv: Resend:102663
Recv: ok
Recv: skip 102664
Recv: ok
Send: N102663 G1 Z+60 E-5 X-20 Y-20 F{speed_travel}*115
Send: N102664 M105*16
Recv: Error:Format error
Recv: 
Recv: Resend:102663
Recv: ok
Recv: skip 102664
Send: N102663 G1 Z+60 E-5 X-20 Y-20 F{speed_travel}*115
Recv: ok
Send: N102664 M105*16
Recv: Error:Format error
Recv: 
Recv: Resend:102663
Recv: ok
Recv: skip 102664
Recv: ok
Send: N102663 G1 Z+60 E-5 X-20 Y-20 F{speed_travel}*115
Send: N102664 M105*16
Recv: Error:Format error
Recv: 
Recv: Resend:102663
Recv: ok
Recv: skip 102664
Recv: ok
Send: N102663 G1 Z+60 E-5 X-20 Y-20 F{speed_travel}*115
Send: N102664 M105*16
Recv: Error:Format error
Recv: 
Recv: Resend:102663
Recv: ok
Recv: skip 102664
Recv: ok
Send: N102663 G1 Z+60 E-5 X-20 Y-20 F{speed_travel}*115
Send: N102664 M105*16
Recv: Error:Format error
Recv: 
Recv: Resend:102663
Printer keeps requesting line 102663 again and again, communication stuck
Changing monitoring state from "Printing" to "Error: Printer keeps requesting line 102663 again and again, communication stuck"
Send: M112
Send: N102665 M112*23
Send: N102666 M104 T0 S0*20
Send: N102667 M140 S0*81
Changing monitoring state from "Error: Printer keeps requesting line 102663 again and again, communication stuck" to "Offline (Error: Printer keeps requesting line 102663 again and again, communication stuck)"
Connection closed, closing down monitor
Closing down send loop

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

WRITE HERE

Your gcode contains placeholders that your firmware has no idea what to do with, {speed_travel}. Probably because it's a Cura placeholder that S3D doesn't know what to do with. Fix your slicer settings, reslice your files and things should be fine.

1 Like

Thank you, will give that a try...