Created
August 28, 2012 14:40
-
-
Save santiagobasulto/3498601 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| ====================================================================== | |
| ERROR: test_post_a_workout_from_GPX (athlete.test.api.resources.workouts.TestWorkoutCreation) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/santiago/code/python/athlete/athlete/src/athlete/test/api/resources/workouts.py", line 143, in test_post_a_workout_from_GPX | |
| response = self.workout_resource.dispatch_list(request) | |
| File "/home/santiago/.virtualenvs/athlete.com/src/django-tastypie/tastypie/resources.py", line 407, in dispatch_list | |
| return self.dispatch('list', request, **kwargs) | |
| File "/home/santiago/.virtualenvs/athlete.com/src/django-tastypie/tastypie/resources.py", line 436, in dispatch | |
| response = method(request, **kwargs) | |
| File "/home/santiago/.virtualenvs/athlete.com/src/django-tastypie/tastypie/resources.py", line 1194, in post_list | |
| updated_bundle = self.obj_create(bundle, request=request, **self.remove_api_resource_names(kwargs)) | |
| File "/home/santiago/code/python/athlete/athlete/src/athlete/api/resources/feed.py", line 417, in obj_create | |
| bundle = self.full_hydrate(bundle) | |
| File "/home/santiago/code/python/athlete/athlete/src/athlete/api/resources/feed.py", line 396, in full_hydrate | |
| value = field_object.hydrate(bundle) | |
| File "/home/santiago/.virtualenvs/athlete.com/src/django-tastypie/tastypie/fields.py", line 648, in hydrate | |
| return self.build_related_resource(value, request=bundle.request) | |
| File "/home/santiago/.virtualenvs/athlete.com/src/django-tastypie/tastypie/fields.py", line 598, in build_related_resource | |
| return self.resource_from_pk(self.fk_resource, value, **kwargs) | |
| File "/home/santiago/.virtualenvs/athlete.com/src/django-tastypie/tastypie/fields.py", line 568, in resource_from_pk | |
| return fk_resource.full_dehydrate(bundle) | |
| File "/home/santiago/.virtualenvs/athlete.com/src/django-tastypie/tastypie/resources.py", line 675, in full_dehydrate | |
| bundle.data[field_name] = field_object.dehydrate(bundle) | |
| File "/home/santiago/.virtualenvs/athlete.com/src/django-tastypie/tastypie/fields.py", line 640, in dehydrate | |
| return self.dehydrate_related(fk_bundle, self.fk_resource) | |
| File "/home/santiago/.virtualenvs/athlete.com/src/django-tastypie/tastypie/fields.py", line 508, in dehydrate_related | |
| return related_resource.get_resource_uri(bundle) | |
| File "/home/santiago/.virtualenvs/athlete.com/src/django-tastypie/tastypie/resources.py", line 2052, in get_resource_uri | |
| return self._build_reverse_url("api_dispatch_detail", kwargs=kwargs) | |
| File "/home/santiago/code/python/athlete/athlete/src/athlete/api/resources/base.py", line 43, in _build_reverse_url | |
| return reverse(name, args=args, kwargs=kwargs) | |
| File "/home/santiago/.virtualenvs/athlete.com/local/lib/python2.7/site-packages/django/core/urlresolvers.py", line 476, in reverse | |
| return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs)) | |
| File "/home/santiago/.virtualenvs/athlete.com/local/lib/python2.7/site-packages/django/core/urlresolvers.py", line 396, in _reverse_with_prefix | |
| "arguments '%s' not found." % (lookup_view_s, args, kwargs)) | |
| NoReverseMatch: Reverse for 'api_dispatch_detail' with arguments '()' and keyword arguments '{'pk': 1, 'resource_name': 'profile'}' not found. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment