Dataset Viewer issue

#1
by khulnasoft - opened

The dataset viewer is not working.

Error details:

Exception:    SplitsNotFoundError
Message:      The split names could not be parsed from the dataset config.
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/mongoengine/queryset/base.py", line 269, in get
                  result = next(queryset)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/mongoengine/queryset/base.py", line 1608, in __next__
                  raw_doc = next(self._cursor)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/pymongo/cursor.py", line 1267, in next
                  raise StopIteration
              StopIteration
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/libs/libcommon/src/libcommon/simple_cache.py", line 533, in get_response_with_details
                  CachedResponseDocument.objects(kind=kind, dataset=dataset, config=config, split=split)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/mongoengine/queryset/base.py", line 272, in get
                  raise queryset._document.DoesNotExist(msg)
              libcommon.simple_cache.DoesNotExist: CachedResponseDocument matching query does not exist.
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 159, in compute
                  compute_split_names_from_info_response(
                File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 131, in compute_split_names_from_info_response
                  config_info_response = get_previous_step_or_raise(kind="config-info", dataset=dataset, config=config)
                File "/src/libs/libcommon/src/libcommon/simple_cache.py", line 582, in get_previous_step_or_raise
                  response = get_response_with_details(kind=kind, dataset=dataset, config=config, split=split)
                File "/src/libs/libcommon/src/libcommon/simple_cache.py", line 546, in get_response_with_details
                  raise CachedArtifactNotFoundError(kind=kind, dataset=dataset, config=config, split=split) from e
              libcommon.simple_cache.CachedArtifactNotFoundError: Cache entry does not exist: kind='config-info' dataset='khulnasoft/CodeContests_valid_and_test_AlphaKhulnasoft' config='default' split=None
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 499, in get_dataset_config_info
                  for split_generator in builder._split_generators(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/arrow/arrow.py", line 50, in _split_generators
                  self.info.features = datasets.Features.from_arrow_schema(pa.ipc.open_stream(f).schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/pyarrow/ipc.py", line 190, in open_stream
                  return RecordBatchStreamReader(source, options=options,
                File "/src/services/worker/.venv/lib/python3.9/site-packages/pyarrow/ipc.py", line 52, in __init__
                  self._open(source, options=options, memory_pool=memory_pool)
                File "pyarrow/ipc.pxi", line 974, in pyarrow.lib._RecordBatchStreamReader._open
                File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
              pyarrow.lib.ArrowInvalid: Expected to read 1886593659 metadata bytes, but only read 25
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 75, in compute_split_names_from_streaming_response
                  for split in get_dataset_split_names(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 572, in get_dataset_split_names
                  info = get_dataset_config_info(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 504, in get_dataset_config_info
                  raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
              datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.

Sign up or log in to comment