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

Permission denied for example project #43

Open
mottosso opened this issue Jul 6, 2018 · 3 comments
Open

Permission denied for example project #43

mottosso opened this issue Jul 6, 2018 · 3 comments
Labels
bug Something isn't working

Comments

@mottosso
Copy link
Contributor

mottosso commented Jul 6, 2018

Examples are located in the volume provided by this repo, but is mounted read-only which means that examples can't be opened nor saved.

To reproduce

$ avalon --import batman
$ avalon

Launch any example asset.

Running action: maya2015
ERROR:avalon.pipeline.Action:Could not copy application file: [Errno 13] Permission denied: 'a:\\git\\avalon-examples\\projects/batman/assets/Bruce/work/modeling/maya\\workspace.mel'

Workaround

  1. Copy a:\git\avalon-examples to e.g. c:\avalon-examples
  2. Set AVALON_EXAMPLES=c:\avalon-examples
  3. Set AVALON_PROJECTS=c:\avalon-examples\projects
  4. Launch Avalon
@mottosso mottosso added the bug Something isn't working label Jul 6, 2018
@tokejepsen
Copy link
Collaborator

Could we maybe catch or pre-test the permission error and ask the user to set a location where there is read/write permission?

@tokejepsen
Copy link
Collaborator

The issue is here where when root or AVALON_PROJECTS is not set then it defaults to the examples directory.

We could query for write permission here, and failing that inform the user about what went wrong and how to fix it?

@mottosso
Copy link
Contributor Author

mottosso commented Aug 2, 2018

I expect this will be solved alongside #22 (comment) as at that point all of Avalon will reside on the local drive.

I'll push what I have so far, would be great if you were able to pick it up from there. It's got the mechanism in place and copies all dependencies, it just isn't copying the Avalon Python dependencies yet.

#53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants