Hello,
It is my first time to use Lyx and LaTex.
I have installed MikTex 2.9 through ProTex before. Then I installed Lyx
2.1.4 bundle version and during the installing process, it reminded me to
update MikTex's package, and I updated it with MikTeX Package Manager
through the internet.
When I opened Lyx, error message showed as:
LyX: No textclass is found. ····And it let me to choose from three choices,
"Reconfigure", "Without LaTeX" and "Continue".
I chose Reconfigure and LyX opened, but no document classes are available.
When I attempt to reconfigure LyX, I get an error message:
The system reconfiguration has failed. Default textclass is used but LyX
may not be able to work properly. Please reconfigure again if needed.
And the error log showed in the messsage pane was:
15:41:15.285: (dialog-toggle progress)
15:41:20.755: Running configure...
15:41:20.807: python -tt "C:/Program Files
(x86)/Documents/LyX/Resources/configure.py" --binary-dir="C:/Program Files
(x86)/Documents/LyX/bin/"
15:41:21.132: checking for DVI to DTL converter...
15:41:21.139: +checking for "dv2dt"...  yes
15:41:21.143: checking for DTL to DVI converter...
15:41:21.147: +checking for "dt2dv"...  yes
15:41:21.150: checking for a Latex2e program...
15:41:21.151: +checking for "latex"...  yes
15:41:21.153: checking for a DVI postprocessing program...
15:41:21.154: +checking for "pplatex"...  yes
15:41:21.157: checking for pLaTeX, the Japanese LaTeX...
15:41:21.163: +checking for "platex"...  yes
15:41:21.176: Traceback (most recent call last):
15:41:21.179:   File "C:/Program Files
(x86)/Documents/LyX/Resources/configure.py", line 1557, in <module>
15:41:21.184:     LATEX = checkLatex(dtl_tools)
15:41:21.187:   File "C:/Program Files
(x86)/Documents/LyX/Resources/configure.py", line 482, in checkLatex
15:41:21.189:     if cmdOutput(PLATEX + ' chklatex.ltx').find('pLaTeX2e')
!= -1:
15:41:21.195:   File "C:/Program Files
(x86)/Documents/LyX/Resources/configure.py", line 72, in cmdOutput
15:41:21.196:     stdout=subprocess.PIPE, universal_newlines=True)
15:41:21.199:   File "C:\Program Files
(x86)\Documents\LyX\Python\lib\subprocess.py", line 710, in __init__
15:41:21.200:     errread, errwrite)
15:41:21.201:   File "C:\Program Files
(x86)\Documents\LyX\Python\lib\subprocess.py", line 958, in _execute_child
15:41:21.203:     startupinfo)
15:41:21.204: UnicodeEncodeError: 'ascii' codec can't encode character
u'\u9e4f' in position 25: ordinal not in range(128)
15:41:21.210: Reloading configuration.....\..\..\src\support\Systemcall.cpp
(292): Systemcall: 'python -tt "C:/Program Files
(x86)/Documents/LyX/Resources/configure.py" --binary-dir="C:/Program Files
(x86)/Documents/LyX/bin/"' finished with exit code 1
15:41:23.269: (reconfigure)

How can I sovle this problem and use LyX?

Thanks for help.

A new user of LyX

Reply via email to