laura.c Posted October 8, 2018 Report Posted October 8, 2018 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
Lorenzo Angeli Posted October 8, 2018 Report Posted October 8, 2018 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.
laura.c Posted October 8, 2018 Author Report Posted October 8, 2018 Hi Lorenzo, Thanks for your reply. We are using the legacy api for defining locations and I've sent them per email. Best, Laura
Lorenzo Angeli Posted October 8, 2018 Report Posted October 8, 2018 Thanks Laura, we'll be having a look and get back to you. If you are using legacy api thought I would suggest start looking on how to port it over the new api code. You can find a good example here:https://bitbucket.org/ftrack/ftrack-example-location Cheers. L.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.