Closed christianmalek closed 7 years ago
Can you please provide your log?
Of course. (I had to rename it to upload it.) master.txt
In fact, I mean LaTeX Workshop log. You can access it in the bottom panel.
maybe this? latexws.txt
Here is a screenshot:
You can click the problem
status bar item to access this panel.
Thanks! Here you go: log.txt
hmm it's strange. The extension reports error when your latexmk
returns with non-zero exit code, but the latex log shows that everything works fine.
Can you please provide the same log after the following change? That might help a bit.
C:\Users\your-username\.vscode\extensions\James-Yu.latex-workshop-2.3.1\out\src
builder.js
this.extension.logger.addLogMessage(`Toolchain returns with error. ${stdout}`);
to
this.extension.logger.addLogMessage(`Toolchain returns with error: ${exitCode}.\n${stdout}`);
This will also log the exit code of latexmk
.
Toolchain returns with error: 12.
Following are the exit code comments of latexmk
:
## Explicit exit codes:
## 10 = bad command line arguments
## 11 = file specified on command line not found
## or other file not found
## 12 = failure in some part of making files
## 13 = error in initialization file
## 20 = probable bug
## or retcode from called program.
So it seems that there are problems in the latexmk
toolchain, although I cannot find it. I would suppose this is a latexmk
problem. However, I cannot modify the codebase to allow retcode=12
, since I have no idea if it is an individual false alarm, or a common problem. Sorry cannot help.
Thanks anyways. Your extension is awesome!
Hi,
LaTeX-Workshops doesn't refresh the PDF because of an so-called error in the build toolchain. If I look at the log there are no errors, just warnings and infos:
I just tried to compile it with TeXstudio. This works without problems. Do you have any ideas? The funny part is: The compilations works. But because it thinks that it errored I have to close the PDF view and open it again to refresh it and see the changes.