Dataset Viewer issue: FileSystemError

#1
by mammoth666 - opened

The dataset viewer is not working.

Error details:

Error code:   FileSystemError

cc @albertvillanova @lhoestq @severo .

the error is now

{
  "error": "Commit 0/1 could not be created on the Hub (after 6 attempts).",
  "cause_exception": "BadRequestError",
  "cause_message": " (Request ID: Root=1-66c0b932-7a0fe6810932c4bc4eed982b;dd5d4e4d-7306-4e65-b435-0add4ccf05f5)\n\nBad request for commit endpoint:\nYour push was rejected because an LFS pointer pointed to a file that does not exist. For instance, this can happen if you used git push --no-verify to push your changes. Offending file: - default/train/0002.parquet - default/train/0004.parquet - default/train/0005.parquet - default/train/0000.parquet - default/train/0007.parquet - default/train/0001.parquet - default/train/0006.parquet - default/train/0003.parquet - default/train/0009.parquet - default/train/0008.parquet",
  "cause_traceback": [
    "Traceback (most recent call last):\n",
    " File \"/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/utils/_errors.py\", line 304, in hf_raise_for_status\n response.raise_for_status()\n",
    " File \"/src/services/worker/.venv/lib/python3.9/site-packages/requests/models.py\", line 1024, in raise_for_status\n raise HTTPError(http_error_msg, response=self)\n",
    "requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://huggingface.co/api/datasets/venetis/VMMRdb_make_model/commit/refs%2Fconvert%2Fparquet\n",
    "\nThe above exception was the direct cause of the following exception:\n\n",
    "Traceback (most recent call last):\n",
    " File \"/src/libs/libcommon/src/libcommon/utils.py\", line 197, in decorator\n return func(*args, **kwargs)\n",
    " File \"/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/utils/_validators.py\", line 114, in _inner_fn\n return fn(*args, **kwargs)\n",
    " File \"/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/hf_api.py\", line 1286, in _inner\n return fn(self, *args, **kwargs)\n",
    " File \"/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/hf_api.py\", line 3684, in create_commit\n hf_raise_for_status(commit_resp, endpoint_name=\"commit\")\n",
    " File \"/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/utils/_errors.py\", line 358, in hf_raise_for_status\n raise BadRequestError(message, response=response) from e\n",
    "huggingface_hub.utils._errors.BadRequestError: (Request ID: Root=1-66c0b932-7a0fe6810932c4bc4eed982b;dd5d4e4d-7306-4e65-b435-0add4ccf05f5)\n\nBad request for commit endpoint:\nYour push was rejected because an LFS pointer pointed to a file that does not exist. For instance, this can happen if you used git push --no-verify to push your changes. Offending file: - default/train/0002.parquet - default/train/0004.parquet - default/train/0005.parquet - default/train/0000.parquet - default/train/0007.parquet - default/train/0001.parquet - default/train/0006.parquet - default/train/0003.parquet - default/train/0009.parquet - default/train/0008.parquet\n",
    "\nThe above exception was the direct cause of the following exception:\n\n",
    "Traceback (most recent call last):\n",
    " File \"/src/services/worker/src/worker/job_runners/config/parquet_and_info.py\", line 1230, in create_commits\n commit_info = retry_create_commit(\n",
    " File \"/src/libs/libcommon/src/libcommon/utils.py\", line 202, in decorator\n raise RuntimeError(f\"Give up after {attempt} attempts. The last one raised {type(last_err)}\") from last_err\n",
    "RuntimeError: Give up after 6 attempts. The last one raised <class 'huggingface_hub.utils._errors.BadRequestError'>\n"
  ]
}

cc @Wauplin @lhoestq

The issue persists and the viewer can only show the first 100 rows

Sign up or log in to comment