-
-
Notifications
You must be signed in to change notification settings - Fork 228
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
Preheat Button shows error 405 if the thumbnail size is higher than 200*200 #1052
Comments
That certainly is really really weird. I'll investigate this :) |
If you need more material I can repeat my experience |
I just tested this with a 320x320 thumbnail and everything works as expected. Could you maybe provide the file so I can test it with the exact same file? I'm thinking that this is probably a problem with the preheat plugin itself - PrusaSlicer is appending the image as a base64 string to the top of the GCOde, the plugin might not be able to find the temperature (maybe it online searches the first 800 lines of GCode, which would work up to a certain resolution). If I have the file I can further investigate this :) |
I just checked the API code for the preheat plugin and the 405 indicates an error within the preheat plugin: https://github.com/marian42/octoprint-preheat/blob/master/octoprint_preheat/__init__.py#L286. There also should be a log message which starts with |
I was thinking the same... but the error shows up with various resolutions. |
I think that this will be the solution: at the bottom of the page https://github.com/marian42/octoprint-preheat |
Great find! Going to add this to the troubleshooting guide. Did it work for you? |
Yes it works... i'm trying with 512x512 size preview and it seems to work... I've set the check for line number to 5000 |
Great, also has been added to the troubleshooting guide: https://github.com/UnchartedBull/OctoDash/wiki/Troubleshooting#preheat-button-isnt-working-once-preview-images-are-enabled. I'm closing this here now. If the issue comes back, please reopen. |
Reading the new website I've decided to set the resolution of the thumbnail to 256256. after saving and uploading the new gcode I've noticed that the preheat button doesn't work neither from octodash or the web interface... so I've tried to scale the thumbnail down and it seems that with 200200 it will work. What can cause this issue?
The text was updated successfully, but these errors were encountered: