GithubHelp home page GithubHelp logo

Comments (11)

ask avatar ask commented on August 27, 2024

Have you been able to reproduce this? I'm not quite sure where this is failing

from billiard.

public avatar public commented on August 27, 2024

This looks like what happens when you raise an exception that doesnt pickle correctly.

http://packages.python.org/celery/userguide/tasks.html#creating-pickleable-exceptions

from billiard.

holm avatar holm commented on August 27, 2024

Yes, that could be the case. I will look into that.

from billiard.

holm avatar holm commented on August 27, 2024

This seems to have been the case, sorry about that. Quite surprising information about the exceptions.

from billiard.

lsemel avatar lsemel commented on August 27, 2024

Experiencing the same error since upgrading to 3.0 It seems that anything that raises an unpickleable exception can take the Celery workers.

I see the issue was closed -- was this fixed?

from billiard.

holm avatar holm commented on August 27, 2024

We are being bitten by this. We have fixed all our own exceptions, but it is quite hard to manage all possible exceptions from libraries. In this case it is the "requests" package that has exceptions that cannot be pickled, however I think celery should handle this better so it doesn't crash the worker.

from billiard.

lsemel avatar lsemel commented on August 27, 2024

Same here -- there's no way we can go through every library we use to check that all its exceptions are pickleable, so it'd be great if Celery itself could gracefully handle them.

from billiard.

public avatar public commented on August 27, 2024

It used to jam stuff into an UnpickleableExceptionWrapper iirc so this probably is a bug :)

from billiard.

lsemel avatar lsemel commented on August 27, 2024

Good to know!

from billiard.

ask avatar ask commented on August 27, 2024

Fixed by the commit above, please upgrade to celery 3.0.6

from billiard.

holm avatar holm commented on August 27, 2024

Thanks a lot Ask

from billiard.

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.