Dataset Viewer issue
#1
by
anbu-s
- opened
The dataset viewer is not working.
Error details:
Error code: TransformRowsProcessingError
The audio files are not present in this dataset. The dataset author should add them.
See that the actual error is:
Error details:
Error code: NormalRowsError
Exception: FileNotFoundError
Message: [Errno 2] No such file or directory: 'subset/Peters_Twp_DOT__School_Board_-_Policy_Committee_Meeting_-_January_26_2015/Peters_Twp_DOT__School_Board_-_Policy_Committee_Meeting_-_January_26_2015_DOT_mp3_00019.flac'
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 258, in get_rows_or_raise
return get_rows(
File "/src/services/worker/src/worker/utils.py", line 199, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 236, in get_rows
rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 1383, in __iter__
example = _apply_feature_types_on_example(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 1077, in _apply_feature_types_on_example
decoded_example = features.decode_example(encoded_example, token_per_repo_id=token_per_repo_id)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/features.py", line 1903, in decode_example
return {
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/features.py", line 1904, in <dictcomp>
column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/features.py", line 1325, in decode_nested_example
return schema.decode_example(obj, token_per_repo_id=token_per_repo_id)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/audio.py", line 186, in decode_example
with xopen(path, "rb", download_config=download_config) as f:
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 491, in xopen
return open(main_hop, mode, *args, **kwargs)
FileNotFoundError: [Errno 2] No such file or directory: 'subset/Peters_Twp_DOT__School_Board_-_Policy_Committee_Meeting_-_January_26_2015/Peters_Twp_DOT__School_Board_-_Policy_Committee_Meeting_-_January_26_2015_DOT_mp3_00019.flac'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 283, in get_rows_or_raise
return get_rows(
File "/src/services/worker/src/worker/utils.py", line 199, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 236, in get_rows
rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_dataset.py", line 2384, in __iter__
formatted_output = format_table(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/formatting/formatting.py", line 629, in format_table
return formatter(pa_table, query_type=query_type)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/formatting/formatting.py", line 396, in __call__
return self.format_row(pa_table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/formatting/formatting.py", line 437, in format_row
row = self.python_features_decoder.decode_row(row)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/formatting/formatting.py", line 215, in decode_row
return self.features.decode_example(row) if self.features else row
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/features.py", line 1903, in decode_example
return {
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/features.py", line 1904, in <dictcomp>
column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/features.py", line 1325, in decode_nested_example
return schema.decode_example(obj, token_per_repo_id=token_per_repo_id)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/audio.py", line 186, in decode_example
with xopen(path, "rb", download_config=download_config) as f:
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 491, in xopen
return open(main_hop, mode, *args, **kwargs)
FileNotFoundError: [Errno 2] No such file or directory: 'subset/Peters_Twp_DOT__School_Board_-_Policy_Committee_Meeting_-_January_26_2015/Peters_Twp_DOT__School_Board_-_Policy_Committee_Meeting_-_January_26_2015_DOT_mp3_00019.flac'