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

At commands are currently case sensitive, so @PAUSE doesn't trigger a pause whereas @pause does #4990

Open
3 of 4 tasks
jneilliii opened this issue Apr 12, 2024 · 2 comments
Labels
done Done but not yet released improvement Improving functionality, behaviour, UX, ...
Milestone

Comments

@jneilliii
Copy link
Contributor

The problem

When working through an issue with one of my plugins (https://github.com/jneilliii/OctoPrint-PauseManagement) I've come to realize that @PAUSE expanded by the gcode queuing phase are not processed by OctoPrint so the pause doesn't happen.

Did the issue persist even in safe mode?

I cannot test this issue in safe mode (state why below)

If you could not test in safe mode, please state why ("currently printing" is NOT an excuse!)

issue dependent on plugin hooks

Version of OctoPrint

1.9.3+

Operating system running OctoPrint

OctoPi 1.1.0 (nightly not sure what date)

Printer model & used firmware incl. version

Virtual

Browser and version of browser, operating system running browser

Google Chrome Version 123.0.6312.122 (Official Build) (64-bit)

Checklist of files to include below

  • Systeminfo Bundle (always include!)
  • Contents of the JavaScript browser console (always include in cases of issues with the user interface)
  • Screenshots and/or videos showing the problem (always include in case of issues with the user interface)
  • GCODE file with which to reproduce (always include in case of issues with GCODE analysis or printing behaviour)

Additional information & file uploads

octoprint-systeminfo-20240412155418.zip

Flexi-Rex-improved.gcode.txt

plugin settings

image

when you select the file it will extract any found pause commands (based on settings) and list in sidebar. delete them all and then add one for layer 1. I used the additional_logging branch to verify the setting was getting detected properly and shown in octoprint.log.

@github-actions github-actions bot added the triage This issue needs triage label Apr 12, 2024
@foosel
Copy link
Member

foosel commented Apr 15, 2024

At commands are case sensitive ;) With @pause - as documented - it works.

However it might make sense to change that indeed, given that gcode is also case insensitive, so I'll look into that.

@foosel foosel added improvement Improving functionality, behaviour, UX, ... and removed triage This issue needs triage labels Apr 15, 2024
@foosel foosel added this to the 1.11.0 milestone Apr 15, 2024
@foosel foosel changed the title internal at commands injected via gcode queuing hook expansion do not get processed At commands are currently case sensitive, so @PAUSE doesn't trigger a pause whereas @pause does Apr 15, 2024
@foosel
Copy link
Member

foosel commented Apr 15, 2024

Well, that took longer than expected due to having to yak shave an issue with the CI build (setuptools update changed the name of the sdist tarball - fun times).

Anyhow, implemented by the above commit, will be part of 1.11.0.

@foosel foosel added the done Done but not yet released label Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done Done but not yet released improvement Improving functionality, behaviour, UX, ...
Projects
Status: Done
Development

No branches or pull requests

2 participants