django-cafe
django-cafe copied to clipboard
Caught WindowsError while rendering: [Error 2] The system cannot find the file specified
I am having issue with trying to run django-cafe on windows. I AM able execute from the command line:
- coffee -cp C:\\Users\\Larry\\__prjs\\ourfield\\site_media\\media\\hello.coffee
It correctly spits out:
// Generated by CoffeeScript 1.2.1-pre
(function() {
console.log("Hello, World!");
}).call(this);
Error:
Caught WindowsError while rendering: [Error 2] The system cannot find the file specified
occurs when trying to execute:
C:\Python27\Lib\subprocess.py in _execute_child
project/coffee.bat appears to find the coffee file.
@echo off "C:/Program Files (x86)/nodejs/node" utils/coffee-script/bin/coffee %*
It finds the .coffee file in site_media.
It generates an empty file named 0dcd4b786edee4d2.js in site_media/compiled
-
This is the footer block:
{% load coffee %}
I am eager to make this work. I can compile using coffee --watch to handle other files. Would however to handle coffee in templates too! :)
Any suggestions?
Thank you :)