I get the following error when I try to register a...
# ask-community
m
I get the following error when I try to register a flow. Any ideas? TypeError: can't pickle JavaField objects
c
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
Thank you, it is using jdbc. is this a problem you think?
c
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
can the shelltask run windows commands?
opps
disregard