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
It looks like this script does not work properly with files in a path. For instance https://doi.org/10.5281/zenodo.4314355 contains a single file RGZM/samian-lod-2020-12-10.zip. Downloading it with
zenodo_get https://doi.org/10.5281/zenodo.4314355
fails with error in zget.py line 409:
os.rename(filename, fname)
FileNotFoundError: [Errno 2] No such file or directory: 'samian-lod-2020-12-10.zip' -> 'RGZM/samian-lod-2020-12-10.zip'
The reason is a path (here RGZM) must be created first or rename fails.
The text was updated successfully, but these errors were encountered:
nichtich
added a commit
to nichtich/zenodo_get
that referenced
this issue
Sep 13, 2024
It looks like this script does not work properly with files in a path. For instance https://doi.org/10.5281/zenodo.4314355 contains a single file
RGZM/samian-lod-2020-12-10.zip
. Downloading it withfails with error in
zget.py
line 409:The reason is a path (here
RGZM
) must be created first or rename fails.The text was updated successfully, but these errors were encountered: