Sublime Forum

Build Error


I tried to build Python code, C++ and Java and I get this error anyway.

Traceback (most recent call last): File ".\", line 337, in run_ File ".\", line 154, in run File ".\", line 45, in __init__ UnicodeDecodeError: 'ascii' codec can't decode byte 0xcf in position 6: ordinal not in range(128)
Google says that there is an issue with st2 path or name of pc. But it doesn’t contain any cyrillic or other non-standart symbols.
I tried several versions of ST2, regular and portable installatins, runned it on my desktop x86 os and on my laptop x64, but i still got this error. Then I tried ST 1.4 and it worked fine!
Help me, please. I’m trying to solve this problem for a long time.



i found solution on chinese site. here is the link
you need to replace line 45 in

proc_env[k] = os.path.expandvars(v).encode(sys.getfilesystemencoding())

with that line


works fine for me