Hi all, I’m running a flow via prefect cloud using...
# ask-community
b
Hi all, I’m running a flow via prefect cloud using github storage and have come across a strange error
Copy code
Failed to load and execute Flow's environment: NameError("name '__file__' is not defined")
Look familiar to anyone?
k
Not exactly. This seems like the Flow ran and legit raised an error. Do you have
___file___
anywhere in the flow script?
b
I’ll double check
Yes I do 🤦‍♂️
k
You good now? Or you still need help?
b
I think I’m good, still working on actually testing the fix
But I think this was definitely a case of PEBKAC
k
Haha never seen that acronym but yeah just let me know if there’s still an issue
👍 1