** Changed in: horizon
Status: Incomplete = Invalid
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1379761
Title:
Asset compression does not happen unless debug mode is
i met this problem recently on Dec 19 when i updated devstack and it's
ok aftre manually run sudo ./manage.py compress --force
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1379761
** Tags removed: juno-rc-potential
** Tags added: juno-backport-potential
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1379761
Title:
Asset compression does not happen unless
python manage.py collectstatic --noinput is currently missing from the
Ubuntu packaging; I'll look see how we can integrate that into the
packaging.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to horizon in Ubuntu.
** Changed in: python-django-pyscss (Ubuntu)
Status: New = Invalid
** Changed in: horizon (Ubuntu)
Status: Confirmed = In Progress
** Changed in: horizon (Ubuntu)
Assignee: (unassigned) = James Page (james-page)
--
You received this bug notification because you are a member
I've opened https://bugs.launchpad.net/horizon/+bug/1381472 to address
the issue Gloria describes in comment 20
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1379761
Title:
Asset
** Branch linked: lp:ubuntu/utopic-proposed/horizon
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1379761
Title:
Asset compression does not happen unless debug mode is enabled
To
This bug was fixed in the package horizon - 1:2014.2~rc2-0ubuntu2
---
horizon (1:2014.2~rc2-0ubuntu2) utopic; urgency=medium
* Resolve issues with missing static assets and failing compression
(LP: #1379761):
- d/openstack-dashboard*.postinst: Collect and compress static
** Branch linked: lp:ubuntu/horizon
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1379761
Title:
Asset compression does not happen unless debug mode is enabled
To manage
** Changed in: horizon (Ubuntu)
Importance: Undecided = High
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1379761
Title:
Asset compression does not happen unless debug mode is
I inadvertently fixed this in the Ubuntu packaging by linking the
bootstrap_scss directory into the static root configuration to resolve
another issue I was seeing with missing glyph icons; that appears to
resolve the issue but I consider that a workaround.
--
You received this bug notification
** Tags added: juno-rc-potential
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1379761
Title:
Asset compression does not happen unless debug mode is enabled
To manage
For easy reproduction on the Horizon side:
DJANGO_SETTINGS_MODULE=openstack_dashboard.settings tools/with_venv.sh
python manage.py collectstatic --noinput
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to horizon in Ubuntu.
This bug will block styling on Horizon for DEBUG=False regardless
whether you use offline compression or not.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1379761
Title:
Asset
git describe
2014.2.rc1-145-g123840a
that is my current version where it works
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1379761
Title:
Asset compression does not happen
it works for me, following these steps:
Change local settings, have the following at the top of the file:
DEBUG = False
TEMPLATE_DEBUG = DEBUG
COMPRESS_OFFLINE = True
Then I run these commands:
tools/with_venv.sh python manage.py collectstatic --noinput
tools/with_venv.sh python manage.py
additional note: when you do offline compression and stuff get's moved
into the static folder, using the --runserver cli to start up django
will not serve out the /static url. for this type of use, I believe
it's expected that apache would serve out those assets from the ./static
folder (which
odd, I can not reproduce this at all, using Fedora packages e.g. from
http://koji.fedoraproject.org/koji/taskinfo?taskID=7862410
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1379761
I just pulled from master, followed Eric's steps..updated the
local_settings...it seems to be ok. Some of the output.
[stack@gloria-stack:/home/stack/horizon]↥ master+ 127 ± git pull
Already up-to-date.
[stack@gloria-stack:/home/stack/horizon]↥ master+ ± tools/with_venv.sh python
manage.py
** Changed in: horizon
Importance: Critical = High
** Changed in: horizon
Status: Confirmed = Incomplete
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1379761
Title:
What does the apache log say? Looks like your apache conf isn't allowing
access to the dir aliased to /static (and that looks like apache 2.2
rather than 2.4-style access control?).
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to
10.5.17.0 - - [13/Oct/2014:09:19:52 +] GET /horizon HTTP/1.1 200 1561 -
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0
10.5.17.0 - - [13/Oct/2014:09:19:53 +] GET
/static/dashboard/scss/horizon.scss HTTP/1.1 200 42258
http://10.5.17.0/horizon; Mozilla/5.0
I tried compressing the assets manually:
ubuntu@juju-jpos-machine-16:/usr/share/openstack-dashboard$ sudo ./manage.py
compress --force
Found 'compress' tags in:
/usr/lib/python2.7/dist-packages/horizon/templates/horizon/_conf.html
OK - so the difference in loading with DEBUG = True:
def get_file_and_storage(self, filename):
# TODO: the switch probably shouldn't be on DEBUG
if settings.DEBUG:
return self.get_file_from_finders(filename)
else:
return
Hmm - actually I can reproduce this directly in the upstream codebase by
disabling DEBUG and using --runserver.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1379761
Title:
Asset
Checking environment.
Environment is up to date.
Starting Django development server...
Validating models...
0 errors found
October 13, 2014 - 10:24:42
Django version 1.6.7, using settings 'openstack_dashboard.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with
as devstack uses the same local_settings which has DEBUG = False, I
suspect this is generally quite broken:
https://github.com/openstack-dev/devstack/blob/master/lib/horizon
My current thinking is to completely disable the file_from_storage
codepath in python-django-scss to workaround this
** Also affects: python-django-pyscss (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1379761
Title:
Asset compression does not
** Changed in: horizon
Status: New = Confirmed
** Changed in: horizon
Importance: Undecided = Critical
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1379761
Title:
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: horizon (Ubuntu)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to horizon in Ubuntu.
I'm assuming that this is something todo with how django-pyscss behaves
under DEBUG mode:
https://github.com/fusionbox/django-pyscss
specifically:
In DEBUG mode, DjangoScss will search using all of the finders to find
the file. If you are not in DEBUG mode, it assumes you have run
collectstatic
Switching off the ubuntu-theme makes no difference.
** Also affects: horizon
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1379761
I'm guessing that this is something todo with how we layout horizon on
the filesystem in the packaging; raising an upstream bug task to get
some advice on how to debug this (please :-)!)
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to
33 matches
Mail list logo