Environment Variables in Storage Roots

Hi Logan,

Thanks for the additional information! I’ll check those storage roots out as well to see if it gets us any closer.

We’ve made a bit of progress and are able to get folder creation to work and upload correctly to SG, the one issue we are hitting now though is a database concurrency issue when launching DCC software from toolkit.

TankError: Could not create folders on disk. Error reported: Database concurrency problems: The path '$PROJECT_PATH\foo' is already associated with SG entity <Foo entity>. Please re-run folder creation to try again.

Getting here was done by changing the following lines to expand the path os.path.expandvars:

  • install\core\hooks\process_folder_creation.py line 118
  • install\core\python\tank\path_cache.py line 263

This error might be related to some of the information mentioned in the second link, poking around at it this week though.