Sublime Forum

Builder error

#1

There was apparently a LaTeXTools update and now I get the following error when trying to build:

TraditionalBuilder: Engine: pdflatex. Invoking latexmk…

COULD NOT COMPILE!

Build engine: Traditional Builder

After a view of console, the last few lines are:

Traceback (most recent call last):
File “/home/lmiller/.config/sublime-text-3/Packages/LaTeXTools/makePDF.py”, line 316, in run
self.caller.builder.set_output(out.decode(self.caller.encoding,“ignore”))
AttributeError: ‘NoneType’ object has no attribute ‘decode’

Not sure what needs to be done to fix. Any help is appreciated.

0 Likes

#2

I have released a new version, which should fix this. So just check for updates.

0 Likes

#3

This error appeared today after the update. I’m running Linux Mint. So I’m guessing it was actually caused by this update.

0 Likes

#4

Yes introduced in v3.12.12 fixed in v3.12.13. Press ctrl+shift+p and run Package Control: Upgrade Package and select LaTeXTools and maybe restart Sublime Text to reload all imports.

0 Likes

#5

That got it, thanks!

0 Likes

#6

I have got a similar error. How did you detect the python error? I am using Build 3143 and ubuntu 17.10, so I am using python3 by default.

And how did you fix that at last?

TraditionalBuilder: Engine: pdflatex. Invoking latexmk... 

COULD NOT COMPILE!

Attempted command:latexmk -cd -f -pdf -interaction=nonstopmode -synctex=1 yerong.tex 
Build engine: Traditional Builder
0 Likes

#7

That error occurs when there’s an issue running latexmk. Usually this means you either don’t have TeXLive or latexmk installed.

Assuming you installed TeXLive via apt-get, you also need to install the latexmk package as mentioned in the installation docs.

Failing that, there may be more helpful output in the ST console (View -> Console).

0 Likes