athena-oss / athena

An automation platform with a plugin architecture that allows you to easily create and share services.
https://athena-oss.github.io/athena/
Apache License 2.0
92 stars 25 forks source link

athena fails if directory name has space #32

Closed abhishektomar-olx closed 7 years ago

abhishektomar-olx commented 7 years ago

I am using Google Drive for storing my data in cloud and my directory structure is something like "/Users/abhishektomar/Google Drive/infra/athena" but whenever I am running athena command to do any thing it failed because of space in a directory name.

error what I am getting is: docker: Error parsing reference: "Drive/infra/athena/terraform:/opt/platform_terraform" is not a valid repository/tag.

pproenca commented 7 years ago

Hello @abhishektomar-olx

We've found a few places where directories with spaces were not being parsed correctly:

These are now fixed.

However make sure also that in the plugin you are using, which seems to be a custom one, that all directories paths in the docker mount functions are wrapped around double quotes.

ghost commented 7 years ago

I'm closing it as we have a test case for this now. @abhishektomar-olx if you continue to experience this issue please reopen it.