itay livni
01/08/2021, 2:04 AMFailed to load and execute Flow's environment: SyntaxError("invalid or missing encoding declaration for '/home/.../MOC/etl_moc.py'")
-After the flow began and executed some tasks successfully. The flow was run locally. Is this a bug or something not configured correctly on my end? ThanksChris White
itay livni
01/08/2021, 3:09 AMetl_moc_flow.storage = Local(
labels=["scrape-moc"],
path="/home/itay/MOC/etl_moc.py",
)
Chris White
.py
script you additionally need to specify stored_as_script=True
itay livni
01/08/2021, 3:12 AMChris White
itay livni
01/08/2021, 3:18 AMLoading the flow’s environment is the first step in running the flow, which is when I would expect this error to get raisedI agree with that statement - what surprises me is that is happens on a terminal task or task with an upstream edge and downstream edge.