Jorge Severino

09/15/2023, 1:25 PM
hello everyone! Today I started receiving this message in a stream:
Copy code
Crash detected! Execution was interrupted by an unexpected exception: TypeError: no default __reduce__ due to non-trivial __cinit__
We use Prefect Cloud, and a worker (process type) on a small machine on EC2. The only change we made was adding retries in the flow:
Copy code
Do you know what it could be due to?

Jake Kaplan

09/15/2023, 1:31 PM Enabling flow level retries requires (and enables) result persistence for tasks. Googling your error makes me think that you're returning something from a task that is not pickable by default. Results by default are pickled with
(I'm not 100% on this truthfully, just my best guess)