Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build on os-x #16

Closed
jmwallace opened this issue Jan 27, 2012 · 2 comments
Closed

Cannot build on os-x #16

jmwallace opened this issue Jan 27, 2012 · 2 comments

Comments

@jmwallace
Copy link

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?

@msiniscalchi
Copy link
Contributor

Did you install the full version of MacTeX, or just BasicTeX? The
plugin uses latexmk, which is not included in BasicTeX. You can eitehr
install the full MacTeX distro, or just latexmk using the Texlive
package manager (tlmgr).

@jmwallace
Copy link
Author

That's it! Not sure why I missed this. I had originally had the full version of MacTex installed, but then had to rebuild this laptop and had just pulled down the BasicTex version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants