ti_coffee_plugin
ti_coffee_plugin copied to clipboard
WindowsError: [Error 2] The system cannot find the file specified
Tried to use the plugin with Ti Studio 2.1.2 on Win7. Did everything necessary and still kept getting this error during build. I had both node.js and coffeescript installed and added to PATH (even checked this in the Ti Studio terminal). What worked for me in the end is this line in plugin.py
process = subprocess.Popen(command_args, stdout=subprocess.PIPE, stdin=subprocess.PIPE)
changed to
process = subprocess.Popen(command_args, stdout=subprocess.PIPE, stdin=subprocess.PIPE, shell=True)
Looks as if the process was launched with an environment not having executable paths set properly. Maybe I've missed something in the IDE config, but what exactly?
I seem to have the same problem. I'm using Titanium Studio 3.1.3 on Windows 7. The fix provided by @artem-mindrov works for me.
This seems to be fixed in https://github.com/sukima/ti_coffee_plugin.