acoustic-carpenter-78188
02/27/2026, 5:55 AM@env.task(report=True)
async def task1():
# Creating new tabs
tab = flyte.report.get_tab("Task 1")
tab.log("<p>Task 1 HTML log</p>")
await flyte.report.flush.aio()
It tries to generate a report but i get an exception as below:
RuntimeUserError: [Errno 2] No such file or directory: '/tmp/9vebunncm4atxzmlfzl9chl5r/report.html'
I am running the task with local context: flyte.with_runcontext(mode="local")
The with_runcontext has raw_data_path and run_base_dir but it does not pass to the internal_ctx() which is tied to a task.
In the task decorator/function @env.task(report=True) is could not find a way to pass a directory path.
Is there a way to create a report at a particular location os choice?
Regards,
flyteorg/flyte-sdkacoustic-carpenter-78188
02/27/2026, 5:55 AM