This repository was archived by the owner on Jul 17, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
Problems when Downloading the Italian Dataset #12
Copy link
Copy link
Open
Description
Hi,
I run the following command to download the Italian Datasert from MuAViC:
python get_data.py --root-path ./esperanza/ --src-lang it
However, in some moment of the running the script was interrupted. Please find attached the full error trace:
Traceback (most recent call last):
File "/home/dgimeno/phd/muavic/utils.py", line 62, in download_file
wget.download(url, out=str(download_path / filename), bar=custom_bar)
File "/home/dgimeno/anaconda3/envs/muavic/lib/python3.8/site-packages/wget.py", line 506, in download
(fd, tmpfile) = tempfile.mkstemp(".tmp", prefix=prefix, dir=".")
File "/home/dgimeno/anaconda3/envs/muavic/lib/python3.8/tempfile.py", line 331, in mkstemp
return _mkstemp_inner(dir, prefix, suffix, flags, output_type)
File "/home/dgimeno/anaconda3/envs/muavic/lib/python3.8/tempfile.py", line 250, in _mkstemp_inner
fd = _os.open(file, flags, 0o600)
FileNotFoundError: [Errno 2] No such file or directory: './esperanza/metadata/it_metadata.tgz88g65ab3.tmp'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "get_data.py", line 115, in <module>
main(args)
File "get_data.py", line 84, in main
prepare_mtedx(args)
File "get_data.py", line 26, in prepare_mtedx
preprocess_mtedx_video(
File "/home/dgimeno/phd/muavic/mtedx_utils.py", line 220, in preprocess_mtedx_video
video_metadata = load_video_metadata(
File "/home/dgimeno/phd/muavic/utils.py", line 110, in load_video_metadata
download_extract_file_if_not(
File "/home/dgimeno/phd/muavic/utils.py", line 89, in download_extract_file_if_not
download_file(url, download_path)
File "/home/dgimeno/phd/muavic/utils.py", line 65, in download_file
raise HTTPError(e.url, e.code, message, e.hdrs, e.fp)
AttributeError: 'FileNotFoundError' object has no attribute 'url'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels