Closed romantolkachyov closed 11 years ago
What OS do you use? I will merge it after I test on Linux and Windows.
I'm using ST3 with Mac OS X 10.8.4, and confirm that @romantolkachyov changes works, but python3 branch at original project doesn't because of unicode error.
Here's the screenshot of the error:
Although I could not reproduce this issue, I'm merging this patch. Seems like it works fine.
Thanks for contributing to this project.
I saw this problem on Mac OS today: setting universal_newlines=False
(and keeping shell=shell
as it is) fixed it for me.
I'm having the same problem on Mac for some files.
Here is what console reports:
Exception in thread Thread-104:
Traceback (most recent call last):
File "X/threading.py", line 639, in _bootstrap_inner
File "Modific in /Users/xxxx/Library/Application Support/Sublime Text 3/Installed Packages/Modific.sublime-package", line 115, in run
File "X/subprocess.py", line 906, in communicate
File "X/subprocess.py", line 1531, in _communicate
File "X/subprocess.py", line 831, in _translate_newlines
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1042: ordinal not in range(128)
Looks like this is related to https://github.com/maltize/sublime-text-2-ruby-tests/issues/116
It still doesn't work with unicode on mac. Please reopen the ticket.
I don't know why but it works only with this. Raises unicode decode error if file contains non-ascii symbols in other case.