-
Notifications
You must be signed in to change notification settings - Fork 29
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
Never seems to slice with slic3r plugin #144
Comments
Can you give me a bit more info about this bug @gappleto97 ? Did you install the Slic3r plugin? It is available here: https://github.com/OctoPrint/OctoPrint-Slic3r Were you able to see |
I was able to see it as an option, but when I hit slice no processes were started on the computer, and no log events were emitted. I installed both via the built in plugin manager. |
If you uninstall Slicer Plugin, will you be able to use Slic3r successfully? |
Yes
|
Sorry for the delay @gappleto97 . I just came back from an extended vacation. I suspect that the problem you are experiencing is caused by an error in browser. Can you please open the OctoPrint page in Chrome, load an STL in Slicer plugin? Then open Chrome Javascript console, copy the content in Javascript console and post it in the comment. Thanks! |
Would it make a difference if I ran it in Firefox? Its a mild pain to install chrome on Linux. |
Yes Firefox should work too @gappleto97 . What I need is the Javascript console output. |
Were you able to capture the Javascript console output @gappleto97 ? |
Do you still have the problem @gappleto97 ? |
Closing issue b/c of inactivity. |
Also having this issue. Found this error in the console on chrome
This seems to only happen with the Slic3r engine selected, and only when this addon is active. When i turn it off everything works as expected. |
I posted a fix for the problem earlier but ran into a few more issues disabling it. Instead i made the following changes to Change at line 36457: if (self.slicingViewModel.slicer() == 'slic3r') {
_.forEach(['end_gcode', 'start_gcode'], function (key) {
if(key in profile){
profile[key] = profile[key].replace(/\\n/g, '\n');
}
});
} Change at line 36555 (36557 after changing the above lines): if (self.slicingViewModel.slicer() == 'slic3r') {
_.forEach(['profile.end_gcode', 'profile.start_gcode'], function (key) {
if(key in result$$1){
result$$1[key] = result$$1[key].replace(/\n/g, '\\n');
}
});
} Although i want to also want to mention that this does not completely fix the problem if you have an error in your slic3r ini file, which ended up also being a problem for me. Octoprint/Octoprint-Slicer will not warn about this and the above 'fix' may cause other issues. However this did seem to get it to complete the slicing and allow me to print. Hope this helps patch it. |
Awesome thank you so much @mikedmor for finding out the root cause and proposed a fix. Can you submit a PR for your fix? I'll be super busy for the following week but will try to merge your PR whenever I get a chance. Thanks again! |
Latest version of all components. No log events seem to be issued.
The text was updated successfully, but these errors were encountered: