Comment 14 for bug 1210253

Revision history for this message
Pei Pan (peipan.cst.zju) wrote :

I have just found the same problem.
The log is as like:
413 [Thu Sep 26 13:47:55 2013] [error] Warning: Could not import Horizon dependencies. This is normal during installation.
414 [Thu Sep 26 13:47:55 2013] [error] [client 192.168.1.228] mod_wsgi (pid=11717): Exception occurred processing WSGI script '/usr/share/op enstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
415 [Thu Sep 26 13:47:55 2013] [error] [client 192.168.1.228] Traceback (most recent call last):
416 [Thu Sep 26 13:47:55 2013] [error] [client 192.168.1.228] File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 2 36, in __call__
417 [Thu Sep 26 13:47:55 2013] [error] [client 192.168.1.228] self.load_middleware()
418 [Thu Sep 26 13:47:55 2013] [error] [client 192.168.1.228] File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 4 5, in load_middleware
419 [Thu Sep 26 13:47:55 2013] [error] [client 192.168.1.228] for middleware_path in settings.MIDDLEWARE_CLASSES:
420 [Thu Sep 26 13:47:55 2013] [error] [client 192.168.1.228] File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 53, in __getattr__
421 [Thu Sep 26 13:47:55 2013] [error] [client 192.168.1.228] self._setup(name)
422 [Thu Sep 26 13:47:55 2013] [error] [client 192.168.1.228] File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 48, in _setup
423 [Thu Sep 26 13:47:55 2013] [error] [client 192.168.1.228] self._wrapped = Settings(settings_module)
424 [Thu Sep 26 13:47:55 2013] [error] [client 192.168.1.228] File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 132, i n __init__
425 [Thu Sep 26 13:47:55 2013] [error] [client 192.168.1.228] mod = importlib.import_module(self.SETTINGS_MODULE)
426 [Thu Sep 26 13:47:55 2013] [error] [client 192.168.1.228] File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module
427 [Thu Sep 26 13:47:55 2013] [error] [client 192.168.1.228] __import__(name)
428 [Thu Sep 26 13:47:55 2013] [error] [client 192.168.1.228] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstac k_dashboard/settings.py", line 182, in <module>
429 [Thu Sep 26 13:47:55 2013] [error] [client 192.168.1.228] from local.local_settings import *
430 [Thu Sep 26 13:47:55 2013] [error] [client 192.168.1.228] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstac k_dashboard/local/local_settings.py", line 91, in <module>
431 [Thu Sep 26 13:47:55 2013] [error] [client 192.168.1.228] from horizon.utils import secret_key
432 [Thu Sep 26 13:47:55 2013] [error] [client 192.168.1.228] File "/usr/lib/python2.7/dist-packages/horizon/__init__.py", line 55, in <mo dule>
433 [Thu Sep 26 13:47:55 2013] [error] [client 192.168.1.228] assert Dashboard
434 [Thu Sep 26 13:47:55 2013] [error] [client 192.168.1.228] NameError: name 'Dashboard' is not defined

I don't know why appear this problem!