-
-
Notifications
You must be signed in to change notification settings - Fork 632
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
Scons crashes UnicodeDecodeError when trying to decode compiler output #193
Comments
That is because Windows doesn't typically use UTF-8, can you change that line to use You do not have to install Scons on Windows btw, as Nuitka is using a forked version as inline copy for various reasons anyway. Appdirs is OK, but internal fallback is there too. The error is however in the scons file inside Nuitka, so it's unrelated to that. I believe what triggers this for you and not others, might be using MSVC in a non-English locale. Version output and/or errors or warnings could then be translated, and that is causing issues for Nuitka. Since your profile on Github has characters that are not displayed in my Chrome, also your home directory could be at fault, but Thanks for your report. Given feedback, I will gladly hotfix this. Yours, |
Oh, I using
Convert these to "gbk", it's maen Thank you. |
The missing include file is strange, but yes indeed. Did you try if a mere Yours, |
I think this is mostly resolved, lets close it. |
Just a comment: I had a similar problem. It was caused by the use of the "Masculin Ordinal Indicator" from my Mac keyboard, using it as a degrees symbol in the comments in my code. Worked on Mac, but it made Nuitka fail under Windows. Not a bug report, just a warning that even in comments, 'strange' characters might pose a bit of danger. |
env:
![image](https://user-images.githubusercontent.com/30521429/48073401-a67bef80-e219-11e8-9655-014bd687aebd.png)
python 3.6.4 32bit;
acctually, I'm use nuitka 0.6.0.6 and Nuitka 0.6.1rc8 all the same error.
I use
nuitka --standalone --show-progress --show-memory main.py
,but show error
I dont't know why ...
The text was updated successfully, but these errors were encountered: