Open stevage opened 6 years ago
The script makes use of hardlinks, which it looks like your filesystem doesn't support.
Whoa, two very surprising statements :) Do they need to be hardlinks rather than symlinks? And I wonder why they wouldn't be permitted in this environment (default Trusty Vagrant box).
Yes, symlinks should be fine. Replace https://github.com/ThreeSixtyGiving/datagetter/blob/d95c441405d895c475a82f6c055e46b1b6f806b7/get.py#L142 with os.symlink
, or even with shutil.copyfile
.
My guess at why this isn't working on your VM, would be that you're using a file-system that's shared with the host machine, so isn't a typical linux file-system.
I ran the instructions on an Ubuntu Trusty64 in Vagrant.
It looks like the first file did download successfully: