Traceback (most recent call last): 


 "/usr/local/lib/python2.7/dist-packages/billiard/pool.py", line 1748, in safe_apply_callback 

fun(*args, **kwargs) 


 "/usr/local/lib/python2.7/dist-packages/celery/worker/request.py", line 366, in on_failure 

self.id, exc, request=self, store_result=self.store_errors, 


 "/usr/local/lib/python2.7/dist-packages/celery/backends/base.py", line 168, in mark_as_failure 

self._call_task_errbacks(request, exc, traceback) 


 "/usr/local/lib/python2.7/dist-packages/celery/backends/base.py", line 174, in _call_task_errbacks 

if arity_greater(errback.type.__header__, 1): 


 "/usr/local/lib/python2.7/dist-packages/celery/utils/functional.py", line 292, in arity_greater 

argspec = getfullargspec(fun) 


 "/usr/local/lib/python2.7/dist-packages/vine/five.py", line 350, in getfullargspec 

s = _getargspec(fun) 


 "/usr/lib/python2.7/inspect.py", line 816, in getargspec 

raise TypeError('{!r} is not a Python function'.format(func)) 
TypeError: <functools.partial object at 0x7f74848dffc8> is not a Python function 

Traceback (most recent call last):


 "<stdin>", line 1, in <module>
TypeError: 'type' object is not subscriptable
