"returned non-zero exit status 2." Error after running
Opened this issue · 3 comments
Hi, am getting the following error when trying to run the code:
The system cannot find the path specified. make: Entering directory C:/Users/Jonathan/AppData/Local/bopen/elevation/Cache/SRTM1 The syntax of the command is incorrect. make: *** [spool/N53/N53W010.hgt.gz] Error 1 make: Leaving directory C:/Users/Jonathan/AppData/Local/bopen/elevation/Cache/SRTM1 Traceback (most recent call last): File "c:/Users/Jonathan/Desktop/Projects/threedee.py", line 30, in <module> elevation.clip(bounds = bounds, output = output, product = 'SRTM1') File "C:\Users\Jonathan\Anaconda3\lib\site-packages\elevation\datasource.py", line 181, in clip datasource_root = seed(bounds=bounds, **kwargs) File "C:\Users\Jonathan\Anaconda3\lib\site-packages\elevation\datasource.py", line 153, in seed ensure_tiles(datasource_root, ensure_tiles_names, **kwargs) File "C:\Users\Jonathan\Anaconda3\lib\site-packages\elevation\datasource.py", line 115, in ensure_tiles return util.check_call_make(path, targets=['download'], variables=variables_items, **kwargs) File "C:\Users\Jonathan\Anaconda3\lib\site-packages\elevation\util.py", line 93, in check_call_make subprocess.check_call(cmd, shell=True) File "C:\Users\Jonathan\Anaconda3\lib\subprocess.py", line 291, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'make -C C:\Users\Jonathan\AppData\Local\bopen\elevation\Cache\SRTM1 download ENSURE_TILES="N53/N53W010.tif N53/N53W009.tif"' returned non-zero exit status 2.
All looks good when I run "eio systemcheck". Any help appreciated.
@JonFaull Did you ever resolve this? I'm running into the same issue right now and not finding anything helpful.
@JonFaull Did you ever resolve this? I'm running into the same issue right now and not finding anything helpful.
Hi, no I never found a solution, I ended up using a completely different height map.
This issue seems to be a duplicate of #34.