yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #01386
[Bug 1049570] Re: Cannot import name timezone
As Ubuntu 11.04 is marked as 'end of life', making this bug invalid
** Changed in: devstack
Status: New => 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/1049570
Title:
Cannot import name timezone
Status in devstack - openstack dev environments:
Invalid
Status in OpenStack Dashboard (Horizon):
Invalid
Bug description:
With latest code installation with devstack, you will get " internal server error 500" when accessing dashboard login page. The horizon log tell that an error "importing middleware horizon.middleware: cannot import name timezone". I verified the timezone module in django.utils exists there.
============================Horizon Log============================
...
[Wed Sep 12 10:43:54 2012] [error] Warning: Could not import Horizon dependencies. This is normal during installation.
[Wed Sep 12 10:43:54 2012] [error] Warning: Could not import Horizon dependencies. This is normal during installation.
[Wed Sep 12 10:43:54 2012] [error] [client 192.168.156.156] mod_wsgi (pid=32481): Exception occurred processing WSGI script '/opt/stack/horizon/openstack_dashboard/wsgi/django.wsgi'.
[Wed Sep 12 10:43:54 2012] [error] [client 192.168.156.156] mod_wsgi (pid=32482): Exception occurred processing WSGI script '/opt/stack/horizon/openstack_dashboard/wsgi/django.wsgi'.
[Wed Sep 12 10:43:54 2012] [error] [client 192.168.156.156] Traceback (most recent call last):
[Wed Sep 12 10:43:54 2012] [error] [client 192.168.156.156] File "/usr/lib/pymodules/python2.7/django/core/handlers/wsgi.py", line 250, in __call__
[Wed Sep 12 10:43:54 2012] [error] [client 192.168.156.156] Traceback (most recent call last):
[Wed Sep 12 10:43:54 2012] [error] [client 192.168.156.156] File "/usr/lib/pymodules/python2.7/django/core/handlers/wsgi.py", line 250, in __call__
[Wed Sep 12 10:43:54 2012] [error] [client 192.168.156.156] self.load_middleware()
[Wed Sep 12 10:43:54 2012] [error] [client 192.168.156.156] self.load_middleware()
[Wed Sep 12 10:43:54 2012] [error] [client 192.168.156.156] File "/usr/lib/pymodules/python2.7/django/core/handlers/base.py", line 47, in load_middleware
[Wed Sep 12 10:43:54 2012] [error] [client 192.168.156.156] File "/usr/lib/pymodules/python2.7/django/core/handlers/base.py", line 47, in load_middleware
[Wed Sep 12 10:43:54 2012] [error] [client 192.168.156.156] raise exceptions.ImproperlyConfigured('Error importing middleware %s: "%s"' % (mw_module, e))
[Wed Sep 12 10:43:54 2012] [error] [client 192.168.156.156] raise exceptions.ImproperlyConfigured('Error importing middleware %s: "%s"' % (mw_module, e))
[Wed Sep 12 10:43:54 2012] [error] [client 192.168.156.156] ImproperlyConfigured: Error importing middleware horizon.middleware: "cannot import name timezone"
[Wed Sep 12 10:43:54 2012] [error] [client 192.168.156.156] ImproperlyConfigured: Error importing middleware horizon.middleware: "cannot import name timezone"
=================================================================
To manage notifications about this bug go to:
https://bugs.launchpad.net/devstack/+bug/1049570/+subscriptions