Philip MacMenamin08/14/2020, 9:15 PM
using the web GUI, and am attempting to register a flow:
I thought Client was to talk to Prefect Cloud ?
$ python3 -m vtk_flow.flow Traceback (most recent call last): File "/usr/lib64/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/lib64/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/nih-3d-resource-workflows/vtk_flow/flow.py", line 82, in <module> f.register(project_name='vtk_flow') File "/prefect-env/lib64/python3.7/site-packages/prefect/core/flow.py", line 1583, in register no_url=no_url, File "/prefect-env/lib64/python3.7/site-packages/prefect/client/client.py", line 729, in register project_name, project_name ValueError: Project vtk_flow not found. Run `client.create_project("vtk_flow")` to create it.
prefect backend server
Philip MacMenamin08/14/2020, 9:28 PM
Philip MacMenamin08/14/2020, 9:41 PM
lts (prefect-env) [root@ip-172-20-10-29 ~]# cat .prefect/config.toml [server] [server.ui] graphql_url = "<http://126.96.36.199:4200/graphql>"
[server] endpoint = "<http://188.8.131.52:4200/graphql>"
Philip MacMenamin08/14/2020, 10:16 PM
from, and is evaluated at runtime. Server defaults to localhost but that's relative to where you're registering the flow from. If you're registering from your local machine, your local Prefect config will need to be configured to point to your remote Server.