KTUG 한국 텍 사용자 그룹

Menu

KTUG :: 마당자유글 › 윈도우에서 LyX 2.0 설치시 오류 날 경우

min-j | 2013.09.08 18:28:00 | 메뉴 건너뛰기 쓰기
OS가 윈도우인 경우 설치상의 문제가 없는데 LyX 처음 실행 시

"LyX will only have minimal functionality because no textclasses have been found. You can either try to reconfigure LyX normally, try to reconfigure without checking your LaTeX installation, or continue."

와 같은 에러가 나고, reconfiguration을 하면

"The system reconfiguration has failed. Default textclass is used but LyX may not be able to work properly."

와 같은 에러가 날 경우 해결 방법입니다.
구글링해도 없고, 게시판에 같은 증상을 호소하는 분들이 계셔서 올립니다.

LyX2.0\Resources\configure.py를 수정해야 하는데 첫줄에 import locale 하고
line 71: subprocess.Popen(cmd, ~) 이 부분을
subprocess.Popen(cmd.encode(locale.getpreferredencoding()), ~)로 수정해주면 됩니다.
cmd.exe의 인코딩은 cp437인데 윈도우 인코딩은 cp1252라서 생기는 버그(?)인 것 같습니다.
수정한 파일도 첨부했습니다.

Win8 64bit, Tex Live 2013 환경에서 테스트되었습니다.

첨부 [1]

댓글 [1]

댓글 쓰기

목록 삭제

KTUG 한국 텍 사용자 그룹