SublimeText/LaTeXTools — Issue #16: Cannot build on os-x
Author: jmwallace
Created: 2012-01-27 21:14:02+00:00
State: open

I've just installed Sublime Text 2 and am getting an error message when I attempt to compile any Latex file. It is pointing to an issue with a line in the makepdf.py file. Here's the error message:

```
Writing file /Users/Mark/Documents/BuildError.tex with encoding UTF-8
[u'latexmk', u'-e', u"$pdflatex = 'pdflatex %O -interaction=nonstopmode -synctex=1 %S'", u'-f', u'-pdf', u'/Users/Mark/Documents/BuildError.tex']
Welcome to thread Thread-4
2
Exception in thread Thread-4:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 522, in __bootstrap_inner
self.run()
File "./makePDF.py", line 260, in run
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 595, in __init__
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 1106, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
```
Any suggestions as to what might be causing this exception, or how I can fix it?