-
-
Notifications
You must be signed in to change notification settings - Fork 927
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: set([]) is not JSON serializable for kombu 2.5.0 + celery + django #177
Comments
There is a change introduced in kombu 2.5.0 that adds this "bindings" option in the message json. Quick fix for you is to downgrade to 2.4.10 as I did. I image the set should be casted to a list when being passed on the wire... |
I have the same problem. |
Thanks for reporting this, I'm on it now, will produce a fix asap |
Noticed this bug for Django 1.3 |
2.5.1 is out on PyPI now, please upgrade! The real bug is in Celery though, because it sends fields in the message that are not needed. I will fix that as well, but it's not critical, just a waste of message size. |
Seems to be working :) |
Thanks for addressing this! |
I manage few Django projects using celery which uses kombu and after 2.5.0 got installed it starter throwing TypeErrors. On 2.4.8 everything is working ok. Is it some backward incompatible change and I have to change something or is it a kombu problem?
The example traceback:
The text was updated successfully, but these errors were encountered: