Mateusz | 26 Mar 13:39 2013
Picon

django-celery

Hi,

I have a problem with django-celery. When i want to delay function I get an 
error from celery worker, it happens every second time when i want to use it. 

Error from celery worker:

Can't decode message body: ImportError('No module named 
manager.apps.ffmpeg.tasks',) (type:u'application/x-python-serialize' 
encoding:u'binary' 
raw:"'\\x80\\x02}q\\x01(U\\x07expiresq\\x02NU\\x03utcq\\x03\\x88U\\x04argsq\\x04
cmanager.apps.ffmpeg.tasks\\nFfmpegTasks\\nq\\x05)\\x81q\\x06}q\\x07(U\\tfile_pa
thq\\x08X*\\x00\\x00\\x00/media/temp/video/2462009/8132009624142319U\\x02IDq\\tM
\\x1eDU\\x0cvideo_objectq\\ncdjango.db.models.base\\nmodel_unpickle\\nq\\x0bcman
ager.apps.manager.models\\nVideoContent\\nq\\x0c]cdjango.db.models.base\\nsimple
_class_factory\\nq\\r\\x87Rq\\x0e}q\\x0f(U\\x08date_addq\\x10cdatetime\\ndatetim
e\\nq\\x11U\\n\\x07\\xd9\\x06\\x18\\x0e\\x17\\x00\\x00\\x00\\x00cpytz\\n_UTC\\nq
\\x12)Rq\\x13\\x86Rq\\x14U\\x04busyq\\x15\\x89U\\x0bdescriptionq\\x16XF\\x00\\x0
0\\x00Spotkanie z Wand? P\\xc3\\xb3?tawsk?, przyjaci\\xc3\\xb3?k? Jana Paw?a II 
cz??c 
druga.U\\x0f_category_cacheq\\x17h\\x0bcmanager.apps.manager.models\\nVideoCateg
ory\\nq\\x18]h\\r\\x87Rq\\x19}q\\x1a(U\\x06_stateq\\x1bcdjango.db.models.base\\n
ModelState\\nq\\x1c)\\x81q\\x1d}q\\x1e(U\\x06addingq\\x1f\\x89U\\x02dbq... 
(1317b)"')

I installed librabbitmq and worker after that give me an error:

Can't decode message body: ImportError('No module named 
manager.apps.ffmpeg.tasks',) (type:'application/x-python-serialize' 
encoding:'binary' raw:'<read-only buffer ptr 0xa89c117, size 1277 at 0xa7af9e0> 
(Continue reading)


Gmane