← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1210253] Re: With Havana 2 installed, Launching horizon UI results in the error " NameError: name 'Dashboard' is not defined"

 

This was not a bug in Horizon trunk.

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

-- 
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/1210253

Title:
  With Havana 2 installed, Launching horizon UI results in the error "
  NameError: name 'Dashboard' is not defined"

Status in Ubuntu Cloud Archive:
  Confirmed
Status in OpenStack Dashboard (Horizon):
  Invalid
Status in “horizon” package in Ubuntu:
  Fix Released
Status in “horizon” source package in Saucy:
  Fix Released
Status in “horizon” package in Debian:
  New

Bug description:
  Hi All,

  I installed Havana2, after installation Launching horizon UI results in the error " NameError: name 'Dashboard' is not defined".
  Havana 2 was installed from "deb http://ppa.launchpad.net/ubuntu-cloud-archive/havana-staging/ubuntu precise main"

  Below is the log snippet from apache2:

  [Thu Aug 08 09:44:41 2013] [error] Warning: Could not import Horizon dependencies. This is normal during installation.
  [Thu Aug 08 09:44:41 2013] [error] [client 10.1.6.45] mod_wsgi (pid=16851): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
  [Thu Aug 08 09:44:41 2013] [error] [client 10.1.6.45] Traceback (most recent call last):
  [Thu Aug 08 09:44:41 2013] [error] [client 10.1.6.45]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 236, in __call__
  [Thu Aug 08 09:44:41 2013] [error] [client 10.1.6.45]     self.load_middleware()
  [Thu Aug 08 09:44:41 2013] [error] [client 10.1.6.45]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 45, in load_middleware
  [Thu Aug 08 09:44:41 2013] [error] [client 10.1.6.45]     for middleware_path in settings.MIDDLEWARE_CLASSES:
  [Thu Aug 08 09:44:41 2013] [error] [client 10.1.6.45]   File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 53, in __getattr__
  [Thu Aug 08 09:44:41 2013] [error] [client 10.1.6.45]     self._setup(name)
  [Thu Aug 08 09:44:41 2013] [error] [client 10.1.6.45]   File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 48, in _setup
  [Thu Aug 08 09:44:41 2013] [error] [client 10.1.6.45]     self._wrapped = Settings(settings_module)
  [Thu Aug 08 09:44:41 2013] [error] [client 10.1.6.45]   File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 132, in __init__
  [Thu Aug 08 09:44:41 2013] [error] [client 10.1.6.45]     mod = importlib.import_module(self.SETTINGS_MODULE)
  [Thu Aug 08 09:44:41 2013] [error] [client 10.1.6.45]   File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module
  [Thu Aug 08 09:44:41 2013] [error] [client 10.1.6.45]     __import__(name)
  [Thu Aug 08 09:44:41 2013] [error] [client 10.1.6.45]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/settings.py", line 182, in <module>
  [Thu Aug 08 09:44:41 2013] [error] [client 10.1.6.45]     from local.local_settings import *
  [Thu Aug 08 09:44:41 2013] [error] [client 10.1.6.45]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/local/local_settings.py", line 91, in <module>
  [Thu Aug 08 09:44:41 2013] [error] [client 10.1.6.45]     from horizon.utils import secret_key
  [Thu Aug 08 09:44:41 2013] [error] [client 10.1.6.45]   File "/usr/lib/python2.7/dist-packages/horizon/__init__.py", line 55, in <module>
  [Thu Aug 08 09:44:41 2013] [error] [client 10.1.6.45]     assert Dashboard
  [Thu Aug 08 09:44:41 2013] [error] [client 10.1.6.45] NameError: name 'Dashboard' is not defined [Thu Aug 08 09:44:41 2013] [error] [client 10.1.6.45] File does not exist: /var/www/favicon.ico

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1210253/+subscriptions