-
Notifications
You must be signed in to change notification settings - Fork 2k
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
--datadir command line parameter doesn't handle space in path #128
Comments
@leavion If you edit the slic3r shell script and add the --datadir parameter there, does it work? |
There seems to be two issues:
|
Indeed, modifying the slic3r script and replacing I now was able to run this and it worked:
|
Cool. I have updated the build script to produce a correct start script. |
Actually, it will work with relative path and with ~ but you have to escape the spaces and not use quotes around the path to make it work. For example this works fine once you have "$@" in the script:
as well as this one:
|
It will work with escapes, because with escapes the substitution is done by the shell. If you enclose a path into quotes, the substitution will not be done by the shell and it is left to the application. This was actually new to me as well. |
Version
Version of Slic3r used goes here
1.33.3-prusa3d-linux64
Use
About->About Slic3r
for release versionsFor -dev versions, use
git describe --tag
or get the hash value for the version you downloaded orgit rev-parse HEAD
Operating system type + version
What OS are you using, and state any version #s
Ubuntu 16.04.2 LTS (xenial)
Behavior
Describe the problem
The --datadir command line parameter doesn't handle spaces in path even when space is escaped or path is surrounded by quote signs.
Steps needed to reproduce the problem
Run slic3r from the command line and pass a path to the datadir which has a space in it.
For example:
./slic3r --datadir '/home/me/3D Printing/slicer-beta/
Create or use the configuration files in the directory specified in the --datadir parameter and start.
Displays an error:
Input file must have .stl, .obj or .amf(.xml) extension
Is this a new feature request?
No. It's a bug report.
STL/Config (.ZIP) where problem occurs
Upload a zipped copy of an STL and your config (
File -> Export Config
)The text was updated successfully, but these errors were encountered: