Ticket #19575: foo

File foo, 2.1 KB (added by anonymous, 2 years ago)

traceback without formatting.

Line 
1Here's a traceback in case it helps:
2
3Environment:
4
5
6Request Method: GET
7Request URL: http://localhost:8000/kml/devices/testfilter/
8
9Django Version: 1.5c1
10Python Version: 2.7.2
11Installed Applications:
12('django.contrib.auth',
13 'django.contrib.contenttypes',
14 'django.contrib.sessions',
15 'django.contrib.sites',
16 'django.contrib.messages',
17 'django.contrib.staticfiles',
18 'mvw',
19 'django.contrib.admin',
20 'django.contrib.admindocs',
21 'django_tables2',
22 'django.contrib.gis',
23 'debug_toolbar')
24Installed Middleware:
25('django.middleware.common.CommonMiddleware',
26 'django.contrib.sessions.middleware.SessionMiddleware',
27 'django.middleware.csrf.CsrfViewMiddleware',
28 'django.contrib.auth.middleware.AuthenticationMiddleware',
29 'django.contrib.messages.middleware.MessageMiddleware',
30 'debug_toolbar.middleware.DebugToolbarMiddleware')
31
32
33Traceback:
34File "/Library/Python/2.7/site-packages/django/core/handlers/base.py" in get_response
35  115.                         response = callback(request, *callback_args, **callback_kwargs)
36File "/Users/project1/code/mvw/mvw/decorators.py" in wrap
37  14.                                   return f(request, *args, **kwargs)
38File "/Users/project1/code/mvw/mvw/views.py" in kmldevices
39  276.          filter.graph = filter._build_graph()
40File "/Users/project1/code/mvw/mvw/models/filter.py" in _build_graph
41  110.          for p in self.packets.filter(packettype__name = 'RSP'):
42File "/Users/project1/code/mvw/mvw/models/filter.py" in packets
43  180.                  query = query.authfilter(self.user)
44File "/Users/project1/code/mvw/mvw/models/managers.py" in authfilter
45  42.                   return self.filter(probe__client__user_set = user)
46File "/Library/Python/2.7/site-packages/django/db/models/query.py" in filter
47  655.         return self._filter_or_exclude(False, *args, **kwargs)
48File "/Library/Python/2.7/site-packages/django/db/models/query.py" in _filter_or_exclude
49  669.         clone = self._clone()
50File "/Library/Python/2.7/site-packages/django/db/models/query.py" in _clone
51  913.         c._known_related_objects = self._known_related_objects
52
53Exception Type: AttributeError at /kml/devices/testfilter/
54Exception Value: 'AuthQuerySet' object has no attribute '_known_related_objects'
55
Back to Top