Mac Gréco Péralte Chéry
07/03/2020, 8:00 PMUnexpected error while running flow: AttributeError("'Flow' object has no attribute 'slugs'",)
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.6/site-packages/prefect/engine/flow_runner.py", line 240, in run
parameters=parameters,
File "/home/ubuntu/.local/lib/python3.6/site-packages/prefect/engine/cloud/flow_runner.py", line 277, in initialize_run
tasks = {slug: t for t, slug in self.flow.slugs.items()}
AttributeError: 'Flow' object has no attribute 'slugs'Chris White
Mac Gréco Péralte Chéry
07/03/2020, 8:42 PMChris White
flow.slugs was actually introduced in 0.12.1. What’s happening is that the Flow is built and stored using 0.12.0 without a slugs attribute, and when it is run using a FlowRunner of version 0.12.1 that attribute is missing. If you upgrade your local core version to 0.12.1 the issue should resolve.Mac Gréco Péralte Chéry
07/03/2020, 11:14 PMChris White