Unable to unzip testing 3d data. #1706
Unanswered
Vaibhavmulti
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried to install Habitat using docker, but now when I run the script to download the testing data, it throws the underlying error: can someone please help?
python -m habitat_sim.utils.datasets_download --uids habitat_test_scenes --data-path data/
--2023-12-01 17:44:44-- http://dl.fbaipublicfiles.com/habitat/habitat-test-scenes_v1.0.zip
Resolving dl.fbaipublicfiles.com (dl.fbaipublicfiles.com)... 18.164.202.120, 18.164.202.10, 18.164.202.35, ...
Connecting to dl.fbaipublicfiles.com (dl.fbaipublicfiles.com)|18.164.202.120|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 140 [text/html]
Saving to: ‘/habitat-lab/data/habitat-test-scenes_v1.0.zip’
habitat-test-scenes_v1.0.zip 100%[================================================================>] 140 --.-KB/s in 0s
2023-12-01 17:44:44 (25.7 MB/s) - ‘/habitat-lab/data/habitat-test-scenes_v1.0.zip’ saved [140/140]
Traceback (most recent call last):
File "/opt/conda/envs/habitat/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/opt/conda/envs/habitat/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/opt/conda/envs/habitat/lib/python3.7/site-packages/habitat_sim/utils/datasets_download.py", line 688, in
main(sys.argv[1:])
File "/opt/conda/envs/habitat/lib/python3.7/site-packages/habitat_sim/utils/datasets_download.py", line 683, in main
uid, data_path, args.username, args.password, replace
File "/opt/conda/envs/habitat/lib/python3.7/site-packages/habitat_sim/utils/datasets_download.py", line 516, in download_and_place
with zipfile.ZipFile(data_path + package_name, "r") as zip_ref:
File "/opt/conda/envs/habitat/lib/python3.7/zipfile.py", line 1258, in init
self._RealGetContents()
File "/opt/conda/envs/habitat/lib/python3.7/zipfile.py", line 1325, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
Beta Was this translation helpful? Give feedback.
All reactions