Octorprint Error "Missing linenumber" with Repetier Firmware
Hi all,
I use a Raspberry Pi running Octoprint as a print server.
What I've noticed is that there is some quirks when it comes to it working with Repetier.
One of the most annoying ones is when I either cancel the print or when it ends and sends the M80 command to power down.
Ocotprint starts complaining about Missing LineNumber and to fix it I need to disconect/connect the printer a few times:
From the logs:
Print ends and send M80 to power off:
---
Recv: wait
Recv: wait
Send: M80
Recv: Error:Missing linenumber
Changing monitoring state from 'Operational' to 'Error: Missing linenumber
'
Recv:
Recv: Resend:65563
Recv: ok
Recv:
Recv: Resend:65563
Recv: ok
---
Cancel Print Action:
---
Changing monitoring state from 'Printing' to 'Operational'
Recv: ok 5126
Send: M84
Send: M104 T0 S0
Recv: Error:Missing linenumber
Changing monitoring state from 'Operational' to 'Error: Missing linenumber
'
Recv:
Recv: Resend:5127
Recv: ok
Send: M140 S0
Recv: Error:Missing linenumber
Recv:
Recv: Resend:5127
---
Now I'm not sure if this is to blame Repetier or Octoprint, but I'm posting it here to get some feedback
and see if anyone else have noticed the same.
I also noticed some issue with reading the temperatures but those are less annoying.
Comments
} else if(lastLineNumber) { // once line number always line number!
if(Printer::debugErrors())
{
Com::printErrorFLN(PSTR("Missing linenumber"));
}
requestResend();
return;
}
and delete the complete else part if you want the firmware to accept mixed commands with/without line numbers.
same issue here. My Felix with 0.91 works flawless, Prusa I3 RAMPS and Arduino Mega with 092.9 is showing the described issue. Only to disconnect and connect solves the Problem. At least with cura i am able to print the whole object and the error occures just at the end of the print, slicing in Simplify causes this error to Show up also right in the middle of the print.
Solution for that Problem is absolutely needed.