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
nicholas08/14/2020, 9:28 PM
Philip MacMenamin08/14/2020, 9:28 PM
nicholas08/14/2020, 9:30 PM
nicholas08/14/2020, 9:40 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://22.214.171.124:4200/graphql>"
nicholas08/14/2020, 9:44 PM
[server] endpoint = "<http://126.96.36.199:4200/graphql>"
Philip MacMenamin08/14/2020, 10:16 PM
nicholas08/14/2020, 10:18 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.