You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting this error if I download maestro twice. I don't get this with other datasets (I tried with the rwc_collection and beatport_key). Even though they don't break, the partial download does different things: in the case of rwc it doesn't download a second time, in the case of beatport it downloads again.
>>> dataset.download(partial_download=['metadata'])
Starting to download ['metadata'] to folder /Users/mf3734/
> downloading metadata
440kB [00:00, 473kB/s]
>>> dataset.download(partial_download=['metadata'])
Starting to download ['metadata'] to folder /Users/mf3734/
> downloading metadata
440kB [00:01, 247kB/s]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/mf3734/Documents/repos/mirdata/mirdata/core.py", line 169, in download
cleanup=cleanup,
File "/Users/mf3734/Documents/repos/mirdata/mirdata/datasets/maestro.py", line 273, in _download
shutil.move(fpath, save_dir)
File "/Users/mf3734/anaconda3/envs/mirdata/lib/python3.7/shutil.py", line 564, in move
raise Error("Destination path '%s' already exists" % real_dst)
shutil.Error: Destination path '/Users/mf3734/maestro-v2.0.0.json' already exists
The text was updated successfully, but these errors were encountered:
When it is downloading a remote zip if I cancel it (^C) and I come back to download the remote a sha related error shows up :S
I think this is actually the expected behavior - the file exists but has the wrong hash, so it throws an error. This is when you can run download with force_overwrite=True, so it deletes the file. In any case, it's not clear so I'm adding some logging information for this case!
I'm getting this error if I download maestro twice. I don't get this with other datasets (I tried with the
rwc_collection
andbeatport_key
). Even though they don't break, the partial download does different things: in the case ofrwc
it doesn't download a second time, in the case ofbeatport
it downloads again.The text was updated successfully, but these errors were encountered: