LaTeX-Workshop: Build does nothing
Describe the bug
Whenever I start the build command, the symbol in the bottom bar starts spinning but the compiler is not started. latexmk in the console works. Texmaker with latexmk as engine works as well.
To Reproduce Steps to reproduce the behavior:
- Build LaTeX Project
Expected behavior Start the build process
Logs
LaTeX Workshop Output
[17:53:32] ACTIONS command invoked.[17:53:34] RECIPES command invoked. [17:53:35] BUILD command invoked. [17:53:35] Found root file from active editor: c:\Users~\LaTeX_Files\master.tex [17:53:35] Root file remains unchanged from: c:\Users~\LaTeX_Files\master.tex. [17:53:35] Building root file: c:\Users~\LaTeX_Files\master.tex [17:53:35] Build root file c:\Users~\LaTeX_Files\master.tex
LaTeX Compiler Output
before starting: "Ready"after starting: "Ready
Developer Tools Console
rejected promise not handled within 1 second (at Timeout._onTimeout (c:\Users\~\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\out\vs\workbench\node\extensionHostProcess.js:753:315))ERR c:\Users~\LaTeX_Files\c:\Users~\Bachelorarbeit\Sections contains invalid WIN32 path characters.: Error: c:\Users~\LaTeX_Files\c:\Users~\Sections contains invalid WIN32 path characters. at Object.e (C:\Users~.vscode-insiders\extensions\james-yu.latex-workshop-5.20.2\out\src\main.js:137:105113) at module.exports.t.Builder.build.t.forEach.e (C:\Users~.vscode-insiders\extensions\james-yu.latex-workshop-5.20.2\out\src\main.js:363:28978) at Set.forEach (<anonymous>) at module.exports.t.Builder.build (C:\Users~.vscode-insiders\extensions\james-yu.latex-workshop-5.20.2\out\src\main.js:363:28964) at module.exports.t.Commander.<anonymous> (C:\Users~.vscode-insiders\extensions\james-yu.latex-workshop-5.20.2\out\src\main.js:137:86336) at Generator.next (<anonymous>) at s (C:\Users~.vscode-insiders\extensions\james-yu.latex-workshop-5.20.2\out\src\main.js:137:85267)
The path is two complete "c:" paths concatenated. I have my main directory containing the LaTeX_Files-folder with the master.tex root file and another folder on the same level as the LaTeX_Files called Sections with some files (sometimes in another folder in that one) I added to the project
Desktop:
- OS: Windows 10
- VS Code version: 1.31.0 (insiders) and 1.30.2
- Extension version: 5.20.2
Additional context Because of my folder structure (as I explained under the Dev Tools Console output) the auto-generated magic comments reference usually “…/…/LaTeX_Files/master.tex” but this is correct, as in this case the root file is two folders above in the LaTeX_Files folder.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 4
- Comments: 20 (7 by maintainers)
I cannot reproduce. You need to clean all temporary files generated by
latexmkwhen upgrading the extension to 5.20.2. Can you give us the complete LaTeX Workshop logs? In particular, the part describing the recipe.