group-policy / horizon

Horizon is a Django-based project aimed at providing a complete OpenStack Dashboard along with an extensible framework for building new dashboards from reusable components.
http://openstack.org
Apache License 2.0
0 stars 1 forks source link

EPG details results in stacktrace #4

Closed snaiksat closed 10 years ago

snaiksat commented 10 years ago

Clicking on the EPG name (to get EPG details) results in the following stracktrace:

Environment:

Request Method: GET Request URL: http://172.16.105.140/project/endpoint_groups/epg/a1827cf0-0189-48e7-916c-10f597178f2e/

Django Version: 1.6.7 Python Version: 2.7.6 Installed Applications: ['openstack_dashboard.dashboards.project', 'openstack_dashboard.dashboards.admin', 'openstack_dashboard.dashboards.identity', 'openstack_dashboard.dashboards.settings', 'openstack_dashboard', 'django.contrib.contenttypes', 'django.contrib.auth', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'django_pyscss', 'compressor', 'horizon', 'openstack_auth'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'horizon.middleware.HorizonMiddleware', 'django.middleware.doc.XViewMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware')

Traceback: File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response

  1. response = wrapped_callback(request, _callback_args, *_callback_kwargs) File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec
  2. return view_func(request, _args, *_kwargs) File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec
  3. return view_func(request, _args, *_kwargs) File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec
  4. return view_func(request, _args, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py" in view
  5. self = cls(initkwargs) File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tabs/views.py" in init**
  6. "on %s." % self.class.name)

Exception Type: AttributeError at /project/endpoint_groups/epg/a1827cf0-0189-48e7-916c-10f597178f2e/ Exception Value: You must set the tab_group_class attribute on EPGDetailsView.

ronakmshah commented 10 years ago

Fixed.