Harry Baker

07/28/2021, 10:01 PM
ok not sure what i did (probably caused my editing directory structure) but for whatever reason the cloud dashboard no longer is able to execute my flows. I keep getting this error:
Traceback (most recent call last):
File "/home/ubuntu/anaconda3/envs/ca_covid_main/lib/python3.8/site-packages/prefect/agent/", line 384, in _deploy_flow_run
deployment_info = self.deploy_flow(flow_run)
File "/home/ubuntu/anaconda3/envs/ca_covid_main/lib/python3.8/site-packages/prefect/agent/local/", line 142, in deploy_flow
env = self.populate_env_vars(flow_run, run_config=run_config)
File "/home/ubuntu/anaconda3/envs/ca_covid_main/lib/python3.8/site-packages/prefect/agent/local/", line 199, in populate_env_vars
else os.getcwd()
FileNotFoundError: [Errno 2] No such file or directory
i tried making a new project and reregistering but its still causing issues
pretty sure this is because i did a rm of a directory that i re-synced over, but not sure how to go about fixing it
hmm seems to have resolved itself after i went back again and closed all my terminals and redid everything

Kevin Kho

07/29/2021, 12:36 AM
This normally happens when you register a Flow locally, and then it’s saved in the
folder, and then yu try run it on a different machine that doesn’t have it in the
folder. This leads to the serialized flow not being found. So from what you described, I guess it’s related to the
of the directory yep. Gald you figured it out though.