We’re having an issue with deadline event that has stopped functioning after updating to deadline client 10.3.2.1.
I know that some python code updates are required due to the update in python version - I think I’ve addressed these but even after stripping the event back to a single log entry, It doesn’t seem to run. This seems to apply on both windows and linux render nodes.
If I submit a render on a node with 10.2 deadline client - it runs fine and I see the log entry for my event in the Job Report list.
I’ve checked all the logs I can think of. E.g. deadline monitor console shows no issue reloading event plugin when I make modifications.
I’ve included the code below. Any hints for how to diagnose the problem would be much appreciated!
from Deadline.Events import DeadlineEventListener
def GetDeadlineEventListener():
return EnvTransferListener()
def CleanupDeadlineEventListener(deadlinePlugin):
deadlinePlugin.Cleanup()
class EnvTransferListener (DeadlineEventListener):
def __init__(self):
super().__init__() # Required in Deadline 10.3 and later.
self.OnJobSubmittedCallback += self.OnJobSubmitted
def Cleanup(self):
del self.OnJobSubmittedCallback
def OnJobSubmitted(self, job):
self.LogInfo("Copying env keys")