[Openstack-devel] Bug#674451: openstack-dashboard: Compilation failed on: http://localhost:8083/syspanel/
michael chlon
mic.a.elle.chlon at gmail.com
Thu May 24 18:30:10 UTC 2012
Package: openstack-dashboard
Version: 2012.1-4
Severity: grave
Justification: renders package unusable
Dear Maintainer,
*** Please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these lines ***
- When I connect with my web navigatpr and authentify myself, on:
http://localhost:8083 (The login page !)
The the dashbord fail the compilation with:
===8<
======================================================================
TypeError at /syspanel/
string indices must be integers, not str
Request Method: GET
Request URL: http://localhost:8083/syspanel/
Django Version: 1.4
Exception Type: TypeError
Exception Value:
string indices must be integers, not str
Exception Location:
/usr/lib/python2.7/dist-packages/novaclient/base.py in _list, line 76
Python Executable: /usr/bin/python
Python Version: 2.7.3
Python Path:
['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..',
'/usr/local/lib/python2.7/dist-packages/multiprocessing-2.6.2.1-py2.7-linux-x86_64.egg',
'/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/local/lib/python2.7/dist-packages',
'/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/wx-2.8-gtk2-unicode',
'/usr/share/openstack-dashboard/openstack_dashboard']
Server time: jeu, 24 Mai 2012 19:56:46 +0200
==8<===============================================================
If you want more output, tell me !
Thanks for the reply and the follow-up.
Best Regards,
Michael Chlon.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (999, 'testing'), (995, 'unstable'), (975, 'stable'), (500, 'stable-updates'), (500, 'sid'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages openstack-dashboard depends on:
ii adduser 3.113+nmu1
ii libjs-jquery 1.7.1-1
ii python 2.7.2-10
ii python-cloudfiles 1.7.9.2-1
ii python-django 1.4-1
ii python-django-horizon 2012.1-4
ii python-django-nose 0.1.3-1
ii python-iso8601 0.1.4-2
ii python-keystoneclient 2012.1-2
ii python-openstackx 0~dev20111219-1
openstack-dashboard recommends no packages.
openstack-dashboard suggests no packages.
-- Configuration Files:
/etc/openstack-dashboard/local_settings.py changed:
import os
from django.utils.translation import ugettext_lazy as _
QUANTUM_ENABLED = False
DEBUG = True
TEMPLATE_DEBUG = DEBUG
PROD = False
USE_SSL = False
SECRET_KEY = 'elj1IWiLoWHgcyYxFVLj7cM5rGOOxWl0'
LOCAL_PATH = os.path.dirname(os.path.abspath(__file__))
CACHE_BACKEND = 'locmem://'
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
OPENSTACK_HOST = "127.0.0.1"
OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0" % OPENSTACK_HOST
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"
OPENSTACK_KEYSTONE_BACKEND = {
'name': 'native',
'can_edit_user': True
}
API_RESULT_LIMIT = 1000
LOGGING = {
'version': 1,
# When set to True this will disable all logging except
# for loggers specified in this configuration dictionary. Note that
# if nothing is specified here and disable_existing_loggers is True,
# django.db.backends will still log unless it is disabled explicitly.
'disable_existing_loggers': False,
'handlers': {
'null': {
'level': 'DEBUG',
'class': 'django.utils.log.NullHandler',
},
'console': {
# Set the level to "DEBUG" for verbose output logging.
'level': 'INFO',
'class': 'logging.StreamHandler',
},
},
'loggers': {
# Logging from django.db.backends is VERY verbose, send to null
# by default.
'django.db.backends': {
'handlers': ['null'],
'propagate': False,
},
'horizon': {
'handlers': ['console'],
'propagate': False,
},
'novaclient': {
'handlers': ['console'],
'propagate': False,
},
'keystoneclient': {
'handlers': ['console'],
'propagate': False,
},
'nose.plugins.manager': {
'handlers': ['console'],
'propagate': False,
}
}
}
-- no debconf information
More information about the Openstack-devel
mailing list