RenderPluginException during 3ds command job

Hello,

When I try to run a 3ds command job it always ends with the following error:

RenderPluginException -- Dialog popup detected: Title "MAXScript Debugger", Message "Config..."

Here is the full log:

2015-05-14 09:39:14:  Scheduler Thread - Synchronizing job auxiliary files from //nas/deadline/DeadlineRepository7\jobs\555450e12a27ce0b6c5bee4c
2015-05-14 09:39:14:  Scheduler Thread - All job files are already synchronized
2015-05-14 09:39:16:  Constructor: 3dsCmd
2015-05-14 09:39:16:  0: Start Job timeout is disabled.
2015-05-14 09:39:16:  0: Task timeout is disabled.
2015-05-14 09:39:16:  0: Loaded job: Autobus CMD task (555450e12a27ce0b6c5bee4c)
2015-05-14 09:39:16:  0: INFO: Executing plugin script C:\Users\renderbuzz\AppData\Local\Thinkbox\Deadline7\slave\XPR18019_128\plugins\555450e12a27ce0b6c5bee4c\3dsCmd.py
2015-05-14 09:39:16:  0: INFO: Sys Env Var PATH: C:\Program Files\Thinkbox\Deadline7\bin\;C:\Perl64\site\bin;C:\Perl64\bin;C:\Python27\;C:\Python27\Scripts;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Common Files\Autodesk Shared\;C:\Program Files (x86)\Autodesk\Backburner\;c:\Program Files\pfx\qube\bin\;c:\Program Files\pfx\qube\lib\;C:\Users\renderbuzz\AppData\Roaming\Python\Scripts
2015-05-14 09:39:16:  0: INFO: Sys Env Var PATH length: 760
2015-05-14 09:39:16:  0: INFO: Backburner Path(s) Found in PATH: 'C:\Program Files (x86)\Autodesk\Backburner\'
2015-05-14 09:39:16:  0: INFO: Backburner server.exe version: 2015.0.1.1688
2015-05-14 09:39:16:  0: INFO: About: 3dsCmd Plugin for Deadline
2015-05-14 09:39:16:  0: INFO: The job's environment will be merged with the current environment before rendering
2015-05-14 09:39:16:  0: Plugin rendering frame(s): 2
2015-05-14 09:39:18:  0: INFO: Stdout Handling Enabled: True
2015-05-14 09:39:18:  0: INFO: Popup Handling Enabled: True
2015-05-14 09:39:18:  0: INFO: QT Popup Handling Enabled: False
2015-05-14 09:39:18:  0: INFO: WindowsForms10.Window.8.app.* Popup Handling Enabled: False
2015-05-14 09:39:18:  0: INFO: Using Process Tree: True
2015-05-14 09:39:18:  0: INFO: Hiding DOS Window: True
2015-05-14 09:39:18:  0: INFO: Creating New Console: False
2015-05-14 09:39:18:  0: INFO: Running as user: renderbuzz
2015-05-14 09:39:18:  0: INFO: Not enforcing a build of 3dsmax because version 2014 and later is 64 bit only
2015-05-14 09:39:18:  0: INFO: Slave 3dsmaxcmd.exe version: 17.1.149.0
2015-05-14 09:39:18:  0: INFO: Slave 3dsmaxcmd.exe description: 3ds Max 2015 + servicepack_sp1
2015-05-14 09:39:18:  0: INFO: Slave 3dsmax.exe version: 17.1.149.0
2015-05-14 09:39:18:  0: INFO: Slave 3dsmax.exe description: 3ds Max 2015 + servicepack_sp1
2015-05-14 09:39:18:  0: INFO: Executable: "C:\Program Files\Autodesk\3ds Max 2015\3dsmaxcmd.exe"
2015-05-14 09:39:18:  0: INFO: Rendering to network drive
2015-05-14 09:39:18:  0: INFO: Argument: "//b_predator_ip21/Qube_test/autobus_archive_maly/autobus_archive_maly/autobus_archive.max" -v:4 -start:2 -end:2 -atmospherics:False -renderHidden:False -effects:False -useAreaLights:False -displacements:False -force2Sided:False -videoColorCheck:False -renderFields:False -skipRenderedFrames:False -outputName:"//b_predator_ip21/Qube_test/autobus.png" -gammaCorrection:false -continueOnError -rfw:1 -videopostJob:False
2015-05-14 09:39:18:  0: INFO: Startup Directory: "C:\Program Files\Autodesk\3ds Max 2015"
2015-05-14 09:39:18:  0: INFO: Process Priority: BelowNormal
2015-05-14 09:39:18:  0: INFO: Process Affinity: default
2015-05-14 09:39:18:  0: INFO: Process is now running
2015-05-14 09:39:18:  0: STDOUT: 2015-05-14 09:39:18;  Error opening scene file: "C:\Program Files\Autodesk\3ds Max 2015\\\b_predator_ip21\Qube_test\autobus_archive_maly\autobus_archive_maly\autobus_archive.max"
2015-05-14 09:39:18:  0: STDOUT: 2015-05-14 09:39:18;  1 frames initialized
2015-05-14 09:39:18:  0: STDOUT: 2015-05-14 09:39:18;  
2015-05-14 09:39:18:  0: STDOUT: Max install location: C:\Program Files\Autodesk\3ds Max 2015\
2015-05-14 09:39:18:  0: STDOUT: 2015-05-14 09:39:18;  Max file being rendered: //b_predator_ip21/Qube_test/autobus_archive_maly/autobus_archive_maly/autobus_archive.max
2015-05-14 09:39:18:  0: STDOUT: 2015-05-14 09:39:18;  Renderer: 
2015-05-14 09:39:22:  0: WARNING: Detected popup dialog "MAXScript Debugger".
2015-05-14 09:39:22:  0: WARNING: ---- dump of dialog ----
2015-05-14 09:39:22:  0: WARNING: ScrollBar: 
2015-05-14 09:39:22:  0: WARNING: Button: Command
2015-05-14 09:39:22:  0: WARNING: Edit: 
2015-05-14 09:39:22:  0: WARNING: Button: Output
2015-05-14 09:39:22:  0: WARNING: Edit: 
2015-05-14 09:39:22:  0: WARNING: Button: Break
2015-05-14 09:39:22:  0: WARNING: Button: Evaluate
2015-05-14 09:39:22:  0: WARNING: CustButton: Watch...
2015-05-14 09:39:22:  0: WARNING: Button: Run
2015-05-14 09:39:22:  0: WARNING: Button: Clear
2015-05-14 09:39:22:  0: WARNING: Button: Config...
2015-05-14 09:39:22:  0: WARNING: Button: Stop
2015-05-14 09:39:22:  0: WARNING: ---- end dump of dialog ----
2015-05-14 09:39:23:  Scheduler Thread - Render Thread 0 threw a major error: 
2015-05-14 09:39:23:  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2015-05-14 09:39:23:  Exception Details
2015-05-14 09:39:23:  RenderPluginException -- Dialog popup detected: Title "MAXScript Debugger", Message "Config..."
2015-05-14 09:39:23:     w Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)
2015-05-14 09:39:23:  RenderPluginException.Cause: JobError (2)
2015-05-14 09:39:23:  RenderPluginException.Level: Major (1)
2015-05-14 09:39:23:  RenderPluginException.HasSlaveLog: True
2015-05-14 09:39:23:  RenderPluginException.SlaveLogFileName: C:\ProgramData\Thinkbox\Deadline7\logs\deadlineslave_renderthread_0-XPR18019_128-0000.log
2015-05-14 09:39:23:  Exception.Data: ( )
2015-05-14 09:39:23:  Exception.TargetSite: Void RenderTask(System.String, Int32, Int32)
2015-05-14 09:39:23:  Exception.Source: deadline
2015-05-14 09:39:23:  Exception.HResult: -2146233088
2015-05-14 09:39:23:    Exception.StackTrace: 
2015-05-14 09:39:23:     w Deadline.Plugins.Plugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame)
2015-05-14 09:39:23:     w Deadline.Slaves.SlaveRenderThread.a(TaskLogWriter A_0)
2015-05-14 09:39:23:  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2015-05-14 09:39:25:  Scheduler Thread - Synchronizing job auxiliary files from //nas/deadline/DeadlineRepository7\jobs\555450e12a27ce0b6c5bee4c
2015-05-14 09:39:25:  Scheduler Thread - All job files are already synchronized
2015-05-14 09:39:27:  Constructor: 3dsCmd
2015-05-14 09:39:27:  0: Start Job timeout is disabled.
2015-05-14 09:39:27:  0: Task timeout is disabled.

