Ask Your Question
0

Grizzly Horizon "ImportError: cannot import name base" error

asked 2013-05-02 04:01:32 -0500

T N S gravatar image

updated 2013-05-02 17:43:49 -0500

smaffulli gravatar image

Hi-

I get this error when browse the Grizzly Openstack-Dashboard, Horizon

[Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] modwsgi (pid=14124): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstackdashboard/wsgi/django.wsgi'. [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] Traceback (most recent call last): [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 241, in call [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] response = self.getresponse(request) [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 179, in getresponse [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] response = self.handleuncaughtexception(request, resolver, sys.excinfo()) [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 224, in handleuncaughtexception [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] if resolver.urlconfmodule is None: [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 323, in urlconfmodule [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] self.urlconfmodule = importmodule(self.urlconfname) [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in importmodule [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] import(name) [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] File "/usr/share/openstack-dashboard/openstackdashboard/wsgi/../../openstackdashboard/urls.py", line 36, in <module> [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] url(r'', include(horizon.urls)) [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/conf/urls/init.py", line 25, in include [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] patterns = getattr(urlconfmodule, 'urlpatterns', urlconfmodule) [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47]
File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 184, in inner [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] self.setup() [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 248, in _setup [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] self.wrapped = self.setupfunc() [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47]
File "/usr/lib/python2.7/dist-packages/horizon/base.py ...

(more)
edit retag flag offensive close merge delete

Comments

make sure you've also done the other things needed to install OpenStack, besides the apt-get install command. Are you following any guides, like the ones listed on http://docs.openstack.org/install/?

smaffulli gravatar imagesmaffulli ( 2013-05-02 17:45:21 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-05-02 04:37:27 -0500

jpichon gravatar image

This looks like bug 1125622. Perhaps the suggested workaround in comment #2 would work for you?

https://bugs.launchpad.net/horizon/+bug/1125622

Otherwise, please provide some additional information. Does it happen all the time? How did you install Horizon? On what OS? With what web server?

Thank you.

edit flag offensive delete link more

Comments

Hi Thanks for the reply,

But then , I have seen the bug and also tried temporal solutions. But none worked for me

I installed Horizon this way

apt-get install -y openstack-dashboard

on Ubuntu 12.04

T N S gravatar imageT N S ( 2013-05-02 05:44:16 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2013-05-02 04:01:32 -0500

Seen: 1,846 times

Last updated: May 02 '13