I’m using ShotGrid Desktop on Windows to publish a new shot version from After Effects. It validates without error, but during the publish it fails while attempting to copy the DPX files. The log shows there are extra slashes added to the file path. It only appears to do this with the path to the DPX files but not the similar path to the After Effects project file. Please see a portion of the log below:
Validation Complete. All checks passed.
Running publishing pass
Publishing: Item Summary
Publishing: Cleanup, Shot lg_blu_003
Publishing: After Effects Scene scene.v015.aep
Publishing: Publish to Shotgun
DEBUG: Work file template configured and matches file.
DEBUG: Retrieved version number via work file template.
DEBUG: Used publish template to determine the publish path: F:\work\usa\dt\04sub\shotgun_new\projects\sub_proj_3051\sequences\Lg_BLUE\lg_blu_003\Clean\publish\afx\scene.v015.aep
DEBUG: Copied work file 'F:\work\usa\dt\04sub\shotgun_new\projects\sub_proj_3051\sequences\Lg_BLUE\lg_blu_003\Clean\work\afx\scene.v015.aep' to publish file 'F:\work\usa\dt\04sub\shotgun_new\projects\sub_proj_3051\sequences\Lg_BLUE\lg_blu_003\Clean\publish\afx\scene.v015.aep'.
Registering publish...
DEBUG: Populated Publish data...
Publish registered!
DEBUG: Shotgun Publish data...
DEBUG: Publish complete!
Publishing: Render, Register & Copy Images to the Publishpath Render Queue Item #1 - lg_blu_003_A002C016_211107KN.00829488_v010 - render
Publishing: Render Render Queue Items
DEBUG: Publish complete!
Publishing: Copy Renderings to Publish Location
ERROR: Error publishing: [Errno 2] No such file or directory: 'F:\\work\\usa\\dt\\04sub\\shotgun_new\\projects\\sub_proj_3051\\sequences\\Lg_BLUE\\lg_blu_003\\Clean\\work\\images\\lg_blu_003_A002C016_211107KN.00829488_v015\\lg_blu_003_A002C016_211107KN.00829488_v015_00000.dpx'
ERROR: Error while publishing. Aborting.
ERROR: Publish Failed! For details, click here.
## I "CLICKED HERE" (FROM LINE ABOVE) AND GOT THIS ADDITIONAL INFO:
Traceback (most recent call last):
File "F:\work\usa\dt\04sub\shotgun_new\software\sub_proj_3051\install\app_store\tk-multi-publish2\v2.5.6\python\tk_multi_publish2\api\plugins\publish_plugin_instance.py", line 308, in _handle_plugin_error
yield
File "F:\work\usa\dt\04sub\shotgun_new\software\sub_proj_3051\install\app_store\tk-multi-publish2\v2.5.6\python\tk_multi_publish2\api\plugins\publish_plugin_instance.py", line 204, in run_publish
self._hook_instance.publish(settings, item)
File "F:\work\usa\dt\04sub\shotgun_new\software\sub_proj_3051\install\app_store\tk-aftereffects\v0.2.1\hooks\tk-multi-publish2\basic\copy_rendering.py", line 251, in publish
render_seq_path_template,
File "F:\work\usa\dt\04sub\shotgun_new\software\sub_proj_3051\install\app_store\tk-aftereffects\v0.2.1\hooks\tk-multi-publish2\basic\copy_rendering.py", line 657, in __iter_publishable_paths
shutil.copy2(file_path, target_path)
File "C:\Program Files\Shotgun\Python\lib\shutil.py", line 153, in copy2
copyfile(src, dst)
File "C:\Program Files\Shotgun\Python\lib\shutil.py", line 96, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: 'F:\\work\\usa\\dt\\04sub\\shotgun_new\\projects\\sub_proj_3051\\sequences\\Lg_BLUE\\lg_blu_003\\Clean\\work\\images\\lg_blu_003_A002C016_211107KN.00829488_v015\\lg_blu_003_A002C016_211107KN.00829488_v015_00000.dpx'
Please let me know what might be the cause/solution. Thank you.