← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1242766] Re: python manage.py compress: bin/sh: 1: lesscpy: not found

 

** Also affects: horizon (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: horizon
       Status: New => Invalid

** Changed in: horizon
     Assignee: (unassigned) => Kieran Spear (kspear)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1242766

Title:
  python manage.py compress: bin/sh: 1: lesscpy: not found

Status in OpenStack Dashboard (Horizon):
  Invalid
Status in “horizon” package in Ubuntu:
  New

Bug description:
  When running the command to offline-compress theme:

  root@cloud:/usr/share/openstack-dashboard# python manage.py compress
  Found 'compress' tags in:
          /usr/share/openstack-dashboard/openstack_dashboard/templates/_stylesheets.html
          /usr/share/openstack-dashboard-drexel-theme/templates/_stylesheets.html
          /usr/lib/python2.7/dist-packages/horizon/templates/horizon/_conf.html
          /usr/lib/python2.7/dist-packages/horizon/templates/horizon/_scripts.html
  Compressing... CommandError: An error occured during rendering /usr/share/openstack-dashboard/openstack_dashboard/templates/_stylesheets.html: /bin/sh: 1: lesscpy: not found

  It stops trying to execute a bogus binary "lesscpy".
  Doing:
  # ln -s /usr/bin/lessc /usr/local/bin/lesscpy
  fixes the issue.

  
  Package: python-django-horizon           
  State: installed
  Automatically installed: yes
  Version: 1:2013.2~rc3-0ubuntu1~cloud0

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1242766/+subscriptions