Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Incorrect line numbers after reset #1676
What were you doing?
Resetting the printer while idle or during single motions (not while printing), using the hardware button/LCD.
What did you expect to happen?
The printer would reset, and OctoPrint would not issue any immediate commands.
What happened instead?
Line numbers were not reset in OctoPrint, so the printer was requesting the incorrect data (ie.. OctoPrint was sending whatever it was previously at, eg. 59, but the printer had just been reset and hence was requesting line 1.) This occasionally meant that a sequence of incorrect commands were executed.
Branch & Commit or Version of OctoPrint
Version 1.3.0 (master branch)
Printer model & used firmware incl. version
Custom corexy. Repetier 1.0.0dev.
Browser and Version of Browser, Operating System running Browser
Link to octoprint.log
Link to contents of terminal tab or serial.log
Screenshot(s) showing the problem:
N/A - however testing different values for 'Max Consecutive Timeouts While Idle" had no effect..
I have read the FAQ.
@nophead I added an option explicitly for you to disable line numbers altogether ;) But they are necessary for a lot of printers out there to work reliably.
@camnewnham I'll look into it. It should hopefully suffice to simply send a reset line number command when a
OctoPrint will now reset line numbers via an
Change is pushed to