So running it in workstation mode with all the popup handlers on works fine.
self.AddPopupHandler( “FumeFX\s*$”, “Yes” ) catches the window and presses Yes and the simulation continues.
If I remove all the FumeFX popup handlers I get the Continue sim popup error, but in a way that recognizes that it exists!
0: WARNING: Detected popup dialog "FumeFX".
0: WARNING: ---- dump of dialog ----
0: WARNING: Button: &Yes
0: WARNING: Button: &No
0: WARNING: Static:
0: WARNING: Static: Stop/Continue data was found after frame 20. Do you want to proceed?
0: WARNING: ---- end dump of dialog ----
---- August 16 2011 -- 09:40 AM ----
Scheduler Thread - Render Thread 0 threw an error:
Scheduler Thread - Exception during render: An error occurred in RenderTasks(): RenderTask: Unexpected exception (Dialog popup detected: Title "FumeFX", Message "Stop/Continue data was found after frame 20. Do you want to proceed?")
When putting it back to slave mode and disabling all the fumefx popup handlers i get an error on the sim window, not the Continue Sim popup:
0: WARNING: Detected popup dialog "FumeFX Dynamics: Status".
0: WARNING: ---- dump of dialog ----
0: WARNING: Button: Hold open
0: WARNING: Button: End beep
0: WARNING: Button: Stop
0: WARNING: Button: Pause
0: WARNING: Button: Cancel
0: WARNING: msctls_progress32:
0: WARNING: Static:
0: WARNING: Static:
0: WARNING: Static:
0: WARNING: Static:
0: WARNING: ListBox:
0: WARNING: Static:
0: WARNING: Static: Elapsed:
0: WARNING: Static: Estimated:
0: WARNING: Static:
0: WARNING: ---- end dump of dialog ----
BUT the Continue Sim pop up is not handled this way, If i add back the ignore popup for the above (self.AddPopupIgnorer( “.FumeFX Dynamics:.” )) I get the same old error, no mention of a popup or its details, just this:
[code] Scheduler Thread - Render Thread 0 threw an error:
Scheduler Thread - Exception during render: An error occurred in RenderTasks(): RenderTask: Unexpected exception (Exception caught in 3ds max: – Runtime error: Default output file count (28) doesnt match expected count (80)
2011/08/16 09:34:01 INF: Loaded C:/Users/illiad/AppData/Local/Prime Focus/Deadline/slave/jobsData/Fumeline_1108090939.max
2011/08/16 09:34:01 WRN: Gamma Correction is Being Enabled
2011/08/16 09:34:01 INF: Job: C:/Users/illiad/AppData/Local/Prime Focus/Deadline/slave/jobsData/Fumeline_1108090939.max
2011/08/16 09:34:06 ERR: FumeFX: Stop/Continue data was found after frame 20. Do you want to proceed?
)
at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)
[/code]
So there must be a difference between the way its working in slave mode.