https://flyte.org logo
#ask-the-community
Title
# ask-the-community
y

Yaniv Ben Zvi

12/25/2023, 10:34 AM
Hi Team, I'm trying to deploy a workflow using these steps: 1.
pyflyte 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:
Copy code
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?
k

Ketan (kumare3)

12/25/2023, 4:03 PM
Can you try pyflyte register
Skip package and flytectl register
y

Yaniv Ben Zvi

12/26/2023, 8:26 AM
Yeah, the registration with pyflyte register is working, but not the package and registration with flytectl
k

Ketan (kumare3)

12/26/2023, 7:45 PM
That is odd we should look into it. Would love to reproduce
e

Eduardo Apolinario (eapolinario)

12/27/2023, 2:21 PM
The
--archive
is missing in the
flytectl
call. Should be:
Copy code
flytectl --config .config/local-config.yaml register files --archive flyte-package.tgz -p data -d development --version 14190df1_1a1a_4b1a_8b1a_1a1a1a1a1a1a
y

Yaniv Ben Zvi

12/27/2023, 3:50 PM
I’ll try this thanks for your help @Eduardo Apolinario (eapolinario) 🙏