Skip to content

Troubleshooting

Qubitium edited this page Dec 5, 2026 · 4 revisions

Troubleshooting and FAQ

Symptom What to check
A repository load raises FileNotFoundError Check provider, repository ID, revision and cache root. The default load() is offline. For the initial fill explicitly pass download=True, then repeat the identical load offline.
A filename opens but the whole snapshot fails offline A single completed file can be useful even in a partial snapshot. A whole snapshot needs a complete inventory and its files. Load by filename or permit one complete snapshot download.
A split yields its first rows then fails offline A cached Viewer prefix can end before the dataset does. Fetch the required pages with network permission or select complete source shards.
Refresh or upload raises PermissionError Check HF_HUB_OFFLINE. A force refresh and an upload both need network access.
The Viewer reports partial data or truncated cells Use a source shard by filename to read original cell contents.
A local directory with split= fails Pass a list of its shards to load(shards, type="dataset"), or use hf_compat.load_dataset(directory, split="train").
Parquet raises a schema, compression or encoding error Check the selected columns and the supported encodings. Zstandard needs Python 3.14+ with compression.zstd. Export supported types/encodings when necessary.
A saved Arrow shard fails to open Check whether it is an uncompressed IPC stream with supported field types. A .arrow extension alone does not identify the container or schema.
Numeric buffer reads fail on nullable data Use row reads to preserve nulls, or provide a flat numeric column containing a value in every row.
Accelerated operations use the Python fallback Read the first DataShoal warning. Check CPython, matching Python.h headers, a C11 compiler on PATH, CC, and access to the private JIT cache. Restart Python after correcting the cause.
An HF shim reports that a package is already imported Install the shim before importing its downstream consumer, or call datashoal.hf_compat explicitly.
Calibration samples differ across runs Keep the source revision, shard order, transform and seed fixed. Iterating the same shared cursor from multiple threads distributes different rows to each caller.

For a reproducible report, include the DataShoal version, interpreter and GIL mode, OS, relevant format/codec, call arguments and the first error. Redact credentials. Issue tracker

Clone this wiki locally