Comment 9 for bug 1291604

Revision history for this message
Brian Murray (brian-murray) wrote :

Removing the statsd timer wrapper had little change on the traceback.

 class ErrorsResource(Resource):
     # Wrap the view dispatch with a statsd timing.
- @measure_view
- def dispatch(self, *args, **kwargs):
- return Resource.dispatch(self, *args, **kwargs)
+ #@measure_view
+ #def dispatch(self, *args, **kwargs):
+ # return Resource.dispatch(self, *args, **kwargs)

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/tastypie/resources.py", line 217, in wrapper
    response = callback(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/tastypie/resources.py", line 459, in dispatch_list
    return self.dispatch('list', request, **kwargs)
  File "/usr/lib/python2.7/dist-packages/tastypie/resources.py", line 491, in dispatch
    response = method(request, **kwargs)
  File "/usr/lib/python2.7/dist-packages/tastypie/resources.py", line 1299, in get_list
    objects = self.obj_get_list(bundle=base_bundle, **self.remove_api_resource_names(kwargs))
TypeError: obj_get_list() got an unexpected keyword argument 'bundle'