Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] (short description)Pausing or Cancelling prints from Octoprint leaves printer in "Printing..."state with Marlin 2.0.3 #16907

Closed
Thinkersbluff opened this issue Feb 20, 2020 · 4 comments

Comments

@Thinkersbluff
Copy link

Thinkersbluff commented Feb 20, 2020

Bug Description

At release 2.0.3 of Marlin, I am no longer able to Pause or Cancel prints correctly from within Octoprint. The printer does not seem to know that the job has been Paused, or Cancelled. It seems instead to remain in the "Printing..." state.

I have not tried release 2.0.2, but this problem does not occur when I use release 2.0.1, with exactly the same config files.

My Configurations

ConfigurationFiles.zip

Steps to Reproduce

  1. Start a Print job from the Octoprint interface
  2. Select either Pause or Cancel, while the printer is heating up or after it has started printing
  3. The printer will process the GCodes defined in Octoprint, but the printer remains in the "Printing..." state, as evident from the main printer menu still showing Pause print, Stop print and Tune menu items

Expected behavior: Printer should return to the PrintDone state, ready to go again.

Actual behavior: The printer will process the GCodes defined in Octoprint, but the printer remains in the "Printing..." state, as evident from the main printer menu still showing Pause print, Stop print and Tune menu items

Additional Information

  • Using an Ender 3 fitted with an SKR e3 mini v1.2.
  • Octoprint Version 1.3.12 running on a Pi 3B+ connected to the printer via USB.
  • PC running Microsoft Edge on Windows 10 connecting with Octoprint via WiFi.

When using precisely the same Config files compiled with Marlin 2.0.1, the printer works as expected but if compiled with Marlin 2.0.3, it does not.

@ellensp
Copy link
Contributor

ellensp commented Feb 20, 2020

Suspect this is issue #16749, this has been fixed in bugfix and will be in next release.

@GMagician
Copy link
Contributor

and by #16849, see issue #16893

@Thinkersbluff
Copy link
Author

Thanks for the cross-references, @ellensp and @GMagician. Evidently, my strategies for checking whether an issue is already identified still need work. I spent a lot of time trying to deduce whether my issue was an Octoprint issue, a BTT SKR Mini issue, or a serial interface issue. By the time I thought of comparing 2.0.1 to 2.0.3, I was focused specifically on Octoprint, not the more generic term "host".
Yes, using the latest bug-fix version today, when the Host Cancel print command includes turning-off the heaters, the action of Cancelling from the Host interface does now cause the printer to stop the job.
I do find, however, that Pausing a job from the Host simply pauses the datastream and the printer just stops moving when it has drained the buffer. The printer does not realize that the job has been paused.
Maybe that is an issue for the Host developers to address... At least Octoprint allows me to specify gcodes to send when Canceling a job. I will go ahead and close this issue, assuming that the current behaviour is a feature, not a bug, from Marlin's point of view.

@github-actions
Copy link

github-actions bot commented Jul 3, 2020

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants