Houdini PDG plugin is not specified

Hi guys, I’m getting this error but i think it is due to this line

WARNING: Python version for 'PDGDeadline' plugin is not specified! Defaulting to Python 2.

Below is the full error log.

=======================================================
Error
=======================================================
Error: Global job preload script 'C:\ProgramData\Thinkbox\Deadline10\workers\CORSAIR04\plugins\667e2450ec45bf08570824e7\GlobalJobPreLoad.py': SyntaxError : ('invalid syntax', ('C:\\ProgramData\\Thinkbox\\Deadline10\\workers\\CORSAIR04\\plugins\\667e2450ec45bf08570824e7\\GlobalJobPreLoad.py', 390, 74, '            print(f">>> Setting \'PATH\' Environment to: {contents[\'PATH\']}")\n')) (FranticX.Scripting.PythonNetException)
   at Python.Runtime.Runtime.CheckExceptionOccurred()
   at Python.Runtime.PythonEngine.ModuleFromString(String name, String code, String fileName)
   at FranticX.Scripting.PythonNetScriptEngine.ExecuteFile(String scriptFile, String moduleName, Boolean optimizeCode)
   at Deadline.Plugins.PluginWrapper.d()
   at Deadline.Plugins.PluginWrapper.StartJob(String& outMessage, AbortLevel& abortLevel)

=======================================================
Type
=======================================================
RenderPluginException

=======================================================
Stack Trace
=======================================================
   at Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage bgq, CancellationToken bgr)
   at Deadline.Plugins.SandboxedPlugin.StartJob(Job job, CancellationToken cancellationToken)
   at Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter ajv, CancellationToken ajw)

=======================================================
Log
=======================================================
2024-06-28 10:47:51:  0: Loading Job's Plugin timeout is Disabled
2024-06-28 10:47:51:  0: WARNING: Python version for 'PDGDeadline' plugin is not specified! Defaulting to Python 2.
2024-06-28 10:47:51:  0: SandboxedPlugin: Render Job As User disabled, running as current user 'cum'
2024-06-28 10:47:53:  0: Executing plugin command of type 'Initialize Plugin'
2024-06-28 10:47:53:  0: INFO: Executing plugin script 'C:\ProgramData\Thinkbox\Deadline10\workers\CORSAIR04\plugins\667e2450ec45bf08570824e7\PDGDeadline.py'
2024-06-28 10:47:53:  0: INFO: Plugin execution sandbox using Python version 2
2024-06-28 10:47:53:  0: INFO: *********** PDGDeadline InitializeProcess
2024-06-28 10:47:53:  0: INFO: About: PDG Plugin for Deadline
2024-06-28 10:47:53:  0: INFO: The job's environment will be merged with the current environment before rendering
2024-06-28 10:47:53:  0: Done executing plugin command of type 'Initialize Plugin'
2024-06-28 10:47:53:  0: Start Job timeout is disabled.
2024-06-28 10:47:53:  0: Task timeout is disabled.
2024-06-28 10:47:53:  0: Loaded job: PDG->Submit cook of topnet1 in pdg_test.hip (667e2450ec45bf08570824e7)
2024-06-28 10:47:53:  0: Executing plugin command of type 'Start Job'
2024-06-28 10:47:53:  0: DEBUG: S3BackedCache Client is not installed.
2024-06-28 10:47:53:  0: INFO: Executing global asset transfer preload script 'C:\ProgramData\Thinkbox\Deadline10\workers\CORSAIR04\plugins\667e2450ec45bf08570824e7\GlobalAssetTransferPreLoad.py'
2024-06-28 10:47:53:  0: INFO: Looking for legacy (pre-10.0.26) AWS Portal File Transfer...
2024-06-28 10:47:53:  0: INFO: Looking for legacy (pre-10.0.26) File Transfer controller in C:/Program Files/Thinkbox/S3BackedCache/bin/task.py...
2024-06-28 10:47:53:  0: INFO: Could not find legacy (pre-10.0.26) AWS Portal File Transfer.
2024-06-28 10:47:53:  0: INFO: Legacy (pre-10.0.26) AWS Portal File Transfer is not installed on the system.
2024-06-28 10:47:53:  0: INFO: Executing global job preload script 'C:\ProgramData\Thinkbox\Deadline10\workers\CORSAIR04\plugins\667e2450ec45bf08570824e7\GlobalJobPreLoad.py'
2024-06-28 10:47:53:  0: Done executing plugin command of type 'Start Job'

Where can I find PDGDeadline.py and the param file? it is not in Deadline repository plugin folder

Using Houdini 19.5.640, Deadline 10.2.1.1

The PDG Plugin is built by SideFX and is included in Houdini, you can copy this to the repository but it should work without it. I’m not sure if SideFX and Thinkbox communicate on this

You do need a bit of config to use it though and there are some caveats.

Start with the doc
https://www.sidefx.com/docs/houdini/nodes/top/deadlinescheduler.html

It’s also worth checking the changelog for Deadline on the SideFX website

You should be able to grab the PDG plugin from the newer version if it fixes an issue you’re having

There’s also a few posts on the forum regarding this.