For episode shows, I’d like the shots to be organized like this:
For example: /project/shots/e01/sq01/0010/
And, using the same config, for non-episodic shows (defined by sequences that have no episode in the ‘episode’ field), I’d like the shots to be organized like this:
For example: /project/shots/sq01/0010/
In templates.yml I have the following for shot root:
And I have the corresponding yml files in schema set up appropriately. Specifically, in /shots/sequence.yml
On the network, this creates all the folders fine. But I’ve been getting this error when running “Create Folders” from the web, or when “Create Folders” is run from launching a toolkit integration:
File "C:\Users\stavernia\AppData\Roaming\Shotgun\pi\p328c47.basic.shotgun\cfg\install\core\python\tank\path_cache.py", line 1287, in _add_db_mapping if self._is_path_in_db(path, entity["type"], entity["id"], cursor): TypeError: 'NoneType' object has no attribute 'getitem'
Full error log is attached. It seems the error is happening after folders are created on disk, but before or during Filesystem Location creation. This error does not happen if I attach an episode to the sequence attached to the shot.
Any thoughts on what the issue is here?