Sublime Forum

Can't run plugin functions with ST2 in Mavericks

#1

Hi,

I have just installed ST2 and CoffeeScript plugin, but all plugin functions will throw this same error to the console log:

Traceback (most recent call last):
  File "./sublime_plugin.py", line 356, in run_
  File "./CoffeeScript.py", line 90, in run
  File "./CoffeeScript.py", line 32, in brew
  File "./CoffeeScript.py", line 22, in run
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 623, in __init__
    errread, errwrite)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 1141, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

I don’t know if this is really related to Mavericks Python installation (which is 2.7.5) and ST2 Python version (2.6.8), or if is anything else.
I saw several similar problems on the web, with distinct plugins. None of them pointed a clear solution.

Does anyone here have ideas on how to workaround this?
Thanks very much.

0 Likes

#2

Where is the “coffee” binary installed on your system? It looks like the CoffeeScript plugin looks in the /usr/local/bin directory by default. This is where CoffeeScript is normally installed, but maybe your setup is different. You can change the binDir configuration setting in the CoffeeScript.sublime-settings file.

0 Likes

#3

You’re right, sapphirehamster. It was removed, somehow. So I just followed the official installation steps and it started working again.
Strange was that in the last time I’ve installed it, Node.js and Node Package Manager were not required.
Your direction was correct, thank you!

0 Likes