Giter Site home page Giter Site logo

Comments (3)

wardal avatar wardal commented on July 20, 2024

Hi @mauroka . I think you need to migrate your data manually between those 2 tables. If you need we can try to make PostgreSQL (or MySQL?) script to migrate data from old table to new django-celery-results table.

from django-celery-results.

mauroka avatar mauroka commented on July 20, 2024

Hi @wardal. I'll let you know if a need help form the migration script in PostgreSQL.
Thanks a lot.

from django-celery-results.

fproldan avatar fproldan commented on July 20, 2024

Hi @wardal

We have made an SQL migration from djcelery to django-celery-results but we are facing one problem with the meta field.

In djcelery the value is decoding with pickle to something like this:
eJxrYKotZIzgYGBgSM7IzEkpSs0rZIotZA5VsTRKSTSytEjUNTNJNdM1MTMw001MSknVTU02MTAzSzQxTjQxKGTxa/NrK2RNLNYDAMOfE9s=

While django_celery_results_taskresult expected something like:
{""children"": [[[""92da298a-64e6-4606-abde-ec4066a43a40"", null], null]]}

If I decode this value in order to save it in the django_celery_results_taskresult table I get a different structure from djcelery:
{u'children': [(('92da298a-64e6-4606-abde-ec4066a43a40', None), None)]}

Any ideas to solve this besides parsing the data?

Thanks a lot.

from django-celery-results.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.