이전에 장애없이 작동했던 Windows 설치에서 최근에 LyX 오류가 발생했습니다. LyX와 MiKTeX를 다시 설치하려고했지만 아무 소용이 없습니다. LyX를 열면 어떤 문서 클래스도 사용할 수 없습니다. 내가 LyX의 재구성하려고하면, 나는 오류 메시지 :LyX 시스템 재구성 실패
The system reconfiguration has failed. Default textclass is used but LyX may not be able to work properly. Please reconfigure again if needed.
오류 로그에 다음 보여줍니다
16:37:25.964: Running configure... 16:37:25.989: python -tt "C:/Program Files (x86)/LyX 2.1/Resources/configure.py" --binary-dir="C:/Program Files (x86)/LyX 2.1/bin/" 16:37:26.060: checking for DVI to DTL converter... 16:37:26.062: +checking for "dv2dt"... yes 16:37:26.063: checking for DTL to DVI converter... 16:37:26.065: +checking for "dt2dv"... yes 16:37:26.066: checking for a Latex2e program... 16:37:26.067: +checking for "latex"... yes 16:37:26.068: checking for a DVI postprocessing program... 16:37:26.069: +checking for "pplatex"... yes 16:37:26.071: checking for pLaTeX, the Japanese LaTeX... 16:37:26.072: +checking for "platex"... yes 16:37:26.073: Traceback (most recent call last): 16:37:26.074: File "C:/Program Files (x86)/LyX 2.1/Resources/configure.py", line 1536, in <module> 16:37:26.076: LATEX = checkLatex(dtl_tools) 16:37:26.077: File "C:/Program Files (x86)/LyX 2.1/Resources/configure.py", line 480, in checkLatex 16:37:26.078: if cmdOutput(PLATEX + ' chklatex.ltx').find('pLaTeX2e') != -1: 16:37:26.080: File "C:/Program Files (x86)/LyX 2.1/Resources/configure.py", line 68, in cmdOutput 16:37:26.081: cmd = 'cmd /d /c pushd ' + shortPath(os.getcwdu()) + '&' + cmd 16:37:26.082: File "C:/Program Files (x86)/LyX 2.1/Resources/configure.py", line 84, in shortPath 16:37:26.084: from ctypes import windll, create_unicode_buffer 16:37:26.085: File "C:\Anaconda\Lib\ctypes\__init__.py", line 10, in <module> 16:37:26.086: from _ctypes import Union, Structure, Array 16:37:26.087: ImportError: DLL load failed: %1 is not a valid Win32 application. 16:37:26.089: Reloading configuration.....\..\..\src\support\Systemcall.cpp (292): Systemcall: 'python -tt "C:/Program Files (x86)/LyX 2.1/Resources/configure.py" --binary-dir="C:/Program Files (x86)/LyX 2.1/bin/"' finished with exit code 1 16:39:00.090: (reconfigure)
오류가 python -tt "C:/Program Files (x86)/LyX 2.1/Resources/configure.py" --binary-dir="C:/Program Files (x86)/LyX 2.1/bin/"
에 따라 발생하는 것 같습니다. cmd
을 통해 명령을 실행하면 오류없이 실행됩니다. 그 밖의 무엇을 시도해야합니까?
모든 것이 다시 작동하는 것처럼 보입니다 (내장 된'reconfigure' 명령 제외). 나는 C : /Programs/Lyx2.1에서 스크립트를 여러 번 시도해 보았는데, 포기하고 답을 더 자세히 읽기 전에 사용자 디렉토리에서 실행하는 것이 트릭을 실행했다. –
@AlexAmes 다행입니다! 우리는 LyX의 다음 버전에서 이와 같은 몇 가지 버그를 수정했습니다. 앞으로 LyX를 다시 설치하려고 시도하고 다시이 문제를 접한다면, 우리가 알지 못하는 버그가 있다는 것을 의미합니다. http://www.lyx.org/trac에서 버그 보고서를 게시하여 발견하고 수정할 수 있다면 정말 감사 할 것입니다. – scottkosty
Windows 10에서 이와 동일한 오류 메시지가 나타납니다. – user1271772