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

klipper/gcode.py: SyntaxWarning: invalid escape sequence '\s' #6636

Closed
matdibu opened this issue Jul 6, 2024 · 2 comments
Closed

klipper/gcode.py: SyntaxWarning: invalid escape sequence '\s' #6636

matdibu opened this issue Jul 6, 2024 · 2 comments
Labels
not on github Not a topic tracked on github

Comments

@matdibu
Copy link

matdibu commented Jul 6, 2024

m112_r = re.compile('^(?:[nN][0-9]+)?\s*[mM]112(?:\s|$)')

klipper/gcode.py:409: SyntaxWarning: invalid escape sequence '\s'

I'm getting this error on a NixOS 23.11 system (with python 3.12.4)

Should that string be a regex literal? Or maybe with double backslashes ?

@jakep82
Copy link
Collaborator

jakep82 commented Jul 7, 2024

We don't use GitHub to report or track issues.

https://www.klipper3d.org/Contact.html#i-found-a-bug-in-the-klipper-software

@jakep82 jakep82 added the not on github Not a topic tracked on github label Jul 7, 2024
Copy link

github-actions bot commented Jul 7, 2024

It looks like this ticket is a request for help (or similar). Many helpful people will not see your message here and you are unlikely to get a useful response. Instead, see the contact directions at: https://www.klipper3d.org/Contact.html

We use github to share the results of work done to improve Klipper. We don't use github for requests. (In particular, we don't use github for feature requests, to answer questions, nor to help diagnose problems with a printer.)

Please follow the directions at: https://www.klipper3d.org/Contact.html

This ticket will be automatically closed.

Best regards,
~ Your friendly GitIssueBot

PS: I'm just an automated script, not a human being.

@matdibu matdibu closed this as completed Jul 8, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jan 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
not on github Not a topic tracked on github
Projects
None yet
Development

No branches or pull requests

2 participants