Yaniv Ben Zvi
12/25/2023, 10:34 AMpyflyte init my_project
- init project
2. pyflyte --pkgs workflows package
- packaging the project
3. flytectl --config .config/local-config.yaml register files flyte-package.tgz -p data -d development --version 14190df1_1a1a_4b1a_8b1a_1a1a1a1a1a1a
The register command failing with non-informative error:
Error: input package have some invalid files. try to run pyflyte package again [flyte-package.tgz]
{"json":{"src":"main.go:13"},"level":"error","msg":"input package have some invalid files. try to run pyflyte package again [flyte-package.tgz]","ts":"2023-12-25T12:36:50+02:00"}
Any idea?Ketan (kumare3)
Ketan (kumare3)
Yaniv Ben Zvi
12/26/2023, 8:26 AMKetan (kumare3)
Eduardo Apolinario (eapolinario)
12/27/2023, 2:21 PM--archive
is missing in the flytectl
call. Should be:
flytectl --config .config/local-config.yaml register files --archive flyte-package.tgz -p data -d development --version 14190df1_1a1a_4b1a_8b1a_1a1a1a1a1a1a
Yaniv Ben Zvi
12/27/2023, 3:50 PM