Datasets:
Dataset Viewer issue
#1
by
ongkn
- opened
The dataset viewer is not working.
Error details:
Error code: StreamingRowsError
Exception: SyntaxError
Message: broken PNG file (chunk b'\x00\x00\x00\x00')
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 327, in get_rows_or_raise
return get_rows(
File "/src/services/worker/src/worker/utils.py", line 271, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 307, 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 941, in __iter__
yield _apply_feature_types_on_example(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 700, 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 1864, in decode_example
return {
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/features.py", line 1865, 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 1308, 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/image.py", line 178, in decode_example
image.load() # to avoid "Too many open files" errors
File "/src/services/worker/.venv/lib/python3.9/site-packages/PIL/ImageFile.py", line 249, in load
s = read(self.decodermaxblock)
File "/src/services/worker/.venv/lib/python3.9/site-packages/PIL/PngImagePlugin.py", line 957, in load_read
cid, pos, length = self.png.read()
File "/src/services/worker/.venv/lib/python3.9/site-packages/PIL/PngImagePlugin.py", line 184, in read
raise SyntaxError(msg)
SyntaxError: broken PNG file (chunk b'\x00\x00\x00\x00')
The files in the non-neko folders seem corruputed, maybe the author @ongknsro knows more
The files in the non-neko folders seem corruputed, maybe the author @ongknsro knows more
Reuploaded; fixed. There had to be an issue during upload.
Thanks.
ongkn
changed discussion status to
closed