Horizon "django-admin make_web_conf --wsgi" generates a wsgi which is not compatible with Django-1.7 or greater

Bug #1497986 reported by Yves-Gwenael Bourhis
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Undecided
Yves-Gwenael Bourhis

Bug Description

Installing horizon via "django-admin make_web_conf --wgi" as described here:

http://docs.openstack.org/developer/horizon/topics/install.html#installation

Leeds to trigger this bug:
See https://bugs.launchpad.net/horizon/+bug/1382023

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/225662

Changed in horizon:
assignee: nobody → Yves-Gwenael Bourhis (yves-gwenael-bourhis)
status: New → In Progress
summary: - Horizon "django-admin make_web_conf --wgi" generates a wgi which is not
+ Horizon "django-admin make_web_conf --wsgi" generates a wgi which is not
compatible with fails with Django-1.7 or greater
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/225662
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=f9e864c9fca56f2568ad78a62c73d1f1911ce347
Submitter: Jenkins
Branch: master

commit f9e864c9fca56f2568ad78a62c73d1f1911ce347
Author: Yves-Gwenael Bourhis <email address hidden>
Date: Mon Sep 21 15:13:06 2015 +0200

    Update WSGI app creation to be compatible with Django 1.7 or greater

    This resolves the following error when trying to run Horizon if it has
    been installed via "django-admin make_web_conf --wgi":

    AppRegistryNotReady: The translation infrastructure cannot be
    initialized before the apps registry is ready. Check that you don't
    make non-lazy gettext calls at import time.

    and is backwards-compatible with our currently supported versions.

    Closes-Bug: #1497986
    Change-Id: I643058bb82f8e0f11b38ce0dd046773e91e053c3

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
milestone: none → liberty-rc1
status: Fix Committed → Fix Released
summary: - Horizon "django-admin make_web_conf --wsgi" generates a wgi which is not
- compatible with fails with Django-1.7 or greater
+ Horizon "django-admin make_web_conf --wsgi" generates a wsgi which is
+ not compatible with Django-1.7 or greater
Thierry Carrez (ttx)
Changed in horizon:
milestone: liberty-rc1 → 8.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.