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

Crashes when started from symbolic link #5751

Closed
CrashCash opened this issue Jan 12, 2021 · 2 comments
Closed

Crashes when started from symbolic link #5751

CrashCash opened this issue Jan 12, 2021 · 2 comments

Comments

@CrashCash
Copy link

Version

2.3.0+linux-x64

Operating system type + version

Debian Testing

3D printer brand / version + firmware version (if known)

Original MK3S

Behavior

Untar into /opt/PrusaSlicer-2.3.0+linux-x64-202101111322
cd /opt
tar -xjvf /storage/3D_printer/prusa/prusaslicer/PrusaSlicer-2.3.0+linux-x64-202101111322.tar.bz2

Create symbolic link
cd /usr/local/bin/
ln -s /opt/PrusaSlicer-2.3.0+linux-x64-202101111322/bin/prusa-slicer

Start it and it crashes
cd
prusa-slicer
terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
what(): boost::filesystem::canonical: No such file or directory: "/root/prusa-slicer"
Aborted

If I create /root/prusa-slicer, then it doesn't throw an error, but it doesn't run, either.

If you start it from the subdir, it runs fine:
cd /opt/
cd PrusaSlicer-2.3.0+linux-x64-202101111322/
cd bin/
./prusa-slicer

@bubnikv
Copy link
Collaborator

bubnikv commented Jan 12, 2021

I was not able to reproduce your issue, but it may be a duplicate of #5542
We will likely fix it for 2.3.1

bubnikv added a commit that referenced this issue Jan 13, 2021
…5542

Also it likely fixes Crashes when started from symbolic link #5751
@bubnikv
Copy link
Collaborator

bubnikv commented Jul 30, 2021

Fixed in PrusaSlicer 2.4.0-alpha1.

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

2 participants