Closed Zeitsperre closed 1 year ago
The traceback hints towards the error happening after downloading a file, when trying to move it from a placeholder directory to its final location that follows the data reference syntax.
From my understanding, this error comes from the usage of os.rename
to move a file, which only works when the source and target destination are on the same filesystem.
Unfortunately there is no workaround within the current version of esgpull, but it should be relatively easy to fix for the next patch.
That is precisely the case: I failed to mention that /home and /elsewhere are using different file system architectures (EXT4 and ZFS, I believe).
This is fixed with https://github.com/ESGF/esgf-download/pull/24
Note that I only added a fallback that uses another (slower) method to move a file from the temporary directory to its final location.
Even though I said there was no workaround, there was actually a solution to your issue, which is still a valid one: having the temporary directory live on your /elsewhere filesystem, if that is possible. This command will do exactly that:
$ esgpull config paths.tmp /elsewhere/me/synda/tmp
Fantastic! I'll be sure to set that!
Not sure what's happening here, but seems to be failing when I try to download particular files as part of a query.