Initial Gcode runs but print doesn't start

Installed a fresh image of Octopi 0.14.0 with Octoprint 1.3.4, did the update. Connected, uploaded a file, hit print. Printer warmed up and did initial homing, but then nothing. Looking at the log, it looks like it's scrolling through the rest of the gcode, but nothing's happening. I see a bunch of NXX lines.

Figured it might be a problem with the gcode, but it prints fine from SD. Figured it might be a plugin, so I turned them all off, but no change. Reimaged and didn't update (left at 0.14) which I know should work, but same thing.

Watched log and it heats and homes OK, but then when it starts code proper I see this:

Send: N29 G1 X115.224 Y70.042 E0.06282103
Recv: skip 29
Recv: ok
Send: N30 G1 X115.669 Y69.723 E0.09423
104
Recv: Error:expected line 14 got 30
Recv:
Recv: Resend:14
Recv: ok
Send: N14 M109 T0 S[print_temperature]109
Recv: skip 0
Recv: ok
Send: N15 M84
43
Recv: skip 15
Recv: ok
Send: N16 M104 T0 S022
Recv: skip 16
Recv: ok
Send: N17 M104 T1 S0
22
Recv: skip 17
Recv: ok
Send: N18 M140 S092
Recv: skip 18
Recv: ok
Send: N19 M106 S0
95
Recv: skip 19
Recv: ok
Send: N20 M117 Purging102
Recv: skip 20
Recv: ok
Send: N21 T0
9
Recv: skip 21
Recv: ok
Send: N22 G92 E0119
Recv: skip 22
Recv: ok
Send: N23 M109 T0 S[extruder0_temperature]53
Recv: skip 23
Recv: ok
Send: N24 T0
12
Recv: skip 24
Recv: ok
Send: N25 M117 FELIXprinting
124
Recv: skip 25
Recv: ok
Send: N26 M10717
Recv: skip 26
Recv: ok
Send: N27 G0 F3600 X114.495 Y70.855 Z0.3
26
Recv: skip 27
Recv: ok
Send: N28 G1 F1200 X114.83 Y70.422 E0.0314154
Recv: skip 28
Recv: ok
Send: N29 G1 X115.224 Y70.042 E0.06282
103
Recv: skip 29
Recv: ok
Send: N30 G1 X115.669 Y69.723 E0.09423104
Recv: Error:expected line 14 got 30
Recv:
Recv: Resend:14
Recv: ok
Send: N14 M109 T0 S[print_temperature]109
Recv: skip 0
Recv: ok
Send: N15 M84
43
Recv: skip 15
Recv: ok
Send: N16 M104 T0 S0
22
Recv: skip 16
Recv: ok
Send: N17 M104 T1 S022
Recv: skip 17
Recv: ok
Send: N18 M140 S0
92
Recv: skip 18
Recv: ok
Send: N19 M106 S095
Recv: skip 19
Recv: ok
Send: N20 M117 Purging
102
Recv: skip 20
Recv: ok
Send: N21 T09
Recv: skip 21
Recv: ok
Send: N22 G92 E0
119
Recv: skip 22
Recv: ok
Send: N23 M109 T0 S[extruder0_temperature]53
Recv: skip 23
Recv: ok
Send: N24 T0
12
Recv: skip 24
Recv: ok
Send: N25 M117 FELIXprinting124
Recv: skip 25
Recv: ok
Send: N26 M107
17
Recv: skip 26
Recv: ok
Send: N27 G0 F3600 X114.495 Y70.855 Z0.326
Recv: skip 27
Recv: ok
Send: N28 G1 F1200 X114.83 Y70.422 E0.03141
54
Recv: skip 28
Recv: ok
Send: N29 G1 X115.224 Y70.042 E0.06282103
Recv: skip 29
Recv: ok
Send: N30 G1 X115.669 Y69.723 E0.09423
104
Recv: Error:expected line 14 got 30
Recv:
Recv: Resend:14
Recv: ok
Send: N14 M109 T0 S[print_temperature]109
Recv: skip 0
Recv: ok
Send: N15 M84
43
Recv: skip 15
Recv: ok
Send: N16 M104 T0 S022
Recv: skip 16
Recv: ok
Send: N17 M104 T1 S0
22
Recv: skip 17
Recv: ok
Send: N18 M140 S092
Recv: skip 18
Recv: ok
Send: N19 M106 S0
95
Recv: skip 19
Recv: ok
Send: N20 M117 Purging102
Recv: skip 20
Recv: ok
Send: N21 T0
9
Recv: skip 21
Recv: ok
Send: N22 G92 E0119
Recv: skip 22
Recv: ok
Send: N23 M109 T0 S[extruder0_temperature]53
Recv: skip 23
Recv: ok
Send: N24 T0
12
Recv: skip 24
Recv: ok
Send: N25 M117 FELIXprinting
124
Recv: skip 25
Recv: ok
Send: N26 M10717
Recv: skip 26
Recv: ok
Send: N27 G0 F3600 X114.495 Y70.855 Z0.3
26
Recv: skip 27
Recv: ok
Send: N28 G1 F1200 X114.83 Y70.422 E0.0314154
Recv: skip 28
Recv: ok
Send: N29 G1 X115.224 Y70.042 E0.06282
103
Recv: skip 29
Recv: ok
Send: N30 G1 X115.669 Y69.723 E0.09423104
Recv: Error:expected line 14 got 30
Recv:
Recv: Resend:14
Recv: ok
Send: N14 M109 T0 S[print_temperature]109
Recv: skip 0
Recv: ok
Send: N15 M84
43
Recv: skip 15
Recv: ok
Send: N16 M104 T0 S0
22
Recv: skip 16
Recv: ok
Send: N17 M104 T1 S022
Recv: skip 17
Recv: ok
Send: N18 M140 S0
92
Recv: skip 18
Recv: ok
Send: N19 M106 S095
Recv: skip 19
Recv: ok
Send: N20 M117 Purging
102
Recv: skip 20
Recv: ok
Send: N21 T09
Recv: skip 21
Recv: ok
Send: N22 G92 E0
119
Recv: skip 22
Recv: ok
Send: N23 M109 T0 S[extruder0_temperature]53
Recv: skip 23
Recv: ok
Send: N24 T0
12
Recv: skip 24
Recv: ok
Send: N25 M117 FELIXprinting124
Recv: skip 25
Recv: ok
Send: N26 M107
17
Recv: skip 26
Recv: ok
Send: N27 G0 F3600 X114.495 Y70.855 Z0.326
Recv: skip 27
Recv: ok
Send: N28 G1 F1200 X114.83 Y70.422 E0.03141
54
Recv: skip 28
Recv: ok
Send: N29 G1 X115.224 Y70.042 E0.06282103
Recv: skip 29
Recv: ok
Send: N30 G1 X115.669 Y69.723 E0.09423
104
Recv: Error:expected line 14 got 30
Recv:
Recv: Resend:14
Recv: ok
Send: N14 M109 T0 S[print_temperature]109
Recv: skip 0
Recv: ok
Send: N15 M84
43
Recv: skip 15
Recv: ok
Send: N16 M104 T0 S022
Recv: skip 16
Recv: ok
Send: N17 M104 T1 S0
22
Recv: skip 17
Recv: ok
Send: N18 M140 S092
Recv: skip 18
Recv: ok
Send: N19 M106 S0
95
Recv: skip 19
Recv: ok
Send: N20 M117 Purging102
Recv: skip 20
Recv: ok
Send: N21 T0
9
Recv: skip 21
Recv: ok
Send: N22 G92 E0119
Recv: skip 22
Recv: ok
Send: N23 M109 T0 S[extruder0_temperature]53
Recv: skip 23
Recv: ok
Send: N24 T0
12
Recv: skip 24
Recv: ok
Send: N25 M117 FELIXprinting
124
Recv: skip 25
Recv: ok
Send: N26 M10717
Recv: skip 26
Recv: ok
Send: N27 G0 F3600 X114.495 Y70.855 Z0.3
26
Recv: skip 27
Recv: ok
Send: N28 G1 F1200 X114.83 Y70.422 E0.0314154
Recv: skip 28
Recv: ok
Send: N29 G1 X115.224 Y70.042 E0.06282
103
Recv: skip 29
Recv: ok
Send: N30 G1 X115.669 Y69.723 E0.09423104
Recv: Error:expected line 14 got 30
Recv:
Recv: Resend:14
Recv: ok
Send: N14 M109 T0 S[print_temperature]109
Recv: skip 0
Recv: ok
Send: N15 M84
43
Recv: skip 15
Recv: ok
Send: N16 M104 T0 S0
22
Recv: skip 16
Recv: ok
Send: N17 M104 T1 S022
Recv: skip 17
Recv: ok
Send: N18 M140 S0
92
Recv: skip 18
Recv: ok
Send: N19 M106 S095
Recv: skip 19
Recv: ok
Send: N20 M117 Purging
102
Recv: skip 20
Recv: ok
Send: N21 T0*9
Recv: skip 21
Recv: ok

Hmm, well looking at those messages closely it looks like the gcode might be kind of messed up after all. The M109 commands are not looking right. And yet it printed OK from SD....
Will try to fix the gcode and see if it helps.

Yep, that was it. Had square braces on the temperature commands that should have been curly braces. Not sure why it still printed OK from SD but not from Octoprint. Fixed that and now it works great.

It's hard to tell what gcode will be accepted by any particular printer. There aren't really any standards ATM. We need something like ANSI/ESO 3d printer gcode standard I think.