exo-explore/exo · error · FileNotFoundError

No internet connection and no cached file list for {model_id

Error message

No internet connection and no cached file list for {model_id}

What it means

Error "No internet connection and no cached file list for {model_id}" thrown in exo-explore/exo.

Source

Thrown at src/exo/download/download_utils.py:414

        except OSError:
            cache_age = float("inf")
        if cache_age < _FILE_LIST_CACHE_TTL_SECS:
            async with aiofiles.open(cache_file, "r") as f:
                return TypeAdapter(list[FileListEntry]).validate_json(await f.read())

    if skip_internet:
        if await aios.path.exists(cache_file):
            async with aiofiles.open(cache_file, "r") as f:
                return TypeAdapter(list[FileListEntry]).validate_json(await f.read())
        local_file_list = await _build_file_list_from_local_directory(
            model_id, recursive
        )
        if local_file_list is not None:
            logger.warning(
                f"No internet and no cached file list for {model_id} - using local file list"
            )
            return local_file_list
        raise FileNotFoundError(
            f"No internet connection and no cached file list for {model_id}"
        )

    try:
        file_list = await fetch_file_list_with_retry(
            model_id,
            revision,
            recursive=recursive,
            on_connection_lost=on_connection_lost,
        )
        async with aiofiles.open(cache_file, "w") as f:
            await f.write(
                TypeAdapter(list[FileListEntry]).dump_json(file_list).decode()
            )
        return file_list
    except Exception as e:
        logger.opt(exception=e).warning(
            "Ran into exception when fetching file list from HF."

View on GitHub (pinned to 21a54c5ea0)

When it happens

Trigger: Thrown at src/exo/download/download_utils.py:414 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of exo-explore/exo@21a54c5ea0 (2026-08-26). Data as JSON: /api/errors/343491f6f6c1e168. Report an issue: GitHub.