https://flyte.org logo
j

James Evers

09/29/2022, 7:33 PM
hi everybody, i'm having some trouble running
ContainerTask
. Both a small test that I wrote myself and the cookbook example here fail when run locally. The cookbook example runs successfully when its run remotely. Any help here is appreciated!
k

Ketan (kumare3)

09/29/2022, 8:11 PM
You mean locally in python
j

James Evers

09/29/2022, 8:11 PM
yep, with just
pyflyte run <wf>
k

Ketan (kumare3)

09/29/2022, 8:12 PM
Ya locally it won’t run
j

James Evers

09/29/2022, 8:12 PM
the issue seems to be that the container task isn't returning a value:
Copy code
Python value cannot be None, expected <class 'str'>/simple: STRING
k

Ketan (kumare3)

09/29/2022, 8:12 PM
As we don’t pull Docker
j

James Evers

09/29/2022, 8:13 PM
ahhh okay
thanks!
k

Ketan (kumare3)

09/29/2022, 8:13 PM
You can mock or contribute 😍
j

James Evers

09/29/2022, 8:13 PM
ill see what i can do!
6 Views