On 03 Nov 2012, at 6:25 AM, Josh Beard wrote:
> [2012-11-02 22:20:32,839: INFO/PoolWorker-1]
> process-quarantine[288f34f9-a2b7-4536-b8e9-a0dd2ef3b1fe]: Bulk Processing 1
> quarantined messages
> [2012-11-02 22:20:32,865: DEBUG/MainProcess] Task accepted:
> process-quarantine[288f34f9-a2b7-4536-b8e9-a0dd2ef3b1fe] pid:76073
> [2012-11-02 22:20:32,867: ERROR/MainProcess] Task
> process-quarantine[288f34f9-a2b7-4536-b8e9-a0dd2ef3b1fe] raised exception:
> KeyError('task_id',)
> Traceback (most recent call last):
> File
> "/usr/local/lib/python2.7/site-packages/celery-3.0.11-py2.7.egg/celery/task/trace.py",
> line 224, in trace_task
> R = retval = fun(*args, **kwargs)
> File
> "/usr/local/lib/python2.7/site-packages/celery-3.0.11-py2.7.egg/celery/task/trace.py",
> line 403, in __protected_call__
> return self.run(*args, **kwargs)
> File
> "/usr/local/lib/python2.7/site-packages/baruwa-1.1.2-py2.7.egg/baruwa/messages/tasks.py",
> line 152, in run
> self.update_state(kwargs["task_id"], "PROGRESS",
> KeyError: 'task_id'
As a work around for this issue, please downgrade your celery to the 2.4.x
branch. To do so
edit the setup.py file and change.
install_requires = ['setuptools',
'Django>= 1.2',
'django-celery',
'reportlab',
'anyjson',
'iPy',
'lxml',
'South',
]
To
install_requires = ['setuptools',
'Django>= 1.2',
'celery==2.4.7',
'django-celery',
'reportlab',
'anyjson',
'iPy',
'lxml',
'South',
]
then run python setup.py install.
You may have to remove your currently installed celery packages.
Regards,
Andrew
--
www.baruwa.org
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056