https://prefect.io logo
m

Matthew Maldonado

04/17/2020, 3:14 AM
I get the following error when I try to register a flow. Any ideas? TypeError: can't pickle JavaField objects
c

Chris White

04/17/2020, 3:16 AM
Hi Matthew - your flows must be pickleable to register with a Prefect backend, and it appears your flow or one of your tasks has a non pickleable attribute
m

Matthew Maldonado

04/17/2020, 3:19 AM
Thank you, it is using jdbc. is this a problem you think?
c

Chris White

04/17/2020, 3:23 AM
Hmm no I don’t think so but you might need to be careful - I recommend not initializing any objects outside of your tasks / your task’s run methods
m

Matthew Maldonado

04/28/2020, 11:29 PM
can the shelltask run windows commands?
opps
disregard