Hi again everyone, After I successfully submited ...
# flyte-support
f
Hi again everyone, After I successfully submited job to flyte server, I happened to get an error while downloading data from gcs.
Copy code
flytekit.exceptions.system.FlyteDownloadDataException: SYSTEM:DownloadDataError: error=Failed to get data from gs://<bucket>/<project>/<domain>/<runid>/<data.tar.gz> to ./ (recursive=False).

Original exception: can't subtract offset-naive and offset-aware datetimes
any debugging advice will be greatly appreciated.
a
@few-angle-62167 could you share a reproducible example? what flytekit version are you running?
f
Sure, here is my workflow file
Copy code
# Hello World

import flytekit as fl
import os

image_spec = fl.ImageSpec(
    name="hello-world",
    requirements="uv.lock",
    registry=<gcp-artifact-registry>
)

@fl.task(container_image=image_spec)
def say_hello(name: str) -> str:
    return f"Hello, {name}!"

@fl.workflow
def hello_world_wf(name: str = "world") -> str:
    greeting = say_hello(name=name)
    return greeting
I also changed
Copy code
FROM mambaorg/micromamba:2.0.3-debian12-slim as micromamba 
in flytekit/image_spec/default_builder.py to
FROM mambaorg/micromamba:2.1-debian12-slim as micromamba
then I ran
Copy code
pyflyte run  --remote --project <project> --domain <domain> <workflow_file.py> <workflow>
after I successfully built and pushed docker image, after around 30 second I got this error. I run flytekit on version 1.15.4
a
@few-angle-62167 and anyone else running into this issue using GCS: There's an upstream fix: https://github.com/fsspec/gcsfs/pull/683 It's available in the latest gcsfs package version: https://pypi.org/project/gcsfs/2025.5.0.post1/ This should fix it. Let us know otherwise
f
Fixed, thanks a lot.