Dear NAV users,
I just have a fresh install of NAV In Debian 7. Everything seems to be
ok: Graphite is working, I can include objets, I am getting alerts, etc.
Nevertheless, the Netmap app function is not working, and as soon as I
enter to it, I get the following error:
AttributeError: 'QuerySet' object has no attribute 'categories_set'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py",
line 109, in get_response response = callback(request, *callback_args,
**callback_kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py",
line 48, in view return self.dispatch(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py",
line 69, in dispatch return handler(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py",
line 123, in get context = self.get_context_data(**kwargs)
File "/usr/lib/python2.7/dist-packages/nav/web/netmap/views.py", line
70, in get_context_data NetmapViewSerializer(netmap_views).data
File "/usr/lib/python2.7/dist-packages/rest_framework/serializers.py",
line 572, in data self._data = self.to_native(obj)
File "/usr/lib/python2.7/dist-packages/nav/web/netmap/serializers.py",
line 95, in to_native for view_category in
obj.categories_set.all().select_related(
AttributeError: 'QuerySet' object has no attribute 'categories_set'
Some help would be highly appreciated,
Best regards,
Gustavo García
RedCLARA