ti_coffee_plugin icon indicating copy to clipboard operation
ti_coffee_plugin copied to clipboard

WindowsError: [Error 2] The system cannot find the file specified

Open artem-mindrov opened this issue 12 years ago • 1 comments

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?

artem-mindrov avatar Sep 10 '12 12:09 artem-mindrov

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.

kriswema avatar Oct 29 '13 08:10 kriswema