Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curl will fail with due to paths and permissions #4

Open
matiasandina opened this issue Jan 7, 2022 · 1 comment
Open

curl will fail with due to paths and permissions #4

matiasandina opened this issue Jan 7, 2022 · 1 comment

Comments

@matiasandina
Copy link

This is not your fault, but the first thing the download_data.sh script tries to do is get the massive dataset. First time, I didn't run it with sudo, it took ~1.5 hours and it failed. I ran it again with sudo (another 1.5 h) and it failed again, I think it was due to my path having issues with curl. Not sure if it was a space or a ( but I moved it to a different folder (/home/user/Desktop/) and it didn't complain.

I guess there could be a way to attempt to make folders before the curl command and or check for spaces/special characters?
My idea is to fail early before going for the full download of things

@pjb7687
Copy link
Member

pjb7687 commented Jan 8, 2022

I modified the script to ask if the file already exists before downloading. Hope it helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants