[RESOLVED] 3ds Max 2020 / Deadline - RenderPluginException (repost)

Deadline 10.3
3ds Max 2020.2
Redshift 3.5.17

We are setting up a few devices to render with Deadline and seeing the following errors. Could you please advise?

=======================================================
Error
=======================================================
The Deadline Plugin was not properly initialized. Application plugins must explicitly call `super().__init__()` in the Python constructor: `def __init__()`.

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

=======================================================
Stack Trace
=======================================================
   at Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage bgq, CancellationToken bgr)
   at Deadline.Plugins.SandboxedPlugin.Initialize(Job job, CancellationToken cancellationToken)
   at Deadline.Slaves.SlaveRenderThread.e(String ajx, Job ajy, CancellationToken ajz)
   at Deadline.Slaves.SlaveRenderThread.b(TaskLogWriter ajt, CancellationToken aju)

=======================================================
Log
=======================================================
2023-09-20 19:52:25:  0: Loading Job's Plugin timeout is Disabled
2023-09-20 19:52:25:  0: SandboxedPlugin: Render Job As User disabled, running as current user 'NAME'
2023-09-20 19:52:28:  0: Executing plugin command of type 'Initialize Plugin'
2023-09-20 19:52:28:  0: INFO: Executing plugin script 'C:\ProgramData\Thinkbox\Deadline10\workers\NAME\plugins\HASH\3dsmax.py'
2023-09-20 19:52:28:  0: INFO: Plugin execution sandbox using Python version 3
2023-09-20 19:52:28:  0: Encountered an error while executing plugin command of type 'Initialize Plugin'
2023-09-20 19:52:28:  0: Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
2023-09-20 19:52:28:  0:    at Deadline.Plugins.DeadlinePlugin.CancelTask()
2023-09-20 19:52:28:  0:    at Deadline.Plugins.PluginWrapper.CancelTask()
2023-09-20 19:52:28:  0:    at Deadline.Slaves.CommandListener.e(String aio)
2023-09-20 19:52:28:  0:    at Deadline.Slaves.CommandListener.d(Object ain)
2023-09-20 19:52:28:  0:    at Deadline.Slaves.CommandListener.b(DeadlineMessage ail, Exception aim)
2023-09-20 19:52:28:  0:    at Deadline.Net.DeadlineMessageUtils.a.a(IAsyncResult bhp)
2023-09-20 19:52:28:  0:    at System.Threading.Tasks.TaskToApm.TaskAsyncResult.InvokeCallback()
2023-09-20 19:52:28:  0:    at System.Threading.Tasks.AwaitTaskContinuation.<>c.<.cctor>b__17_0(Object state)
2023-09-20 19:52:28:  0:    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
2023-09-20 19:52:28:  0: --- End of stack trace from previous location ---
2023-09-20 19:52:28:  0:    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
2023-09-20 19:52:28:  0:    at System.Threading.Tasks.AwaitTaskContinuation.RunCallback(ContextCallback callback, Object state, Task& currentTask)
2023-09-20 19:52:28:  0: --- End of stack trace from previous location ---
2023-09-20 19:52:28:  0:    at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
2023-09-20 19:52:28:  0:    at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
2023-09-20 19:52:28:  0:    at System.Threading.ThreadPoolWorkQueue.Dispatch()
2023-09-20 19:52:28:  0:    at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
2023-09-20 19:52:28:  0:    at System.Threading.Thread.StartCallback()

It’s because the server machine has Deadline 10.2 installed, but the workstation submitting jobs is on 10.3, and since 10.3 super_init_ is required

Deadline 10.3.0.9 upgraded the Python to 3.10 and no longer includes support for Python 2 and Python 3.7. Any Deadline events plugins,scripts, or application plugins that require anything older than Python 3.10 will not work in Deadline 10.3.
We have a KBA article on how your can patch the Custom Plugins to run with Deadline 10.3.0.9.

Hey Karpreet, would you mind taking a look at my other thread regarding Tile Rendering, we need some help with this