Cannot launch Dashboard due to Import error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Invalid
|
Medium
|
Kieran Spear | ||
devstack |
Invalid
|
Undecided
|
Unassigned |
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://
Django Version: 1.4.2
Exception Type: ImportError
Exception Value:
cannot import name is_safe_url
Exception Location: /usr/local/
Python Executable: /usr/bin/python
Python Version: 2.7.3
Python Path:
['/opt/
'/opt/
'/usr/
'/opt/
'/opt/
'/opt/
'/opt/
'/opt/
'/opt/stack/nova',
'/opt/
'/opt/
'/opt/
'/usr/
'/usr/
'/opt/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/opt/
Changed in horizon: | |
status: | New → Confirmed |
Changed in horizon: | |
assignee: | nobody → Kieran Spear (kspear) |
Changed in horizon: | |
importance: | Undecided → Medium |
Changed in devstack: | |
status: | New → Invalid |
Changed in horizon: | |
status: | Confirmed → Fix Committed |
I am going to try Django 1.4.3 (looks like is_safe_url was added there - https:/ /www.djangoproj ect.com/ weblog/ 2012/dec/ 10/security/)
"pip install django==1.4.3"