https://prefect.io logo
Title
y

YD

03/08/2022, 11:37 PM
Error for some users on "hello-world" code we have an agent running on a host, on user group "a" I am in this user group and can run the hello-world code without a problem. another user on that host, who is on a different user group, tries to run the same "hello-world" code he can run it using the
flow.run()
and it runs OK he can register it and see the flow in the dashboard, but it fails with
Failed to load and execute Flow's environment: ModuleNotFoundError("No module named '/home/<user_name>'",)
any thoughts? does every user group needs a different agent ?
d

Devin Flake

03/08/2022, 11:53 PM
I just ran into that myself - here's a discussion and solution to it: https://github.com/PrefectHQ/prefect/discussions/5143
k

Kevin Kho

03/09/2022, 12:12 AM
Adding this discourse topic
y

YD

03/11/2022, 4:31 PM
So far, it looks like it was permissions issue in the user home folder.