-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
ide crashes without notice if unprivileged user has cyrillic username on windows 8 #3836
Comments
thanks @mugiseyebrows, i'm looking into it |
@mugiseyebrows I'm finding a hard time at trying to reproduce the issue. Is your windows in Russian? |
@ffissore Oh, sorry, I forgot to mention that. Yes, its in Russian. |
I guess it's actually nsis issue. Is installation script in repository? I can't find it. |
No, it does have to do with the installer. Apparently, Windows Registry is storing your username using a charset the IDE can't convert to UTF8, which is strange, since the native API is using wchar_t which is the correct type in this case (AFAIK). This one will take a while to solve and help from some windows expert is needed. In the meanwhile, create a |
Seems like duplicate of #3360 |
#3360 was fixed by fetching data directly from the windows registry, instead of executing |
I have

Пользователь
user account on windows 8 and arduino installer created directoryC:\Users\Џ®«м§®ў ⥫м
with (AppData
andDocuments
directories inside) which is obviously character encoding issue. When ide starts without elevated permissions it crashes without notice on "preparing boards" stage. It works if "run as administrator" used though. I run arduino_debug.exe and it shows "access denied" (отказано в доступе) error:And it gives me a clue:
Пользователь
user account has no write permissions forЏ®«м§®ў ⥫м
.icacls "C:\Users\?R<м§Rў в?<м" /grant Пользователь:(OI)(CI)F
(with administrator rights of course) solves this issue (I didnt type in?R<м§Rў в?<м
, i tabbed it, dont know why its different this time).I encounter this issue on two machines with win8 so I guess its not just me.
Windows 8.1 x64, arduino 1.6.5 installed with installer, (I have jre 1.8.0_60 x64, jdk 1.8.0_60 x64 on this machine if that maters (I assume arduino uses its own java env))
The text was updated successfully, but these errors were encountered: