Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法成功下载数据集 #8

Closed
zelo2 opened this issue Jan 21, 2021 · 1 comment
Closed

无法成功下载数据集 #8

zelo2 opened this issue Jan 21, 2021 · 1 comment

Comments

@zelo2
Copy link

zelo2 commented Jan 21, 2021

🐛 Description

edudata download assistment-2009-2010-skill 报错,以及后续许多数据集下载时候404错误,无法访问。
请问链接:http://base.ustc.edu.cn/data/cdbd/ 是必须学校的网才能访问么?校外404报错。

Error Message

Traceback (most recent call last):
File "e:\anaconda\envs\pytorch\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "e:\anaconda\envs\pytorch\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "E:\Anaconda\envs\pytorch\Scripts\edudata.exe_main
.py", line 7, in
File "e:\anaconda\envs\pytorch\lib\site-packages\EduData\main.py", line 47, in cli
"sim": similarity_graph,
File "e:\anaconda\envs\pytorch\lib\site-packages\fire\core.py", line 138, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "e:\anaconda\envs\pytorch\lib\site-packages\fire\core.py", line 468, in _Fire
target=component.name)
File "e:\anaconda\envs\pytorch\lib\site-packages\fire\core.py", line 672, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "e:\anaconda\envs\pytorch\lib\site-packages\EduData\DataSet\download_data\download_data.py", line 224, in get_data
return download_data(url, data_dir, override)
File "e:\anaconda\envs\pytorch\lib\site-packages\EduData\DataSet\download_data\download_data.py", line 187, in download_data
download_file(url, save_path, override)
File "e:\anaconda\envs\pytorch\lib\site-packages\EduData\DataSet\download_data\download_data.py", line 158, in download_file
decompress(save_path)
File "e:\anaconda\envs\pytorch\lib\site-packages\EduData\DataSet\download_data\utils.py", line 14, in decompress
un_zip(file)
File "e:\anaconda\envs\pytorch\lib\site-packages\EduData\DataSet\download_data\utils.py", line 29, in un_zip
zip_file = zipfile.ZipFile(file)
File "e:\anaconda\envs\pytorch\lib\zipfile.py", line 1258, in init
self._RealGetContents()
File "e:\anaconda\envs\pytorch\lib\zipfile.py", line 1325, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file

**Operating System: win10

Python Version: (anaconda/python3.7)

@tswsxk
Copy link
Owner

tswsxk commented Jan 23, 2021

数据存储网站出现了宕机,目前已经修复,可以正常下载

@tswsxk tswsxk closed this as completed Jan 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants