Domantas
04/13/2021, 10:55 AMFailed to load and execute Flow's environment: StorageError('An error occurred while unpickling the flow:\n AttributeError("type object \'Members\' has no attribute \'ids\'")\nThis may be due to one of the following version mismatches between the flow build and execution environments:\n - prefect: (flow built with \'0.14.15\', currently running with \'0.14.12\')')
Funny thing, that running locally(flow.run()) this error do not appear and it only occurs when executing code via server UI(will attach a screenshot with the error log).
For the context, I'm running Rust code in the python script which seems the main problem when using UI(running locally it works perfectly fine, so code itself seems to be good).
Maybe anyone knows how to solve this problem?
If there are some relevant information missing or there is already another thread is created related with this problem - let me know!xyzz
04/13/2021, 11:05 AMxyzz
04/13/2021, 11:05 AMDomantas
04/13/2021, 11:10 AMKevin Kho
flow.run()
will work because it’s just running all the flows locally with your local environment settings, but the flows are serialized when registered to cloud. The Prefect Cloud version is what version you register the flow in. I think in your case, it’s about the agent version. What agent are you using?Domantas
04/13/2021, 2:09 PMKevin Kho
pip install -U prefect
to upgrade the versionDomantas
04/13/2021, 3:07 PMFailed to load and execute Flow's environment: StorageError('An error occurred while unpickling the flow:\n AttributeError("type object \'Members\' has no attribute \'ids\'")')
And it seems this error is related with Rust code snippet execution in the server UI.
I tried to specify localStorage manually in the code(https://docs.prefect.io/orchestration/execution/storage_options.html#azure-blob-storage) but outcome is the same 😕Kevin Kho
Domantas
04/13/2021, 3:19 PMKevin Kho
Domantas
04/14/2021, 1:59 PMKevin Kho
Domantas
04/14/2021, 3:37 PM