<#4379 Last error: UNKNOWN::Outputs not generated ...
# flyte-github
a
#4379 Last error: UNKNOWN::Outputs not generated by task execution while using map_task Issue created by jayanthshimoga Describe the bug Hi team, we are using flyte 1.9.1 in our organization and we are running workflows pretty much smoothly. However we wanted to explore map_task along with python notebook to spin up notebook parallel associate with parallel task, while testing basic map_task functionality all we are getting is this below error. Other workflows are working fine this is appearing only for map_task related workflows.
Last error: UNKNOWN::Outputs not generated by task execution
Expected behavior we are trying basic map_task function to understand more on that. However basic python programming is giving this unknown error. However this is working very well in local. Additional context to reproduce
Copy code
from typing import List

from flytekit import experimental, task, workflow

@task
def a_mappable_task(a: int) -> str:
    try:
        inc = a + 2
        print(inc)
        return str(inc)
    except Exception as e:
        print(e)


@workflow
def my_map_workflow(a: List[int]) -> List[str]:
    try:
        mapped_out = experimental.map_task(a_mappable_task)(a=a)
        return mapped_out
    except Exception as e:
            print(e)

if __name__ == "__main__":
    result = my_map_workflow(a=[2,3,4,5])
    print(f"{result}")
We use python 3.9 and also have below dependency in requirements.in. So we are building image pushing to AWS ECR and then using this image to register our workflows. flytekit==1.9.1 flytekitplugins-papermill==1.9.1 hvac==1.0.2 pytz==2022.6 pandas==1.2.2 numpy==1.20.1 ldap3==2.9.1 dataclasses-json<0.5.12 Screenshots No response Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte