Created
October 2, 2015 09:36
-
-
Save amir-qayyum-khan/1d93d227bd4757d894bb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback: | |
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response | |
132. response = wrapped_callback(request, *callback_args, **callback_kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/csrf.py" in wrapped_view | |
58. return view_func(*args, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/rest_framework/viewsets.py" in view | |
87. return self.dispatch(request, *args, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/rest_framework/views.py" in dispatch | |
466. response = self.handle_exception(exc) | |
File "/usr/local/lib/python2.7/dist-packages/rest_framework/views.py" in dispatch | |
463. response = handler(request, *args, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/statsd/client.py" in _wrapped | |
30. return_value = f(*args, **kwargs) | |
File "/src/rest/views.py" in list | |
921. response = self.get_paginated_response(serializer.data) | |
File "/usr/local/lib/python2.7/dist-packages/rest_framework/serializers.py" in data | |
658. ret = super(ListSerializer, self).data | |
File "/usr/local/lib/python2.7/dist-packages/rest_framework/serializers.py" in data | |
223. self._data = self.to_representation(self.instance) | |
File "/usr/local/lib/python2.7/dist-packages/rest_framework/serializers.py" in to_representation | |
598. self.child.to_representation(item) for item in iterable | |
File "/usr/local/lib/python2.7/dist-packages/rest_framework/serializers.py" in to_representation | |
447. attribute = field.get_attribute(instance) | |
File "/usr/local/lib/python2.7/dist-packages/rest_framework/fields.py" in get_attribute | |
401. raise type(exc)(msg) | |
Exception Type: AttributeError at /api/v1/repositories/demo/search/ | |
Exception Value: Got AttributeError when attempting to get a value for field `description_path` on serializer `RepositorySearchSerializer`. | |
The serializer field might be named incorrectly and not match any attribute or key on the `Result` instance. | |
Original exception text was: 'Result' object has no attribute 'description_path'. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment