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

xe 사용시 두개가 동시에 문제가 생기면 (로그인 유지 옵션을 체크하지 않으면 로그인이 되지 않는다./파일 업로드시 파일이 사라지는 경우) XE 1.5.1.10 버전 기준으로 관리자 페이지 -> 설정 -> 일반 에서 고급에 가서 인증 세션 DB를 사용하지 않음으로 해준다.

SSL하기 전에는 괜찮았던 것 같은데 옵션에 SSL을 사용하지 않음으로 되어있다....왜인지는 모르겠으나 상관없는듯.


// 캐시파일 재생성과 세션정리도 해보고 xe_session 테이블을 지워볼려고 했으나 테이블이 어디있는지 알 수 없어서 포기





참조 : http://egloos.zum.com/0BoO/v/5794578

'Manage' 카테고리의 다른 글

Sublime Text 2 error (UnicodeDecodeError)  (0) 2016.01.13