Image Publisher Error

Hello,

I am getting this error out of nowhere. The same scene file was working yesterday night, and this morning I got this when trying to publish the same publishing, from the same PC, to the same farm.

Any idea?


Traceback (most recent call last):
  File "C:\Users\admin\AppData\Local\Ynput\AYON\dependency_packages\ayon_2411151105_windows.zip\dependencies\pyblish\plugin.py", line 528, in __explicit_process
    runner(*args)
  File "C:\Users\admin\AppData\Local\Ynput\AYON\addons\deadline_0.5.10\ayon_deadline\plugins\publish\global\submit_publish_job.py", line 396, in process
    metadata_path, rootless_metadata_path = create_metadata_path(
                                            ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\admin\AppData\Local\Ynput\AYON\addons\core_1.2.0\ayon_core\pipeline\farm\pyblish_functions.py", line 1412, in create_metadata_path
    "publishRenderMetadataFolder", ins_data["outputDir"])
                                   ~~~~~~~~^^^^^^^^^^^^^
KeyError: 'outputDir'
  1. Could you share the full publish JSON report please?

  2. From which DCC are you submitting? The outputDir is usually set by the Deadline submission plug-in, e.g in Maya or Houdini.

publish-report-250521-10-30.json (356.7 KB)

That’s from houdini 20.5.550.

Thanks!

So if you go to Details > Crashed Plugins you’ll see that the C:\Users\admin\AppData\Local\Ynput\AYON\addons\deadline_0.5.10\ayon_deadline\plugins\publish\houdini\submit_houdini_render_deadline.py file failed to load due to an error:

File "C:\Users\admin\AppData\Local\Ynput\AYON\addons\deadline_0.5.10\ayon_deadline\plugins\publish\houdini\submit_houdini_render_deadline.py", line 148
instance = self._instance
^^^^^^^^
IndentationError: expected an indented block after function definition on line 146

Did you edit/touch that file yourself perhaps? You seem to have broken that file.

In short, basically the full Submit Houdini Render logic is not running for you because it can’t load the Python file.

You were right. I grabbed the submitter from another machine and it is now working again. Oddly enough, I didn’t touch the python script at all, not sure why it stopped working.
Thanks Roy!