jezdez/django-queued-storage — Issue #2: TypeError: can't pickle function objects
Author: kuno
Created: 2011-10-20 13:50:32+00:00
State: open

---------------------------------------------------------------------------
TypeError Traceback (most recent call last)

/home/kuno/utopia/sogoke-django/lib/python2.7/site-packages/queued_storage/backends.pyc in transfer(self, name, cache_key)
182 print(type(self.local))
183 print(type(self.remote))
--> 184 return self.task.delay(name, self.local, self.remote, cache_key)
185
186 def get_valid_name(self, name):

------------------------------------------------------------------------------------------------------------------------------------
It seems that queued_storage passed the local and remote lazy backnend to celery.
As far as I understand that the most suitable parameters for celery task is simple data structure such as string or number.