Datasets:
Tasks:
Text Retrieval
Formats:
parquet
Sub-tasks:
document-retrieval
Size:
100K - 1M
ArXiv:
License:
Dataset Viewer issue: FileNotFoundError: https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/python.zip
#2
by
albertvillanova
HF staff
- opened
The dataset viewer is not working.
Error details:
Error code: StreamingRowsError
Exception: FileNotFoundError
Message: https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/python.zip
Traceback: Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/implementations/http.py", line 417, in _info
await _file_info(
File "/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/implementations/http.py", line 837, in _file_info
r.raise_for_status()
File "/src/services/worker/.venv/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 1005, in raise_for_status
raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/python.zip')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 363, in get_rows_or_raise
return get_rows(
File "/src/services/worker/src/worker/utils.py", line 305, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 341, 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 981, in __iter__
for key, example in ex_iterable:
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 116, in __iter__
yield from self.generate_examples_fn(**self.kwargs)
File "/tmp/modules-cache/datasets_modules/datasets/code_x_glue_tc_nl_code_search_adv/0129e250daf16ae94b91b8e495bd2b1bf5b6bf486e2f9aff5949ad5d10e49a12/code_x_glue_tc_nl_code_search_adv.py", line 177, in _generate_examples
for e in super()._generate_examples(split_name, file_paths, self.LANGUAGE):
File "/tmp/modules-cache/datasets_modules/datasets/code_x_glue_tc_nl_code_search_adv/0129e250daf16ae94b91b8e495bd2b1bf5b6bf486e2f9aff5949ad5d10e49a12/code_x_glue_tc_nl_code_search_adv.py", line 83, in _generate_examples
data_files = self.get_data_files(split_name, file_paths, language)
File "/tmp/modules-cache/datasets_modules/datasets/code_x_glue_tc_nl_code_search_adv/0129e250daf16ae94b91b8e495bd2b1bf5b6bf486e2f9aff5949ad5d10e49a12/code_x_glue_tc_nl_code_search_adv.py", line 170, in get_data_files
return super().get_data_files(split_name, file_paths, language)
File "/tmp/modules-cache/datasets_modules/datasets/code_x_glue_tc_nl_code_search_adv/0129e250daf16ae94b91b8e495bd2b1bf5b6bf486e2f9aff5949ad5d10e49a12/code_x_glue_tc_nl_code_search_adv.py", line 62, in get_data_files
for path in os.listdir(final_path):
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/streaming.py", line 71, in wrapper
return function(*args, use_auth_token=use_auth_token, **kwargs)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 536, in xlistdir
fs, *_ = fsspec.get_fs_token_paths(path, storage_options=storage_options)
File "/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/core.py", line 606, in get_fs_token_paths
fs = filesystem(protocol, **inkwargs)
File "/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/registry.py", line 261, in filesystem
return cls(**storage_options)
File "/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/spec.py", line 76, in __call__
obj = super().__call__(*args, **kwargs)
File "/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/implementations/zip.py", line 58, in __init__
self.fo = fo.__enter__() # the whole instance is a context
File "/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/core.py", line 102, in __enter__
f = self.fs.open(self.path, mode=mode)
File "/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/spec.py", line 1199, in open
f = self._open(
File "/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/implementations/http.py", line 356, in _open
size = size or self.info(path, **kwargs)["size"]
File "/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/asyn.py", line 115, in wrapper
return sync(self.loop, func, *args, **kwargs)
File "/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/asyn.py", line 100, in sync
raise return_result
File "/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/asyn.py", line 55, in _runner
result[0] = await coro
File "/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/implementations/http.py", line 430, in _info
raise FileNotFoundError(url) from exc
FileNotFoundError: https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/python.zip
The source data files of CodeSearchNet are no longer accessible at their original host.
See: Source data files are not accessible: 403 Forbidden error
Fixed by #3.
albertvillanova
changed discussion status to
closed