Akash Dubey
05/02/2024, 2:51 PMRunning Execution on Remote.
Failed with Unknown Exception <class 'ValueError'> Reason: Error encountered while executing 'wf1':
Cannot perform truth value testing, This is a limitation in python. For Logical `and\or` use `&\|` (bitwise) instead. Expr Comp(Promise(node:n0.o0.['_typ']) == <FlyteLiteral scalar { primitive { string_value: "dataframe" } }>)
Traceback:
File "/home/ubuntu/flyte/flyteai/lib/python3.10/site-packages/flytekit/clis/sdk_in_container/utils.py", line 139, in invoke
return super().invoke(ctx)
File "/home/ubuntu/flyte/flyteai/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/ubuntu/flyte/flyteai/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/ubuntu/flyte/flyteai/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/ubuntu/flyte/flyteai/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ubuntu/flyte/flyteai/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/home/ubuntu/flyte/flyteai/lib/python3.10/site-packages/flytekit/clis/sdk_in_container/run.py", line 535, in _run
remote_entity = remote.register_script(
File "/home/ubuntu/flyte/flyteai/lib/python3.10/site-packages/flytekit/remote/remote.py", line 965, in register_script
version = self._version_from_hash(md5_bytes, serialization_settings, *_get_image_names(entity))
File "/home/ubuntu/flyte/flyteai/lib/python3.10/site-packages/flytekit/remote/remote.py", line 957, in _get_image_names
for n in entity.nodes:
File "/home/ubuntu/flyte/flyteai/lib/python3.10/site-packages/flytekit/core/workflow.py", line 253, in nodes
self.compile()
File "/home/ubuntu/flyte/flyteai/lib/python3.10/site-packages/flytekit/core/workflow.py", line 713, in compile
workflow_outputs = exception_scopes.user_entry_point(self._workflow_function)(**input_kwargs)
File "/home/ubuntu/flyte/flyteai/lib/python3.10/site-packages/flytekit/exceptions/scopes.py", line 143, in f
return outer_f(inner_f, args, kwargs)
File "/home/ubuntu/flyte/flyteai/lib/python3.10/site-packages/flytekit/exceptions/scopes.py", line 216, in user_entry_point
raise type(exc)(f"Error encountered while executing '{fn_name}':\n {exc}") from exc
Error encountered while executing 'wf1':
Cannot perform truth value testing, This is a limitation in python. For Logical `and\or` use `&\|` (bitwise) instead. Expr Comp(Promise(node:n0.o0.['_typ']) == <FlyteLiteral scalar { primitive { string_value: "dataframe" } }>)
Ketan (kumare3)