Dataset Viewer issue for shamikbose89/lancaster_newsbooks
{'login': 'shamikbose', 'id': 50837285, 'node_id': 'MDQ6VXNlcjUwODM3Mjg1', 'avatar_url': 'https://avatars.githubusercontent.com/u/50837285?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/shamikbose', 'html_url': 'https://github.com/shamikbose', 'followers_url': 'https://api.github.com/users/shamikbose/followers', 'following_url': 'https://api.github.com/users/shamikbose/following{/other_user}', 'gists_url': 'https://api.github.com/users/shamikbose/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/shamikbose/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/shamikbose/subscriptions', 'organizations_url': 'https://api.github.com/users/shamikbose/orgs', 'repos_url': 'https://api.github.com/users/shamikbose/repos', 'events_url': 'https://api.github.com/users/shamikbose/events{/privacy}', 'received_events_url': 'https://api.github.com/users/shamikbose/received_events', 'type': 'User', 'site_admin': False}
[]
[]
['It seems like the list of splits could not be obtained:\r\n\r\n```python\r\n>>> from datasets import get_dataset_split_names\r\n>>> get_dataset_split_names("shamikbose89/lancaster_newsbooks", "default")\r\nUsing custom data configuration default\r\nTraceback (most recent call last):\r\n  File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 354, in get_dataset_config_info\r\n    for split_generator in builder._split_generators(\r\n  File "/home/slesage/.cache/huggingface/modules/datasets_modules/datasets/shamikbose89--lancaster_newsbooks/2d1c63d269bf7b9342accce0a95960b1710ab4bc774248878bd80eb96c1afaf7/lancaster_newsbooks.py", line 73, in _split_generators\r\n    data_dir = dl_manager.download_and_extract(_URL)\r\n  File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 916, in download_and_extract\r\n    return self.extract(self.download(url_or_urls))\r\n  File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 879, in extract\r\n    urlpaths = map_nested(self._extract, path_or_paths, map_tuple=True)\r\n  File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/utils/py_utils.py", line 348, in map_nested\r\n    return function(data_struct)\r\n  File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 884, in _extract\r\n    protocol = _get_extraction_protocol(urlpath, use_auth_token=self.download_config.use_auth_token)\r\n  File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 388, in _get_extraction_protocol\r\n    return _get_extraction_protocol_with_magic_number(f)\r\n  File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 354, in _get_extraction_protocol_with_magic_number\r\n    f.seek(0)\r\n  File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/fsspec/implementations/http.py", line 684, in seek\r\n    raise ValueError("Cannot seek streaming HTTP file")\r\nValueError: Cannot seek streaming HTTP file\r\n\r\nThe above exception was the direct cause of the following exception:\r\n\r\nTraceback (most recent call last):\r\n  File "<stdin>", line 1, in <module>\r\n  File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 404, in get_dataset_split_names\r\n    info = get_dataset_config_info(\r\n  File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 359, in get_dataset_config_info\r\n    raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err\r\ndatasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.\r\n```\r\n\r\nping @huggingface/datasets '
 "Oh, I removed the 'split' key from `kwargs`. I put  it back in, but there's still the same error"
 "It looks like the data host doesn't support http range requests, which is necessary to glob inside a ZIP archive in streaming mode. Can you try hosting the dataset elsewhere ? Or download each file separately from https://ota.bodleian.ox.ac.uk/repository/xmlui/handle/20.500.12024/2531 ?"
 '@lhoestq Thanks! That seems to have solved it. I can get the splits with the `get_dataset_split_names()` function. The dataset viewer is still not loading properly, though. The new error is\r\n```\r\nStatus code:   400\r\nException:     BadZipFile\r\nMessage:       File is not a zip file\r\n```\r\n\r\nPS. The dataset loads properly and can be accessed']
### Link

https://huggingface.co/datasets/shamikbose89/lancaster_newsbooks

### Description

Status code:   400
Exception:     ValueError
Message:       Cannot seek streaming HTTP file

I am able to use the dataset loading script locally and it also runs when I'm using the one from the hub, but the viewer still doesn't load

### Owner

Yes
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/4720/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}