samapriya / Planet-GEE-Pipeline-CLI

Planet and Google Earth Engine Pipeline Command Line Interface Tool
https://pypi.org/project/ppipe/
Apache License 2.0
42 stars 12 forks source link

Problem with ppipe space #5

Closed guy1ziv2 closed 6 years ago

guy1ziv2 commented 6 years ago

When running !ppipe space --aoi "/content/map (1)_aoi.json" --asset "PSScene4Band analytic" --local "/content/planet" I get an error sh: 1: Syntax error: "(" unexpected

while if I use !ppipe space --aoi "'/content/map (1)_aoi.json'" --asset "PSScene4Band analytic" --local "/content/planet" it works fine. Other ppipe commands e.g. ppipe activatepl did not have that problem - in fact using "'/content/map (1)_aoi.json'" files for these while "/content/map (1)_aoi.json" works

samapriya commented 6 years ago

I think the issue is with the way in which the terminal versus command prompt resolves a " versus a ' . I will look into the issue and integrate some changes to handle this

guy1ziv2 commented 6 years ago

To work it needed Both not either " or ' I think it has to do with the way you construct somewhere a sh command

On Mon, 25 Jun 2018, 15:07 Samapriya Roy, notifications@github.com wrote:

I think the issue is with the way in which the terminal versus command prompt resolves a " versus a ' . I will look into the issue and integrate some changes to handle this

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/samapriya/Planet-GEE-Pipeline-CLI/issues/5#issuecomment-399964207, or mute the thread https://github.com/notifications/unsubscribe-auth/AB_vO0145czFKE6Vs2VeRl7UNVmsTBTRks5uAO6KgaJpZM4U2Fnn .