Skip to content

Results are encoded wrong when mixing dispatching tasks from django-celery to celery proper #183

Closed

Description

@bmbouter

We dispatch code from django-celery to celery. Both celery and django-celery are joined to the same exchange and the same sqlite db. The results saved from celery are not encoded and django is trying to decode it and failing.

Strangely the actual error encountered shows celeryd complaining that it can't write to the DB. This might be an sqlite specific issue given the concurrency issues on sqlite databases.

Asksol had two suggestions on irc:

  1. fix this so the sqlalchemy backend also uses a b64 encoded text field, but that will take a long time since it won't be reverse compatible.
  2. I can make the sqlalchemy type class configurable though, so it's enabled by a setting

Activity

  1. added a commit that references this issue on Jan 7, 2013
    3e11aa6
  2. ask commented on May 30, 2013

    @ask
    Contributor

    This has been open for so long and no one has the time to work on it. It's also a backwards incompatible change and workarounds are possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions