Hi everyone,
I started to create a new special pipeline configuration for freelancers. Those people, don’t have access to our network, so I created a new root name and pointed it to C:\VetorZero\work. The production pipeline configuration has the roots paths pointed to our file server.
When I try to create a new file with tk-multi-workfiles on Maya, It raises the following error:
Failed to change work area - Error during execution of MEL script: file: C:/Program files/Autodesk/Maya2019/scripts/others/setProject.mel line 332: New project location C:\VetorZero\work\Shotgun-workflow_completo\sequences\Seq_001\SH_010\ANIM\maya is not a valid directory, project not created.
Calling Procedure: setProject, in file “C:\Program Files\Shotgun\c” set project(“C:\Vetorzero\work\SHOTGUN-workflow_completo\sequences\Seq_001\SH_010\ANIM\maya”)
I realized that it created the folder C:\Vetorzero\work\SHOTGUN-workflow_completo\sequences\Seq_001\SH_010\ANIM, but it isn’t created the folder “maya” on the folder “ANIM”, so because it, that raise this error.
I was debugging the code and realized that file_action.py realized that, by context, that needed to create the “maya” directory, but the function FileAction.create_folders (ctx) created only up to the folder ANIM, as the following images show.
error.zip (1.4 MB)
After this error, if I try to create a new file again, that doesn’t result in any error, because the Shotgun was set the task context assuming that all folders have already been created, but those weren’t.
Have any of you ever had a similar error? What can I do to solve or help to solve that?
Thanks!