-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Server api files inconsistent with new printer currentJob dictionary #476
Comments
…oad API after renaming things in the job tracking. Thanks to Bryan Mayland for spotting this. Closes #476
Thanks for spotting this, should be fixed now. |
It still doesn't properly detect a file change on the current job I'm afraid :( In Oye vey! The simple solution would be to |
Ookay... I changed some signatures, tested things both with local and SD files, both currently selected and not selected, both via the UI and directly via the API. Can you try again too? |
Confirmed working with selected / not selected / sd card / local. The whiteboard works! Should I mention that the metadata doesn't fill in on the currently selected file when the background processing completes or will I get the hose again? |
goes to fetch the hose |
There you are :) |
It is everything I ever wanted in a changeset and more. |
(devel branch) When a file is selected as the current job, if you upload a new version of that file the printer state doesn't update with the new details in the webui and no updated gcode file is requested by the browser.
Tracking this down, the server/api/files.py class still references the old
currentJob['filename']
which is nowcurrentJob.file.name
(or is itcurrentJob['file']['name']
I am not good at python) and also 'sd' I believe is 'file.location'?In any instance it also won't prevent you from uploading a file that's currently printing either, which could be an even nastier problem.
The text was updated successfully, but these errors were encountered: