-
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
Slic3r does not start (crashes) on Windows, when installed in a localized directory #133
Comments
@lonelymyp What is the full path of your folder, where you unpacked slic3r on the D: drive? |
D:\Slic3r\slic3r.exe - Ok |
All right, Фёдор, I think this is the issue. Slic3r is written in C++ & Perl, Perl does not fully support Unicode access (yes, in year 2017) to Windows file system. What Windows localization is it? Was it been installed as English, or Russian (maybe Bulgarian :-) ) Windows? Is your name written with the code page, which is default to your Windows installation? Sorry, I know these are very technical questions. |
Yeah, that's how Russian Windows works. I'd say 95% of Windows installations in Russia are using cyrillic names in paths and that's a huge pain in the ass with many non-unicode-aware programs. Windows installer ask for user's name and people enter their name, even Russian language is pre-selected. |
I am Czech, when installing Slic3r into a nicely named folder |
There seems to be something bad going on with Perl & WxWidgets. I am not sure whether I will be able to fix this issue any time soon. |
@lordofhyphens FYI, this is another surprise of wxPerl. |
I sent an e-mail to [email protected] |
Getting rid of Perl sounds nice. I already tried to remove most of Build.pl stuff, but Perl doesn't make it easy to build a Perl module outside of their weird Module::Build environment. |
It seems the perl itself is broken and the core perl dynaloader fails to work, if the perl was started with long names. For example, running slic3r with the following slic3r.bat fails: "%~dp0\perl5.24.0.exe" "%~dp0\slic3r.pl" %* It works though, if one replaces the magic %~dp0 with %~dps0: "%~dps0\perl5.24.0.exe" "%~dps0\slic3r.pl" %* That way both the paths of the perl.exe and slic3r.pl use the 8.3 characters only per directory entry. |
I am working on a C++ port of the GUI for main branch.
"Nothing unreal exists." - Kiri-kin-tha's First Law of Metaphysics.
…On Thu, Feb 16, 2017 at 11:15 AM, bubnikv ***@***.***> wrote:
It seems the perl itself is broken and the core perl dynaloader fails to
work, if the perl was started with long names. For example, running slic3r
with the following slic3r.bat fails:
"%~dp0\perl5.24.0.exe" "%~dp0\slic3r.pl" %*
It works though, if one replaces the magic %~dp0 with %~dps0:
"%~dps0\perl5.24.0.exe" "%~dps0\slic3r.pl" %*
That way both the paths of the perl.exe and slic3r.pl use the 8.3
characters only per directory entry.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#133 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAB8Cm4gb-6CVtOchq7ERblogEitybF4ks5rdIQcgaJpZM4MCqXF>
.
|
Fixed by executing perl and setting the library paths to short (8.3) paths. |
Version
1.33.4 x32/64
Operating system type + version
W8 x64
Behavior
Сrash at startup If the program is running from the disk D, from disk С run without problems
The text was updated successfully, but these errors were encountered: