2013-12-31 13:10:41: WARNING: Exception in CleanupDeadlineEventListener: Python Error: AttributeError : 'NotifyEventListener' object has no attribute 'Cleanup' (Python.Runtime.PythonException)
2013-12-31 13:10:41: Stack Trace:
2013-12-31 13:10:41: [' File "none", line 31, in CleanupDeadlineEventListener\n']
2013-12-31 13:10:41: (System.Exception)
2013-12-31 13:10:41: at FranticX.Scripting.PythonNetScriptEngine.HandlePythonError(Exception e)
2013-12-31 13:10:41: at FranticX.Scripting.PythonNetScriptEngine.CallFunction(String functionName, PyObject[] args)
2013-12-31 13:10:41: at Deadline.Scripting.DeadlineScriptManager.CallFunction(String scopeName, String functionName, PyObject[] args)
2013-12-31 13:10:41: at Deadline.Events.DeadlineEventPlugin.Dispose()
2013-12-31 13:10:41: [stack trace (maximumDepth=4)] FranticX.Diagnostics.Trace2.WriteStack line 0
2013-12-31 13:10:41: Deadline.Events.DeadlineEventPlugin.Dispose line 0
2013-12-31 13:10:41: Deadline.Events.DeadlineEventManager.LoadEventListeners line 0
2013-12-31 13:10:41: Deadline.Events.DeadlineEventManager.OnJobError line 0
Is NotifiyEventListener from a custom event plugin of yours? It looks like the code in the CleanupDeadlineEventListener function for the event plugin is trying to call a function that doesn’t exist.
I don’t think so. Isn’t this your notification script?
[code]
###############################################################
Imports
###############################################################
from System.Diagnostics import *
from System.IO import *
from System import TimeSpan
from Deadline.Events import *
from Deadline.Scripting import *
from FranticX.Utils import *
import re, sys
###############################################################
This is the function called by Deadline to msg a finished job.
###############################################################
def GetDeadlineEventListener():
return NotifyEventListener()
###############################################################
The Draft event listener class.
###############################################################
class NotifyEventListener (DeadlineEventListener):
def init( self ):
self.OnJobFinishedCallback += self.OnJobFinished
## This is called when the job finishes rendering.
def OnJobFinished( self, job ):
#Get all the other Draft-related KVPs
jobUser = job.JobUserName
deadlineTemp = ClientUtils.GetDeadlineTempPath()
outputDirectories = job.JobOutputDirectories
outputFilenames = job.JobOutputFileNames
ClientUtils.LogText( "Notifying Users..." )
ClientUtils.LogText( jobUser )
[/code]
That’s not ours.
Is that the entire script you posted? It doesn’t appear to do anything…