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

Instructions on Octoprint site no longer seem to work. #64

Open
dalmuti509 opened this issue Jan 15, 2021 · 2 comments
Open

Instructions on Octoprint site no longer seem to work. #64

dalmuti509 opened this issue Jan 15, 2021 · 2 comments

Comments

@dalmuti509
Copy link

dalmuti509 commented Jan 15, 2021

The provided instructions on the octoprint site (https://plugins.octoprint.org/plugins/slic3r/) don't seem to work on a new install of the latest Octopi image.

I suggest adding:
sudo apt-get update into the script.

As well, some of the references don't seem to exist anymore (g++-4.7 and libwxgtk2.8-dev at least, but there might be more that I missed).

I tried finding how to fix this, but could not find the correct resources to do so. I worked around the issue by using your newer recommendation from the Github wiki, but it still failed to run correctly.

version 1.1.7 warns Running Slic3r under Perl >= 5.16 is not supported nor recommended
Install says it succeeded, but it doesn't work in Octoprint.

version 1.2.9 throws a bunch of errors.

Error when running in Octoprint:
Slicing failed Could not slice 3D_Printer/3DBenchy.stl to 3D_Printer/3DBenchy.gco: Got returncode 255: BEGIN failed--compilation aborted at /home/pi/Slic3r/slic3r.pl line 15.

Error when running directly slic3r.pl in ssh:
Bareword "X" not allowed while "strict subs" in use at /home/pi/Slic3r/lib/Slic3r/Geometry.pm line 53. Bareword "X" not allowed while "strict subs" in use at /home/pi/Slic3r/lib/Slic3r/Geometry.pm line 53. Bareword "Y" not allowed while "strict subs" in use at /home/pi/Slic3r/lib/Slic3r/Geometry.pm line 54. Bareword "Y" not allowed while "strict subs" in use at /home/pi/Slic3r/lib/Slic3r/Geometry.pm line 54. Bareword "X" not allowed while "strict subs" in use at /home/pi/Slic3r/lib/Slic3r/Geometry.pm line 54. Bareword "X" not allowed while "strict subs" in use at /home/pi/Slic3r/lib/Slic3r/Geometry.pm line 54. BEGIN not safe after errors--compilation aborted at /home/pi/Slic3r/lib/Slic3r/Geometry.pm line 513. Compilation failed in require at /home/pi/Slic3r/lib/Slic3r/ExPolygon.pm line 8. BEGIN failed--compilation aborted at /home/pi/Slic3r/lib/Slic3r/ExPolygon.pm line 8. Compilation failed in require at /home/pi/Slic3r/lib/Slic3r.pm line 39. BEGIN failed--compilation aborted at /home/pi/Slic3r/lib/Slic3r.pm line 39. Compilation failed in require at ./slic3r.pl line 15. BEGIN failed--compilation aborted at ./slic3r.pl line 15.

@eyal0
Copy link
Collaborator

eyal0 commented Jan 15, 2021

I haven't tried building slic3r in a long time.

I know that for PrusaSlicer there are AppImage files which you can just download and run, no compilation necessary. So if you're willing to use PrusaSlicer, do that. The instructions are in the README.

If you really want slic3r, also check the wiki. I think that the instructions are more up-to-date.

And if you figure it out, please update the wiki.

@masonh
Copy link

masonh commented Jan 30, 2021

I just installed slic3r from apt on my pi 2b after failing to build and failing to run the PrusaSlicer appimage. It is the only method that has worked for me, and the easiest. I added a note at the top of the wiki page so that others hopefully won't need to go down this rabbit hole like I did.

pi@octopi:~$ apt search slic3r
[...]
slic3r/stable,now 1.3.0+dfsg1-3 armhf [installed]
  G-code generator for 3D printers

slic3r-prusa/stable 1.39.2+dfsg-1+b2 armhf
  G-code generator for 3D printers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants