-
Notifications
You must be signed in to change notification settings - Fork 30
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
slic3r.pl works, but in octoprint doesn't #38
Comments
First, I'm glad that you were able to compile. That is usually the hardest part! Open up the settings in OctoPrint (wrench icon) and the click on logging and then look for the log called "plugin_slic3r_engine.log" and download it using the download button on the right. Open up that file and see if you can make sense of the error from those messages. If you can't make sense of the error, post it here and I'll take a look. |
The profile is copied into tmp because the profile that is stored in OctoPrint is in a different format from that of what Slic3r expects. OctoPrint reads in the profile, converts it to a different format, ans then Dave's it. In order to recreate the original, it reads the stored format, converts that into the original, and saved that into tmp. It's the same technique that the cura plugin uses. All the converting doesn't have much purpose so maybe I should get rid of that. I but haven't gotten complaints about it so I never changed that. |
Also, don't use export config bundle. Use export config. We don't support bundles. You can see the slicing profile as it is stored in the directory .octoprint/slicingprofiles/slic3r .octoprint/slicin |
Ok I've figured out the problem: However, with the automatically generated profile-file it stucks: The solution was to delete the lines "support_material_extruder" and "support_material_interface_extruder" in the profile-file. Now it works fine! :D Thank you eyal0 for the help! Edit: |
Great! How did those lines about support material extruder get in there? We're they in the uploaded file? I'd like to make it so that future users won't have this bug. Or at least make it easier to diagnose. As you noticed, the profile that OctoPrint stores is a slightly transformed version of the input ini file. OctoPrint stores profiles as python dictionaries so that they can potentially be merged. But it can cause confusion when converting back and forth. |
I've seen that in the profile.py this could be implemented quite fast. To reproduce this error:
However, the one in my last comment works. |
I followed the instructions on https://github.com/OctoPrint/OctoPrint-Slic3r/wiki/How-to-install-Slic3r-on-RPi
I couldn't find the tests to verify via the ctest command.
Locally, slicing works well:
...perl local and timezone warnings
However on Octoprint, i verified the path, used the default profile from Slic3r desktop edition and this error occurs:
I couldn't find any help in the internet before. Is anyone familiar with the error responses?
Cheers,
Chris
The text was updated successfully, but these errors were encountered: