Hi All,
I’m scripting an event plugin that knits a compositing render process together via 3dsmax output, to nuke, to AFX. in the OnJobFinished handler, after the 3dsmax render job has completed, I am starting a custom python script to nuke via terminal mode to update the filename in the readnode in the nukescript before submitting it as a nuke job afterwards.
Only issue i am seeing is sometimes, for unknown reasons, the nuke exe has crashes (this seems to randomly happen from time to time, i.e cant hook up a license, etc etc) The offical reason is nuke process failed to exit after 0 milliseconds
if this happens, i’d like to be able to re-call the event as most likely it is fine second time around. I don’t really need to requeue the job as the render output is fine, just re-fire the event OnJobFinished handler if this condition occurs.
Any thoughts? can I just call something like
self.OnJobFinished(job)
from with in the try/catch bracket? or do i have to use another handler. I’d like to get an idea of how to handle conditions within the plugin if im using commandline stuff that is important to the overall process
cheers,
Pete