But when i run this scene from command line it renders without any problems. As you can see I had to change paths from //b_predator_21/… to UNC format \b_predator_ip21 but I’m not sure if this is a real problem because all deadline jobs have paths in first format (or maybe not?)

"C:\Program Files\Autodesk\3ds Max 2015\3dsmaxcmd.exe" "\\b_predator_ip21/Qube_test/autobus_archive_maly/autobus_archive_maly/autobus_archive.max" -v:4 -start:2 -end:2 -atmospherics:False -renderHidden:False -effects:False -useAreaLights:False -displacements:False -force2Sided:False -videoColorCheck:False -renderFields:False -skipRenderedFrames:False -outputName:"\\b_predator_ip21/Qube_test/autobus.png" -gammaCorrection:false -continueOnError -rfw:1 -videopostJob:False

I’ve also tested this using 3dsmax Submission and everything was ok.

Any ideas what might be causing this?

Additional informations:

  • Deadline version - 7.1.0.35 R
  • Slave is running under Windows 8.1
  • 3ds max version - 2015

Regards

Hi Tomasz

I had this same error when using 3ds Max + Corona DBR and Mike gave me a modified plugin that ignore the popup. Since then I had the same issue with 3ds Command submission so I added the same line of code to the 3ds Command plugin and that fixed things for me. I’ve attached the updated plugin, backup the original and then unzip and drop the attached 3dscmd.py into this location: C:\DeadlineRepository7\plugins\3dsCmd

Basically I’ve just added this at line 137:
self.AddPopupIgnorer( “MAXScript Debugger” )

Hope that works for you!
3dsCmd.zip (7.77 KB)

Thanks for sharing that Dave!

Dave, you’re amazing. Your script works like a charm. Thank you.