I think you’re post has broken formatting and missing info.
Did you get the “path” attribute first before getting “local_path_windows”
Please repost your code.
Traceback (most recent call last):
File “C:\Program Files\Shotgun\Resources\Desktop\Python\bundle_cache\app_store\tk-multi-publish2\v2.6.4\python\tk_multi_publish2\api\plugins\publish_plugin_instance.py”, line 308, in _handle_plugin_error
yield
File “C:\Program Files\Shotgun\Resources\Desktop\Python\bundle_cache\app_store\tk-multi-publish2\v2.6.4\python\tk_multi_publish2\api\plugins\publish_plugin_instance.py”, line 204, in run_publish
self._hook_instance.publish(settings, item)
File “C:\Users\sreyeeshgarimella\Documents\LAM_pipeline_config_1.0.6\hooks\tk-multi-publish2\standalone\publish_file.py”, line 164, in publish
sp_script_path = tk.shotgun.find_one(‘PublishedFile’,
KeyError: ‘local_path_windows’
The publisher tool seems to be cutting that off. I’ve checked the code and it seems to be fine . I have a process that scene preps after effects files automatically. The validate goes through fine. It can’t seem to publish and fails on the publish.
I’d need to see the full lines around this snippet.
What variable are you trying to get local_path_windows from, and can you log the value of that variable before the error happens so we can see what the publishedFile dict looks like?