Sublime Forum

X/threading.py --> makePDF.py line 147 data=open(self.calle

#1

Hi, I hope the subject line is appropriate. When I build a pdf with LaTeXTools I get this:

Welcome to thread Thread-4 'latexmk', '-cd', '-e', "$pdflatex='pdflatex -interaction=nonstopmode -synctex=1 %S %O'", '-f', '-pdf', 'four.tex'] Finished normally 9 Exception in thread Thread-4: Traceback (most recent call last): File "X/threading.py", line 639, in _bootstrap_inner File "/Users/XXX/Library/Application Support/Sublime Text 3/Packages/LaTeXTools/makePDF.py", line 147, in run data = open(self.caller.tex_base + ".log", 'rb').read() FileNotFoundError: [Errno 2] No such file or directory: '/Users/XXX/Desktop/four.log'

If I run from the terminal this:

latexmk -cd -e $pdflatex='pdflatex -interaction=nonstopmode -syntex=1 %S %O' -f -pdf /Users/XXX/Desktop/four.tex

I get all the files and the pdf. Then if I edit the file in ST3 and run build, it works and opens up Skim displaying the pdf correctly. Further changes to the .tex file results in:

[code][Compiling /Users/sbh/Desktop/four.tex]

TraditionalBuilder: Invoking latexmk… done.

No errors.

[Done!][/code]

but the pdf does Not change, nor does Skim display it with any changes.

Anyone have any suggestions?

Thanks!
Brett

0 Likes