I have do by the Horizon Quickstart,but after request the page I get an error like:
FilterError at /
/usr/bin/env: node: No such file or directory
Request Method: GET
Request URL: http://127.0.0.1:8000/
Django Version: 1.4
Exception Type: FilterError
Exception Value:
/usr/bin/env: node: No such file or directory
Exception Location: /home/jhat/Documents/openstack/horizon/.venv/lib/python2.6/site-packages/compressor/filters/base.py in input, line 132
Python Executable: /home/jhat/Documents/openstack/horizon/.venv/bin/python
Python Version: 2.6.5
Python Path:
['/home/jhat/Documents/openstack/horizon',
'/home/jhat/Documents/openstack/horizon/.venv/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg',
'/home/jhat/Documents/openstack/horizon/.venv/lib/python2.6/site-packages/pip-1.1-py2.6.egg',
'/home/jhat/Documents/openstack/horizon/.venv/lib/python2.6',
'/home/jhat/Documents/openstack/horizon/.venv/lib/python2.6/plat-linux2',
'/home/jhat/Documents/openstack/horizon/.venv/lib/python2.6/lib-tk',
'/home/jhat/Documents/openstack/horizon/.venv/lib/python2.6/lib-old',
'/home/jhat/Documents/openstack/horizon/.venv/lib/python2.6/lib-dynload',
'/usr/lib/python2.6',
'/usr/lib/python2.6/plat-linux2',
'/usr/lib/python2.6/lib-tk',
'/usr/lib64/python2.6/lib-tk',
'/home/jhat/Documents/openstack/horizon/.venv/lib/python2.6/site-packages',
'/home/jhat/Documents/openstack/horizon/.venv/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info',
'/home/jhat/Documents/openstack/horizon/openstack_dashboard']
Server time: Wed, 18 Jul 2012 20:19:42 -0500
Error during template rendering
In template /home/jhat/Documents/openstack/horizon/openstack_dashboard/templates/_stylesheets.html, error at line 3
/usr/bin/env: node: No such file or directory
1 {% load compress %}
2
3 {% compress css %}
4 <link href="{{ STATIC_URL }}dashboard/less/horizon.less" type="text/less" media="screen" rel="stylesheet"/>
5 {% endcompress %}
6 <link rel="shortcut icon" href="{{ STATIC_URL }}dashboard/img/favicon.ico"/>
7
if i comment the {% compress css %},then it works,but there is no style anymore. How can I to,please.
My OS is ubuntu 10.04LTS,and pythton is 2.6