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

the elevation.clean() command cannot remove spools #21

Closed
Pielewuiter opened this issue Oct 31, 2016 · 3 comments
Closed

the elevation.clean() command cannot remove spools #21

Pielewuiter opened this issue Oct 31, 2016 · 3 comments
Assignees
Labels
Milestone

Comments

@Pielewuiter
Copy link

Hi, I'm using rPython to run the script from within R (on Ubuntu 14.04). That seems to work fine, but for some reason, the elevation.clean() procedure throws an error (breaking my iteration in R).
I get:

make: Entering directory `/home/user/.cache/elevation/SRTM1'
find cache -size 0 -name "*.tif" -delete
rm -f spool/*
rm: cannot remove ‘spool/N41’: Is a directory
make: *** [clean] Error 1
make: Leaving directory `/home/user/.cache/elevation/SRTM1'

I do not know whether this problem is related to the script or to my system setup, though..
Any thoughts?

@alexamici alexamici added the bug label Oct 31, 2016
@alexamici alexamici added this to the 1.0.0 milestone Oct 31, 2016
@alexamici alexamici self-assigned this Oct 31, 2016
@alexamici
Copy link
Member

@Pielewuiter indeed this looks like a genuine bug. I had to do a change in the structure of the spool and forgot to test the clean command. Thanks.

@alexamici
Copy link
Member

@Pielewuiter can you test if latest master fixes the problem for you?

$ pip install https://github.com/bopen/elevation/archive/master.zip

Thanks.

@Pielewuiter
Copy link
Author

@alexamici yep, it's running smooth for me now. Thanks for your quick response!

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

No branches or pull requests

2 participants