Nikolay Skolkov Posted September 21, 2023 Report Share Posted September 21, 2023 hi ! I have studio centralized storage scenario and point all mounts according to OS i.e. /mnt/projects for linux and UNC path for windows as //servername/projects artist works under windows and when one publishes cache it gets path like \\servername\projects\path\to\asset\v001\cache.abc but houdini can not load an asset with such backslashes in path - it needs to be forward slashes like "/" ... how can I fix it ? where can I find a script which reads all project locations and converts it according to OS it runs under.... I have managed to fix a problem just editing houdini asset loader script. but I don't think it is the best way....because problem lays a bit deeper... thanx Link to comment Share on other sites More sharing options...
Lorenzo Angeli Posted September 21, 2023 Report Share Posted September 21, 2023 Hi @Nikolay Skolkov The script which resolves the path lives in ftrack-connect under hooks with the name of resolver.py. That said, all the script does is to query the location for the resource identifier and use that. You could try to modify the resolver and relace the \ with / depending on the OS which triggers it. Hope it helps. L. P.s For windows mountpoints I usually suggest to set an actual mount on the machine such as G://projects as it cause less issues. Link to comment Share on other sites More sharing options...
Nikolay Skolkov Posted September 21, 2023 Author Report Share Posted September 21, 2023 thanx Lorenzo ! but it also seems like just patch ... but actually it is strange why it sets "\" slashes in path though I typed "/" in my storage scenario config on ftrack web page Seems like it converts all / to \ globally for windows not taking into account if it is letter-mounted network drive or UNC path..... Link to comment Share on other sites More sharing options...
Lorenzo Angeli Posted September 21, 2023 Report Share Posted September 21, 2023 That's I believe is done in the Location structure plugin itself. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now