Definitely an issue here.
Here is print engine._CONTEXT_CACHE at each point along the way…
Open file…
{‘/Volumes/droid/XXXX/Assets/Information/J/JadeValleyLayoutSketchA/VisDev/Work/Photoshop/GREM_JadeValleyLayoutSketchA_MicahTest_Vd_v34.psd’: <Sgtk Context: Project: {‘type’: ‘Project’, ‘id’: 278, ‘name’: ‘Gremlins’}
Entity: {‘type’: ‘Asset’, ‘id’: 237186, ‘name’: ‘JadeValleyLayoutSketchA’}
Step: {‘type’: ‘Step’, ‘id’: 135, ‘name’: ‘VisualDevelopment’}
Task: {‘type’: ‘Task’, ‘name’: ‘VisDev’, ‘id’: 1693406}
User: {‘type’: ‘HumanUser’, ‘id’: 42, ‘name’: ‘Daniel Eaton’}
Shotgun URL: https://xxx.shotgunstudio.com/detail/Task/1693406
Additional Entities:
Source Entity: None>}
Version Up First File…
{‘/Volumes/droid/XXXX/Assets/Information/J/JadeValleyLayoutSketchA/VisDev/Work/Photoshop/GREM_JadeValleyLayoutSketchA_MicahTest_Vd_v33.psd’: <Sgtk Context: Project: {‘type’: ‘Project’, ‘id’: 278, ‘name’: ‘Gremlins’}
Entity: {‘type’: ‘Asset’, ‘id’: 237186, ‘name’: ‘JadeValleyLayoutSketchA’}
Step: {‘type’: ‘Step’, ‘id’: 135, ‘name’: ‘VisualDevelopment’}
Task: {‘type’: ‘Task’, ‘name’: ‘VisDev’, ‘id’: 1693406}
User: {‘type’: ‘HumanUser’, ‘id’: 42, ‘name’: ‘Daniel Eaton’}
Shotgun URL: https://xxx.shotgunstudio.com/detail/Task/1693406
Additional Entities:
Source Entity: None>}
Shouldn’t the CACHE be updated now?
Load Second File…
{‘/Volumes/droid/XXXX/Assets/Information/J/JadeValleyLayoutSketchA/VisDev/Work/Photoshop/GREM_JadeValleyLayoutSketchA_MicahTest_Vd_v33.psd’: <Sgtk Context: Project: {‘type’: ‘Project’, ‘id’: 278, ‘name’: ‘Gremlins’}
Entity: {‘type’: ‘Asset’, ‘id’: 237186, ‘name’: ‘JadeValleyLayoutSketchA’}
Step: {‘type’: ‘Step’, ‘id’: 135, ‘name’: ‘VisualDevelopment’}
Task: {‘type’: ‘Task’, ‘name’: ‘VisDev’, ‘id’: 1693406}
User: {‘type’: ‘HumanUser’, ‘id’: 42, ‘name’: ‘Daniel Eaton’}
Shotgun URL: https://xxx.shotgunstudio.com/detail/Task/1693406
Additional Entities:
Source Entity: None>, ‘/Volumes/droid/XXXX/Assets/Characters/T/TestA/Design/Work/Photoshop/GREM_TestA_Poses_Ca_v12.psd’: <Sgtk Context: Project: {‘type’: ‘Project’, ‘id’: 278, ‘name’: ‘Gremlins’}
Entity: {‘type’: ‘Asset’, ‘id’: 237948, ‘name’: ‘TestA’}
Step: {‘type’: ‘Step’, ‘id’: 9, ‘name’: ‘Design’}
Task: {‘type’: ‘Task’, ‘name’: ‘Turn’, ‘id’: 1871667}
User: {‘type’: ‘HumanUser’, ‘id’: 42, ‘name’: ‘Daniel Eaton’}
Shotgun URL: https://xxx.shotgunstudio.com/detail/Task/1871667
Additional Entities:
Source Entity: None>}
I can see that the context for the previously opened file if wrong. And, if I now switch back to the original file in PS, when the context switches, it is wrong (missing Task because the current path is not in the context and the engine is resolving the context based on the current path).
Now, I save (version up) the second file…
{‘/Volumes/droid/XXXX/Assets/Information/J/JadeValleyLayoutSketchA/VisDev/Work/Photoshop/GREM_JadeValleyLayoutSketchA_MicahTest_Vd_v33.psd’: <Sgtk Context: Project: {‘type’: ‘Project’, ‘id’: 278, ‘name’: ‘Gremlins’}
Entity: {‘type’: ‘Asset’, ‘id’: 237186, ‘name’: ‘JadeValleyLayoutSketchA’}
Step: {‘type’: ‘Step’, ‘id’: 135, ‘name’: ‘VisualDevelopment’}
Task: {‘type’: ‘Task’, ‘name’: ‘VisDev’, ‘id’: 1693406}
User: {‘type’: ‘HumanUser’, ‘id’: 42, ‘name’: ‘Daniel Eaton’}
Shotgun URL: https://xxx.shotgunstudio.com/detail/Task/1693406
Additional Entities:
Source Entity: None>, ‘/Volumes/droid/XXXX/Assets/Characters/T/TestA/Design/Work/Photoshop/GREM_TestA_Poses_Tn_v01.psd’: <Sgtk Context: Project: {‘type’: ‘Project’, ‘id’: 278, ‘name’: ‘Gremlins’}
Entity: {‘type’: ‘Asset’, ‘id’: 237948, ‘name’: ‘TestA’}
Step: {‘type’: ‘Step’, ‘id’: 9, ‘name’: ‘Design’}
Task: None
User: {‘type’: ‘HumanUser’, ‘id’: 42, ‘name’: ‘Daniel Eaton’}
Shotgun URL: https://xxx.shotgunstudio.com/detail/Asset/237948
Additional Entities:
Source Entity: None>, ‘/Volumes/droid/XXXX/Assets/Characters/T/TestA/Design/Work/Photoshop/GREM_TestA_Poses_Ca_v12.psd’: <Sgtk Context: Project: {‘type’: ‘Project’, ‘id’: 278, ‘name’: ‘Gremlins’}
Entity: {‘type’: ‘Asset’, ‘id’: 237948, ‘name’: ‘TestA’}
Step: {‘type’: ‘Step’, ‘id’: 9, ‘name’: ‘Design’}
Task: {‘type’: ‘Task’, ‘name’: ‘Turn’, ‘id’: 1871667}
User: {‘type’: ‘HumanUser’, ‘id’: 42, ‘name’: ‘Daniel Eaton’}
Shotgun URL: https://xxx.shotgunstudio.com/detail/Task/1871667
Additional Entities:
Source Entity: None>, ‘/Volumes/droid/XXXX/Assets/Information/J/JadeValleyLayoutSketchA/VisDev/Work/Photoshop/GREM_JadeValleyLayoutSketchA_MicahTest_Vd_v34.psd’: <Sgtk Context: Project: {‘type’: ‘Project’, ‘id’: 278, ‘name’: ‘Gremlins’}
Entity: {‘type’: ‘Asset’, ‘id’: 237186, ‘name’: ‘JadeValleyLayoutSketchA’}
Step: {‘type’: ‘Step’, ‘id’: 135, ‘name’: ‘VisualDevelopment’}
Task: None
User: {‘type’: ‘HumanUser’, ‘id’: 42, ‘name’: ‘Daniel Eaton’}
Shotgun URL: https://xxx.shotgunstudio.com/detail/Asset/237186
Additional Entities:
Source Entity: None>}
To me it seems that the _CONTEXT_CACHE is not getting updated after versioning up, so as soon as you switch between files in Photoshop the Context (Task) breaks.
At least this is what I am consistently seeing.
Daniel