Saturday, 15 March 2014

python - Celery Result backend. DisabledBackend object has no attribute _get_task_meta_for -



python - Celery Result backend. DisabledBackend object has no attribute _get_task_meta_for -

i have configured celery , backend:

cleryapp = celery( 'tasks_app', brocker='amqp://guest@localhost//', backend='db+postgresql://guest@localhost:5432' )

'results' appears disabled when start worker, read on question here that's not issue.

the database getting info correctly,

result = asyncresult(task_id)

raises

attributeerror: 'disabledbackend' object has no attribute '_get_task_meta_for'

try using instead task name of task function:

result = task.asyncresult(task_id)

python celery

No comments:

Post a Comment