MikTex-pdflatex 无法编译-initexmf.exe

MikTex-pdflatex 无法编译-initexmf.exe

MiKTeX:2.9.7440 GitInfo:af89c1b / 2020-05-20 09:20:28 操作系统:Windows 10 Pro,64 位,版本 10586

  1. 卸载 Miktex 并在清理所有路径后重新安装(并且我搜索了注册表)
  2. 尝试了不同的设置(每次先卸载-->然后全新安装):Windows 64 安装、Windows 32 安装、本地用户、所有用户、管理员、无管理员、更新/无更新...
  3. pdflatex-->构建包产生错误:C:\Users\xxx xxx\AppData\Local\Programs\MiKTeX 2.9\miktex\bin\x64\initexmf.exe did not succeed; exitCode: 1"
  4. 我也尝试使用 Miktex 作为便携式应用程序并得到了相同的结果。

一周前我没有遇到任何问题。我只是想知道是否是 Windows 更新导致了这个问题。

这是日志文件(pdflatex.log)的内容:

The log file hopefully contains the information to get MiKTeX going again:

  C:\Users\xxx xxx\AppData\Local\MiKTeX\2.9\miktex\log\initexmf.log

2020-06-26 16:03:13,851+0200 FATAL pdflatex.core - The memory dump file could not be found.
2020-06-26 16:03:13,851+0200 FATAL pdflatex.core - Data: fileName="pdflatex.fmt"
2020-06-26 16:03:13,851+0200 FATAL pdflatex.core - Source: Libraries\MiKTeX\TeXAndFriends\texmfapp.cpp:692
2020-06-26 16:03:13,851+0200 FATAL pdflatex - The memory dump file could not be found.
2020-06-26 16:03:13,851+0200 FATAL pdflatex - Info: fileName="pdflatex.fmt"
2020-06-26 16:03:13,851+0200 FATAL pdflatex - Source: Libraries\MiKTeX\TeXAndFriends\texmfapp.cpp
2020-06-26 16:03:13,851+0200 FATAL pdflatex - Line: 692
2020-06-26 16:03:13,851+0200 INFO  pdflatex - this process (14480) finishes with exit code 1
2020-06-26 16:44:00,069+0200 INFO  pdflatex - this process (5508) started by 'texmaker' with command line: pdflatex -synctex=1 -interaction=nonstopmode test.tex
2020-06-26 16:44:00,079+0200 INFO  pdflatex - allowing known shell commands
2020-06-26 16:44:00,079+0200 INFO  pdflatex - enabling input (output) from (to) processes
2020-06-26 16:44:00,114+0200 INFO  pdflatex - going to create file: pdflatex.fmt
2020-06-26 16:44:00,149+0200 INFO  pdflatex.core - start process: initexmf --dump-by-name=pdflatex --engine=pdftex
2020-06-26 16:44:02,816+0200 ERROR pdflatex - C:\Users\xxx xxx\AppData\Local\Programs\MiKTeX 2.9\miktex\bin\initexmf.exe did not succeed; exitCode: 1
2020-06-26 16:44:02,816+0200 ERROR pdflatex - output:
2020-06-26 16:44:02,816+0200 ERROR pdflatex - 
Sorry, but "MiKTeX Configuration Utility" did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

  C:\Users\xxx xxx\AppData\Local\MiKTeX\2.9\miktex\log\initexmf.log

2020-06-26 16:44:02,816+0200 FATAL pdflatex.core - The memory dump file could not be found.
2020-06-26 16:44:02,816+0200 FATAL pdflatex.core - Data: fileName="pdflatex.fmt"
2020-06-26 16:44:02,816+0200 FATAL pdflatex.core - Source: Libraries\MiKTeX\TeXAndFriends\texmfapp.cpp:692
2020-06-26 16:44:02,816+0200 FATAL pdflatex - The memory dump file could not be found.
2020-06-26 16:44:02,816+0200 FATAL pdflatex - Info: fileName="pdflatex.fmt"
2020-06-26 16:44:02,816+0200 FATAL pdflatex - Source: Libraries\MiKTeX\TeXAndFriends\texmfapp.cpp
2020-06-26 16:44:02,816+0200 FATAL pdflatex - Line: 692
2020-06-26 16:44:02,817+0200 INFO  pdflatex - this process (5508) finishes with exit code 1
2020-06-26 17:14:23,162+0200 INFO  pdflatex - this process (14576) started by 'texmaker' with command line: pdflatex -synctex=1 -interaction=nonstopmode test.tex
2020-06-26 17:14:23,172+0200 INFO  pdflatex - allowing known shell commands
2020-06-26 17:14:23,172+0200 INFO  pdflatex - enabling input (output) from (to) processes
2020-06-26 17:14:23,206+0200 INFO  pdflatex - going to create file: pdflatex.fmt
2020-06-26 17:14:23,238+0200 INFO  pdflatex.core - start process: initexmf --dump-by-name=pdflatex --engine=pdftex
2020-06-26 17:14:26,002+0200 ERROR pdflatex - C:\Users\xxx xxx\AppData\Local\Programs\MiKTeX 2.9\miktex\bin\initexmf.exe did not succeed; exitCode: 1
2020-06-26 17:14:26,002+0200 ERROR pdflatex - output:
2020-06-26 17:14:26,002+0200 ERROR pdflatex - 
Sorry, but "MiKTeX Configuration Utility" did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

  C:\Users\xxx xxx\AppData\Local\MiKTeX\2.9\miktex\log\initexmf.log

2020-06-26 17:14:26,002+0200 FATAL pdflatex.core - The memory dump file could not be found.
2020-06-26 17:14:26,002+0200 FATAL pdflatex.core - Data: fileName="pdflatex.fmt"
2020-06-26 17:14:26,002+0200 FATAL pdflatex.core - Source: Libraries\MiKTeX\TeXAndFriends\texmfapp.cpp:692
2020-06-26 17:14:26,002+0200 FATAL pdflatex - The memory dump file could not be found.
2020-06-26 17:14:26,002+0200 FATAL pdflatex - Info: fileName="pdflatex.fmt"
2020-06-26 17:14:26,002+0200 FATAL pdflatex - Source: Libraries\MiKTeX\TeXAndFriends\texmfapp.cpp
2020-06-26 17:14:26,003+0200 FATAL pdflatex - Line: 692
2020-06-26 17:14:26,003+0200 INFO  pdflatex - this process (14576) finishes with exit code 1


答案1

已解决 - 解决方案是让我安装早期版本(MiKTeX64-2.9.7269-basic)而不是更新软件包。

相关内容