I'm getting this in my error logs now:<div><br></div><div><div>[Wed Nov 07 14:15:57 2012] [error] [client 192.168.2.42] File does not exist: /usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/css/d0717b7093fa.css, referer: <a href="http://horizon.">http://horizon.</a>../</div>
<div>[Wed Nov 07 14:15:57 2012] [error] WARNING:django.request:Not Found: /error/HTTP_NOT_FOUND.html</div></div><div><br></div><div>I have node-less and nodejs (manually) installed. I don't see any other failure messages so something must be silently failing to create this file now.</div>
<div><br></div><div>Before I installed node-less I received a python backtrace which ended with:</div><div><br></div><div><div>[Wed Nov 07 14:09:10 2012] [error] FilterError: /bin/sh: 1: /usr/share/openstack-dashboard/bin/less/lessc: not found</div>
</div><div><br></div><div>which would imply that it is being called.</div><div><br></div><div>Thanks,</div><div>-Tim</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 2, 2012 at 11:34 PM, Thomas Goirand <span dir="ltr"><<a href="mailto:zigo@debian.org" target="_blank">zigo@debian.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 11/03/2012 03:28 AM, Tim Spriggs wrote:<br>
> On Fri, Nov 2, 2012 at 1:57 AM, Thomas Goirand <<a href="mailto:zigo@debian.org">zigo@debian.org</a>> wrote:<br>
>> On 11/02/2012 04:16 PM, Tim Spriggs wrote:<br>
>>> That's great news! Something must have changed then because the<br>
>>> packaged lessc broke on the minimal testing system I have setup for<br>
>>> horizon. I think it couldn't find "node" via the "#!/usr/bin/env node"<br>
>>> invocation.<br>
>>><br>
>>> -Tim<br>
>><br>
>> Well...<br>
>><br>
>> zigo@GPLHost:<host>_ ~$ which node<br>
>> /usr/bin/node<br>
>> zigo@GPLHost:<host>_ ~$ dpkg -S /usr/bin/node<br>
>> nodejs-legacy: /usr/bin/node<br>
>><br>
>> so that isn't a problem anymore.<br>
>><br>
>> Thomas<br>
><br>
> ... and yet, after installing horizon on a fresh node I don't have<br>
> nodejs or nodejs-legacy.<br>
><br>
> root@horizon:~# dpkg -l | egrep -i horizon\|dashboard\|nodejs<br>
> ii  openstack-dashboard                2012.2-1<br>
> all          OpenStack Dashboard<br>
> ii  openstack-dashboard-apache         2012.2-1<br>
> all          OpenStack Dashboard - Apache support<br>
> ii  python-django-horizon              2012.2-1<br>
> all          Django module providing web interaction with OpenStack<br>
><br>
> root@horizon:~# dpkg-query -S /usr/bin/node<br>
> dpkg-query: no path found matching pattern /usr/bin/node<br>
><br>
> I note that the build-script installs this manually so it exists on a<br>
> machine that the packages have been built on but not a minimal testing<br>
> machine.<br>
><br>
> -Tim<br>
<br>
</div></div>Tim,<br>
<br>
Currently, the only thing which uses NodeJS in Openstack is the embedded<br>
version of the less css "compiler". That one is normally stored in<br>
openstack-dasboard in /usr/share/openstack-dashboard/bin/less/lessc. But<br>
in our Debian package, this isn't a file, but a symlink to<br>
../../../../bin/lessc. This symlink target, in Debian, is in the<br>
node-less package, which contains #!/usr/bin/nodejs (as requested by the<br>
Technical Committee). So everything seems fine on that ground.<br>
<br>
What was missing, IMO, was a dependency on node-less in the binary<br>
openstack-dashboard. I have corrected this problem and added the<br>
dependency. Thanks for making me do that! :)<br>
<br>
Please do check again if Horizon works *with* the node-less package and<br>
*without* the nodejs-legacy package install, but IMO it should (it does<br>
for me).<br>
<br>
Cheers,<br>
<br>
Thomas Goirand (zigo)<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Openstack-devel mailing list<br>
<a href="mailto:Openstack-devel@lists.alioth.debian.org">Openstack-devel@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/mailman/listinfo/openstack-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/openstack-devel</a><br>
</div></div></blockquote></div><br></div>