← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1154391] Re: Cannot launch Dashboard due to Import error

 

** Changed in: devstack
       Status: New => Invalid

** Changed in: horizon
       Status: Confirmed => Fix Committed

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

Title:
  Cannot launch Dashboard due to Import error

Status in devstack - openstack dev environments:
  Invalid
Status in OpenStack Dashboard (Horizon):
  Fix Committed

Bug description:
  After $stack.sh completes, I tried to launch Dashboard and got the
  following error at Horizon:

  ImportError at /

  cannot import name is_safe_url

  Request Method: 	GET
  Request URL: 	http://192.168.149.128/
  Django Version: 	1.4.2
  Exception Type: 	ImportError
  Exception Value: 	

  cannot import name is_safe_url

  Exception Location: 	/usr/local/lib/python2.7/dist-packages/openstack_auth/views.py in <module>, line 13
  Python Executable: 	/usr/bin/python
  Python Version: 	2.7.3
  Python Path: 	

  ['/opt/stack/horizon/openstack_dashboard/wsgi/../..',
   '/opt/stack/cinder',
   '/usr/local/lib/python2.7/dist-packages/setuptools_git-0.4.2-py2.7.egg',
   '/opt/stack/python-novaclient',
   '/opt/stack/python-openstackclient',
   '/opt/stack/keystone',
   '/opt/stack/glance',
   '/opt/stack/python-glanceclient',
   '/opt/stack/nova',
   '/opt/stack/horizon',
   '/opt/stack/python-keystoneclient',
   '/opt/stack/python-cinderclient',
   '/usr/local/lib/python2.7/dist-packages/oslo.config-1.1.0b1-py2.7.egg',
   '/usr/local/lib/python2.7/dist-packages/distribute-0.6.35-py2.7.egg',
   '/opt/stack/quantum',
   '/usr/local/lib/python2.7/dist-packages',
   '/usr/lib/python2.7',
   '/usr/lib/python2.7/plat-linux2',
   '/usr/lib/python2.7/lib-tk',
   '/usr/lib/python2.7/lib-old',
   '/usr/lib/python2.7/lib-dynload',
   '/usr/lib/python2.7/dist-packages',
   '/usr/lib/python2.7/dist-packages/PIL',
   '/usr/lib/python2.7/dist-packages/gst-0.10',
   '/usr/lib/python2.7/dist-packages/gtk-2.0',
   '/usr/lib/pymodules/python2.7',
   '/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
   '/usr/lib/python2.7/dist-packages/ubuntuone-client',
   '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel',
   '/usr/lib/python2.7/dist-packages/ubuntuone-couch',
   '/usr/lib/python2.7/dist-packages/ubuntuone-installer',
   '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol',
   '/opt/stack/horizon/openstack_dashboard']

To manage notifications about this bug go to:
https://bugs.launchpad.net/devstack/+bug/1154391/+subscriptions