Jump to content

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


laura.c

Recommended Posts

Posted

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
 

 

Posted

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.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...