View in #prefect-community on Slack
@Guillaume_Latour: Hi everyone, I stumbled upon an error as the prefect engine serializer tried to pickle a task result: TypeError: cannot pickle 'lxml.etree.XMLSchema' object
Of course the result of one of my task is of this type and I would prefer not to change it.
I tried to launch that process again with config.flows.checkpointing = "false"
in the ~/.prefect/config.toml
file but I got the same error…
This is an error that I cannot reproduce locally with prefect run <flow>
. Do you guys have any leads on how I can solve this issue or at least reproduce the error locally?
@Kevin_Kho: config.flows.checkpointing = "false"
gets overridden in Cloud backed runs. You need to turn it off in the task level @task(checkpoint=False)
.
@Guillaume_Latour: oh.
But I am hosting the prefect server, would that change anything ?
I’ll try to put this option in the decorator nonetheless
ty for your quick response
@Anna_Geller: it works the same way for Cloud and Server
@Guillaume_Latour: yay it worked \o/
ty