Skip to content

Instantly share code, notes, and snippets.

@zarya
Created September 1, 2011 09:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zarya/e216ecaf53ff7febd08c to your computer and use it in GitHub Desktop.
Save zarya/e216ecaf53ff7febd08c to your computer and use it in GitHub Desktop.
Environment:
Request Method: GET
Request URL: http://10.10.11.53/sa/managedobject/
Django Version: 1.2.1
Python Version: 2.6.5
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'django.contrib.messages',
'django.contrib.databrowse',
'tagging',
'south',
'noc.main',
'noc.inv',
'noc.sa',
'noc.fm',
'noc.pm',
'noc.cm',
'noc.ip',
'noc.vc',
'noc.dns',
'noc.peer',
'noc.kb']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.doc.XViewMiddleware',
'django.middleware.transaction.TransactionMiddleware',
'noc.lib.middleware.TLSMiddleware')
Traceback:
File "/opt/noc/contrib/lib/django/core/handlers/base.py" in get_response
100. response = callback(request, *callback_args, **callback_kwargs)
File "/opt/noc/lib/app/site.py" in inner
216. return view(request, *args, **kwargs)
File "/opt/noc/lib/app/modelapplication.py" in view_changelist
128. self.get_context(extra_context))
File "/opt/noc/contrib/lib/django/utils/decorators.py" in _wrapper
21. return decorator(bound_func)(*args, **kwargs)
File "/opt/noc/contrib/lib/django/utils/decorators.py" in _wrapped_view
76. response = view_func(request, *args, **kwargs)
File "/opt/noc/contrib/lib/django/utils/decorators.py" in bound_func
17. return func(self, *args2, **kwargs2)
File "/opt/noc/contrib/lib/django/contrib/admin/options.py" in changelist_view
968. self.date_hierarchy, self.search_fields, self.list_select_related, self.list_per_page, self.list_editable, self)
File "/opt/noc/contrib/lib/django/contrib/admin/views/main.py" in __init__
66. self.filter_specs, self.has_filters = self.get_filters(request)
File "/opt/noc/contrib/lib/django/contrib/admin/views/main.py" in get_filters
72. filter_fields = [self.lookup_opts.get_field(field_name) for field_name in self.list_filter]
File "/opt/noc/contrib/lib/django/db/models/options.py" in get_field
273. raise FieldDoesNotExist('%s has no field named %r' % (self.object_name, name))
Exception Type: FieldDoesNotExist at /sa/managedobject/
Exception Value: ManagedObject has no field named 'activator__shard'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment