celery broken after upgrade

51 views
Skip to first unread message

Mike

unread,
Nov 28, 2012, 5:21:56 AM11/28/12
to django...@googlegroups.com
I decided to update some packages in the virtualenv for my Django project but in doing so I seem to have broken celery.  After upgrading to the latest version, I now get this TypeError when calling a view that also submits a celery job with my_func.delay()  Here's the error I get:   

set([]) is not JSON serializable

I upgraded to:
celery==3.0.12
django-celery==3.0.11

Several dependencies were also upgraded: billiard python-dateutil kombu pytz anyjson amqp importlib ordereddict

Has anyone else seen this with the latest version of celery?

Mike

unread,
Nov 28, 2012, 7:26:07 AM11/28/12
to django...@googlegroups.com
I finally tracked the problem down to the kombu 2.5.0.  Prior versions seem to work fine.  Then I found this thread:


According to the developer a fix is on the way.  In the meantime, you can downgrade to 2.4.10 


On Wednesday, November 28, 2012 1:09:54 PM UTC+1, Sergey Russkih wrote:
Same problem

среда, 28 ноября 2012 г., 12:21:56 UTC+2 пользователь Mike написал:

Sergey Russkih

unread,
Nov 28, 2012, 7:37:30 AM11/28/12
to django...@googlegroups.com
Looks like problem for django 1.3 only. Works for django 1.4 without downgrading

среда, 28 ноября 2012 г., 14:26:07 UTC+2 пользователь Mike написал:

Mike

unread,
Nov 28, 2012, 9:29:41 AM11/28/12
to django...@googlegroups.com
I'm running Django 1.4.2
Reply all
Reply to author
Forward
0 new messages