← Back to team overview

yahoo-eng-team team mailing list archive

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

 

The Ubuntu package for Horizon ships with COMPRESS_OFFLINE = True and
all required assets pre-compressed as part of the packages.

So python-lesscpy is not required for normal operation, you should not
need to re-run compression - hence its only a suggests.

Marking Won't Fix.

** Changed in: horizon (Ubuntu)
       Status: Confirmed => Won't Fix

-- 
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:
  Won't Fix

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