absinthe

보호되어 있는 글입니다.
내용을 보시려면 비밀번호를 입력하세요.

확인

보호되어 있는 글입니다.
내용을 보시려면 비밀번호를 입력하세요.

확인

sublime Text2를 새로 설치하고 테마와 package를 설치한 뒤 테스트를 하는데 아무런 반응이 나타나지 않았다.

ctrl + `를 이용해 보니 

Running python -u C:\Users\absinthe\Desktop\파일\test.py
Traceback (most recent call last):
File ".\sublime_plugin.py", line 337, in run_
File ".\exec.py", line 154, in run
File ".\exec.py", line 45, in __init__
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc7 in position 9: ordinal not in range(128)

와 같은 내용이 나타나 있었다.

Windows 8.1기준으로 C:\Users\username\AppData\Roaming\Sublime Text 2\Packages 으로 가서 exec.py의 45번째 줄의 

os.path.expandvars(v).encode(sys.getfilesystemencoding()) 부분을

os.path.expandvars(v.decode(sys.getfilesystemencoding())).encode(sys.getfilesystemencoding())으로 바꾸어 준다.


//다음날 다시 해보니 다른 에러가 나타났다. 파일을 python폴더에 넣으니 에러가 사라진것을 보아 경로중 인코딩이 되지 않는 부분이 있는 것 같다.

Traceback (most recent call las):
File ".\sublime_plugin.py", line 337, in run_
File ".\exec.py", line 155, in run
File ".\exec.py", line 49, in __init__
File ".\subprocess.py", line 633, in __init__
File ".\subprocess.py", line 842, in _execute_child
UnicodeEncodeError: 'ascii' codec can't encode characters in position 19-20: ordinal not in range(128)

http://stackoverflow.com/questions/14715918/sublime-text-2-build-tools-nothing-happens

 --자꾸 까먹는 brogrammer 테마  

{

  "theme": "Brogrammer.sublime-theme",

  "color_scheme": "Packages/Theme - Brogrammer/brogrammer.tmTheme"

}


'Manage' 카테고리의 다른 글

xe 로그인 옵션 및 파일 업로드 에러  (0) 2015.08.15