Welcome! Log In Create A New Profile

Advanced

OctoPrint on RPi stops printing right away:

Posted by mardy3d 
OctoPrint on RPi stops printing right away:
February 02, 2015 05:38PM
Hi everybody,

while trying Slic3r, Cura and Pronterface, I found out about OctoPrint. Having had a Raspberry Pi (=: RPi), I immediately tried it. A single print went good but now, I am having the following troubles.

Selecting an arbitrary gcode file (sliced from Slic3r or Cura, doesn't matter from where), Octoprint makes the printer heat up and move the nozzle to the bed's center. Right at the point a regular print would start, I am getting an error!

The error messages follow here:

This can be found in the terminal tab:
   Recv: Error:Line Number is not Last Line Number+1, Last Line: 14
   Recv: Resend: 15
   Send: N15 M117 Printing...*47
   Recv: ok
where there are many of these lines with different "Last Lines". Also, this can be found in the terminal tab:
   Recv: Error:Line Number is not Last Line Number+1, Last Line: 22   
   Recv: Resend: 23
   Send: N23 G1 X110.435 Y91.970 E0.30136*96
   Recv: ok
   Recv: ok
   Send: M105
   Recv: Error:Line Number is not Last Line Number+1, Last Line: 23
   Recv: Resend: 24
   Changing monitoring state from 'Printing' to 'Error: Printer requested li...'
   Recv: ok
   Recv: Error:Line Number is not Last Line Number+1, Last Line: 23
   Recv: Resend: 24
   Recv: ok
   Recv: Error:Line Number is not Last Line Number+1, Last Line: 23
   Recv: Resend: 24
   Recv: ok
   Recv: Error:Line Number is not Last Line Number+1, Last Line: 23
   Recv: Resend: 24
   Recv: ok
   Recv: Error:Line Number is not Last Line Number+1, Last Line: 23
   Recv: Resend: 24
   Recv: ok
   Recv: Error:Line Number is not Last Line Number+1, Last Line: 23
   Recv: Resend: 24
   Recv: ok
   Recv: Error:Line Number is not Last Line Number+1, Last Line: 23
   Recv: Resend: 24
   Recv: ok
   Recv: ok T:204.3 /205.0 B:79.9 /80.0 @:104 B@:0
   Changing monitoring state from 'Error: Printer requested li...' to 'Closed'
   Changing monitoring state from 'Offline' to 'Opening serial port'
   Connection closed, closing down monitor

Taking a deeper look into the actual octoprint logging files, I can find:

   octoprint.util.comm - WARNING - Printer requested line 24 but no suficient
   history is available, can't resend

Do you guys might now what the problem might be? A short summary to make everything clear: Initializing a print and right at the moment when the printer is at the x-y-center and nozzle down on surface, the process stops and Octoprint disconnects automatically.

I am thanking you a 1000 times in advance! :-)

Bests and have a good evening,
m
Re: OctoPrint on RPi stops printing right away:
February 03, 2015 03:31AM
Hello,
I see that this bug is reported for long on the Octoprint's bug tracker, but is not really solved (I hope your version is up to date?). What I understand is that you encounter a short USB disconnection during the print, and Octoprint try to resend the lost line, but with a wrong line number.
For me, the solution was: since a print job is running, I don't touch the Pi or the cables, to avoid disconnection.

You should find the bug on the Octoprint bug tracker, and share your experience with the log file and the version of your Octoprint (the version is shown on the bottom of the web interface).
Sorry, only registered users may post in this forum.

Click here to login