Comments (14)
some add. info: seems also happening if path + filename in total get too long
from plater.
Can you try the binaries from here:
https://drive.google.com/open?id=1USaJTZzJk_7KIQr8ctoPnoI9gQ6FYcY9
from plater.
@combolek what fix did you make?
It can be also related to special chars (here the ö)
from plater.
Hi, thanks for the download @combolek . But the given executable has the same problem. Indeed i've overseen the special character Ö which is typical in europe. In general UTF-8 might be good solution because many countries have à á â and other chars in their daily used names.
I now renamed the folder and it works (but in my case a bad solution)
from plater.
Ok @vmario89, I'm not saying you shouldn't use UTF-8 characters, but just trying to isolate what makes the program crash
Do you confirm that the same PATH with and without the special char have different behavior?
from plater.
hi @Gregwar, yes the "ö" in path is the problem. I tested it with
"C:\Users\mario\Seafile\cloud.123456-STLEXPOR.DD\Gedöns\123456Design\chainy_v2.stl" -> fail
"C:\Users\mario\Seafile\cloud.123456-STLEXPOR.DD\Gedons\123456Design\chainy_v2.stl" -> good
regards, Mario
from plater.
I was all wrong, ignore me.
from plater.
For the native MSVC build the following workaround works for me:
--- a/gui/main.cpp
+++ b/gui/main.cpp
@@ -13,6 +13,10 @@ Q_IMPORT_PLUGIN(QWindowsVistaStylePlugin);
int main(int argc, char *argv[])
{
+#if defined(_MSC_VER)
+ // set default encoding for fopen/chdir/etc.
+ setlocale(LC_CTYPE, ".utf8");
+#endif
QApplication a(argc, argv);
QGLFormat glf = QGLFormat::defaultFormat();
@vmario89 can you try these binaries?
https://drive.google.com/file/d/1ZdfkoLtuxTc07pidsPaVaUHsK0e3Y6kh/view?usp=sharing
But even if this works, it's only a partial solution because it cannot handle command line arguments (so it won't work for the plater.exe command line app). Also, I think the official build uses mingw (?) and this solution does not work then either.
from plater.
I figured out a better way to fix it, see PR #30. It requires Windows 10 1903 or later but it also handles paths on the command line.
@vmario89 can you try these updated binaries?
https://drive.google.com/drive/folders/1USaJTZzJk_7KIQr8ctoPnoI9gQ6FYcY9
from plater.
Stopped crashing for me with your latest updated binaries @combolek
from plater.
Great, thanks for testing. Let's hope PR #30 will be merged.
from plater.
It is done
from plater.
Oh nice! Would it be possible to provide a recent binary download / release set?
regards, Mario :)
from plater.
Did you try the ones from the link above?
from plater.
Related Issues (20)
- Not possible to download binary HOT 2
- Feature Request: add circular bed support HOT 4
- Feature Request: Show circular bed as circular HOT 2
- Bug: on Mac, preview shown in only bottom left 1/4 of window
- Feature Request: Add .3mf support? HOT 3
- Possible to optimize/rank/sort by height? HOT 2
- Setting threads count HOT 3
- not possible to place parts that exceed the bed size diagonally. HOT 2
- feature request: add model distribution/align options
- Understanding settings
- Please add CLI option for threading HOT 1
- Fail when adding multiple files
- generate error from CLI when a file in conf does not exist HOT 1
- On MacOS Big Sur 11.2.1 will not generate plate. Appears corrupted HOT 3
- V1.0 linux & Source Errors: "error while loading shared libraries: libQtOpenGL.so" HOT 1
- Feature request: Place parts within each other HOT 2
- OSX Command Line Interface HOT 2
- Windows download link broken? HOT 5
- Consistent crashing issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plater.