Ftrack-connect-0.7.6 - Maya Publisher & custom Location don't work in batch
0

4 posts in this topic

Hi everyone,


We have an issue trying to publish assets with maya2017 batch using ftrack-connect-0.7.6 & custom location (it worked with ftrack-connect-0.7.5).  
We started to dig and we noticed that the plugin is not selecting the custom location for publishing, even if it has the highest priority. Also, it's very strange that it works in maya for the same location.

We  printed out some information when location is selected by publisher  (ftrack_connect/connector/base.py -  pickLocation() method):

Quote

MAYABATCH:

 

INFO-ftConn-0.7.6-connector.base: candidateLocation - F3dLocation 
INFO-ftConn-0.7.6-connector.base: isinstance(candidateLocation, ftrack_api.entity.location.UnmanagedLocationMixin) - False

INFO-ftConn-0.7.6-connector.base: copy files : True 
INFO-ftConn-0.7.6-connector.base: candidateLocation.accessor is not symbol.NOT_SET - False

 

Quote

MAYA:

 

INFO-ftConn-0.7.6-connector.base: candidateLocation - F3dLocation 
INFO-ftConn-0.7.6-connector.base: isinstance(candidateLocation, ftrack_api.entity.location.UnmanagedLocationMixin)  - False

INFO-ftConn-0.7.6-connector.base: copy files : True 
INFO-ftConn-0.7.6-connector.base: candidateLocation.accessor is not symbol.NOT_SET - True

We noticed that candidateLocation.accessor is not symbol.NOT_SET is different for the same location in maya and mayabatch:   False in mayabatch and True in maya. Is there anything we need to set up for our custom location ?

 

Also the list of locations is different in maya compared with what we get in mayabatch:

Quote

MAYABATCH - ftConn-0.7.6-connector.base:

List for Locations:
    ftrack.unmanaged 
    commonLocation 
    F3dLocation 
    ftrack.connect 
    RestoreLocation 
    testCamLocation 
    TestPlates 
    ftrack.review 
    ftrack.server 

 

 

MAYA  - ftConn-0.7.6-connector.base:

List for Locations:

    F3dLocation
    ftrack.unmanaged
    commonLocation
    ftrack.connect
    RestoreLocation
    testCamLocation
    TestPlates
    ftrack.review
    ftrack.server

 

Any suggestions for debugging/fixing the issue are welcome!
Thank you!

 

Best,

Laura
 

 

Share this post


Link to post
Share on other sites

Hi Laura, I'm sorry to hear you are having issues.

If the custom location gets picked up by interactive maya and it can publish correctly, should work from within a batch session as well.

Are you using the new python api to register the location or legacy ones ?
Would it be possible for you to share the code you are using to register the new location ? 
If, for privacy reasons you cannot post it here, feel free to open a ticket at support@ftrack.com and share it there.
Cheers.

L.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
0