AWS Thinkbox Discussion Forums

Submitting maya file to deadline monitor

=======================================================
Error

Error: AttributeError : ‘StringBuilder’ object has no attribute ‘AppendJoin’ (Python.Runtime.PythonException)
File “C:\Users\Vignesh\AppData\Local\Thinkbox\Deadline10\slave\Sun12\plugins\5e1566d5d6f012375896835d\MayaBatch.py”, line 1151, in RenderTasks
self.CreateDelayLoadSceneMelscript( scriptBuilder )
File “C:\Users\Vignesh\AppData\Local\Thinkbox\Deadline10\slave\Sun12\plugins\5e1566d5d6f012375896835d\MayaBatch.py”, line 1301, in CreateDelayLoadSceneMelscript
scriptBuilder.AppendJoin( “\n”, self.build_dirmap_commands() )

at Deadline.Plugins.PluginWrapper.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)

=======================================================
Type

RenderPluginException

=======================================================
Stack Trace

at Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage azg)
at Deadline.Plugins.SandboxedPlugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame)
at Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter adq)

=======================================================
Log

2020-01-07 21:22:28: 0: Loading Job’s Plugin timeout is Disabled
2020-01-07 21:22:30: 0: Executing plugin command of type ‘Sync Files for Job’
2020-01-07 21:22:32: 0: Synchronization time for job files: 1.797 s
2020-01-07 21:22:33: 0: Synchronizing Plugin MayaBatch from //172.31.0.222/DeadlineRepository10\plugins\MayaBatch took: 0 seconds
2020-01-07 21:22:33: 0: Done executing plugin command of type ‘Sync Files for Job’
2020-01-07 21:22:33: 0: Executing plugin command of type ‘Initialize Plugin’
2020-01-07 21:22:34: 0: INFO: Executing plugin script ‘C:\Users\Vignesh\AppData\Local\Thinkbox\Deadline10\slave\Sun12\plugins\5e1566d5d6f012375896835d\MayaBatch.py’
2020-01-07 21:22:34: 0: INFO: About: Maya Batch Plugin for Deadline
2020-01-07 21:22:34: 0: INFO: Render Job As User disabled, running as current user ‘vignesh’
2020-01-07 21:22:34: 0: INFO: The job’s environment will be merged with the current environment before rendering
2020-01-07 21:22:34: 0: Done executing plugin command of type ‘Initialize Plugin’
2020-01-07 21:22:34: 0: Start Job timeout is disabled.
2020-01-07 21:22:34: 0: Task timeout is disabled.
2020-01-07 21:22:34: 0: Loaded job: B475_SH01.ma (5e1566d5d6f012375896835d)
2020-01-07 21:22:34: 0: Executing plugin command of type ‘Start Job’
2020-01-07 21:22:34: 0: DEBUG: S3BackedCache Client is not installed.
2020-01-07 21:22:34: 0: INFO: Executing global asset transfer preload script ‘C:\Users\Vignesh\AppData\Local\Thinkbox\Deadline10\slave\Sun12\plugins\5e1566d5d6f012375896835d\GlobalAssetTransferPreLoad.py’
2020-01-07 21:22:34: 0: INFO: Looking for legacy (pre-10.0.26) AWS Portal File Transfer…
2020-01-07 21:22:34: 0: INFO: Looking for legacy (pre-10.0.26) File Transfer controller in C:/Program Files/Thinkbox/S3BackedCache/bin/task.py…
2020-01-07 21:22:34: 0: INFO: Could not find legacy (pre-10.0.26) AWS Portal File Transfer.
2020-01-07 21:22:34: 0: INFO: Legacy (pre-10.0.26) AWS Portal File Transfer is not installed on the system.
2020-01-07 21:22:34: 0: INFO: Rendering with Maya Version 2018.0
2020-01-07 21:22:34: 0: INFO: Setting MAYA_DEBUG_ENABLE_CRASH_REPORTING environment variable to 0 for this session
2020-01-07 21:22:34: 0: INFO: Setting MAYA_DISABLE_CIP (ADSK Customer Involvement Program) environment variable to 1 for this session
2020-01-07 21:22:34: 0: INFO: Setting MAYA_DISABLE_CER (ADSK Customer Error Reporting) environment variable to 1 for this session
2020-01-07 21:22:34: 0: INFO: Setting MAYA_DISABLE_CLIC_IPM (ADSK In Product Messaging) environment variable to 1 for this session
2020-01-07 21:22:34: 0: INFO: Setting MAYA_OPENCL_IGNORE_DRIVER_VERSION environment variable to 1 for this session
2020-01-07 21:22:34: 0: INFO: Setting MAYA_VP2_DEVICE_OVERRIDE environment variable to VirtualDeviceDx11 for this session
2020-01-07 21:22:34: 0: INFO: Setting MAYA_RENDER_SETUP_INCLUDE_ALL_LIGHTS environment variable to 1 for this session
2020-01-07 21:22:34: 0: INFO: Setting MAYA_ENABLE_LEGACY_RENDER_LAYERS environment variable to 0 for this session
2020-01-07 21:22:34: 0: INFO: Not enforcing a build of Maya
2020-01-07 21:22:34: 0: INFO: Setting PYTHONHOME environment variable to C:\Program Files\Autodesk\Maya2018\Python for this session
2020-01-07 21:22:34: 0: INFO: Starting monitored managed process MayaBatch
2020-01-07 21:22:34: 0: INFO: Stdout Redirection Enabled: True
2020-01-07 21:22:34: 0: INFO: Stdout Handling Enabled: True
2020-01-07 21:22:34: 0: INFO: Popup Handling Enabled: True
2020-01-07 21:22:34: 0: INFO: QT Popup Handling Enabled: False
2020-01-07 21:22:34: 0: INFO: WindowsForms10.Window.8.app.* Popup Handling Enabled: False
2020-01-07 21:22:34: 0: INFO: Using Process Tree: True
2020-01-07 21:22:34: 0: INFO: Hiding DOS Window: True
2020-01-07 21:22:34: 0: INFO: Creating New Console: False
2020-01-07 21:22:34: 0: INFO: Running as user: vignesh
2020-01-07 21:22:34: 0: INFO: Not enforcing a build of Maya
2020-01-07 21:22:34: 0: INFO: Executable: “C:\Program Files\Autodesk\Maya2018\bin\MayaBatch.exe”
2020-01-07 21:22:34: 0: INFO: Argument: -prompt -proj “//vdtbackupserver/Render_2year_leassons/FirstYear_Rewamp/Biochemistry/B475_maya”
2020-01-07 21:22:34: 0: INFO: Full Command: “C:\Program Files\Autodesk\Maya2018\bin\MayaBatch.exe” -prompt -proj “//vdtbackupserver/Render_2year_leassons/FirstYear_Rewamp/Biochemistry/B475_maya”
2020-01-07 21:22:34: 0: INFO: Startup Directory: “C:\Program Files\Autodesk\Maya2018\bin”
2020-01-07 21:22:34: 0: INFO: Process Priority: BelowNormal
2020-01-07 21:22:34: 0: INFO: Process Affinity: default
2020-01-07 21:22:34: 0: INFO: Process is now running
2020-01-07 21:22:34: 0: Done executing plugin command of type ‘Start Job’
2020-01-07 21:22:34: 0: Plugin rendering frame(s): 1
2020-01-07 21:22:35: 0: Executing plugin command of type ‘Render Task’
2020-01-07 21:22:35: 0: INFO: Waiting until maya is ready to go
2020-01-07 21:22:40: 0: STDOUT: VP2 Warning : OpenGL is not supported when running Maya via a remote session, switch to DX11.
2020-01-07 21:22:40: 0: STDOUT: VP2 Warning : OpenGL is not supported when running Maya via a remote session, switch to DX11.
2020-01-07 21:22:40: 0: STDOUT: VP2 Warning : OpenGL is not supported when running Maya via a remote session, switch to DX11.
2020-01-07 21:22:40: 0: STDOUT: VP2 Warning : Graphics hardware has been detected to have insufficient memory (0 MB).
2020-01-07 21:22:40: 0: STDOUT: Please check your video card and driver to ensure that a minimum amount of memory exists (512 MB).
2020-01-07 21:22:40: 0: STDOUT: The environment variable MAYA_OGS_GPU_MEMORY_LIMIT can be used to explicitly set the GPU memory limit.
2020-01-07 21:22:40: 0: STDOUT: Initialized VP2.0 renderer {
2020-01-07 21:22:40: 0: STDOUT: Version : 2016.11.40.12. Feature Level 5.
2020-01-07 21:22:40: 0: STDOUT: Adapter :
2020-01-07 21:22:40: 0: STDOUT: Vendor ID: 0. Device ID :
2020-01-07 21:22:40: 0: STDOUT: Driver : .
2020-01-07 21:22:40: 0: STDOUT: API : DirectX V.11. Using software WARP device due to failure to obtain a hardware device
2020-01-07 21:22:40: 0: STDOUT: Max texture size : 16384 * 16384.
2020-01-07 21:22:40: 0: STDOUT: Max tex coords : 32
2020-01-07 21:22:40: 0: STDOUT: Shader versions supported (Vertex: 5, Geometry: 5, Pixel 5).
2020-01-07 21:22:40: 0: STDOUT: Active stereo support available : 0
2020-01-07 21:22:40: 0: STDOUT: Forced GPU Memory Limit : 2047 MB.
2020-01-07 21:22:40: 0: STDOUT: CPU Memory Limit: 31096.6 MB.
2020-01-07 21:22:41: 0: STDOUT: }
2020-01-07 21:22:41: 0: STDOUT: OpenCL evaluator is attempting to initialize OpenCL.
2020-01-07 21:22:41: 0: STDOUT: OpenCL evaluator failed to initialize clew.
2020-01-07 21:22:42: 0: STDOUT: ###############################################################################
2020-01-07 21:22:42: 0: STDOUT: Begin attempted read of a shade fragment XML file.
2020-01-07 21:22:42: 0: STDOUT: Attempting to read fragment XML code from: aiRectangleAreaLight.xml
2020-01-07 21:22:42: 0: STDOUT: Errors loading XML:
2020-01-07 21:22:42: 0: STDOUT: -------------------------------------------------------------------------------
2020-01-07 21:22:42: 0: STDOUT: Could not find file: aiRectangleAreaLight.xml
2020-01-07 21:22:42: 0: STDOUT: -------------------------------------------------------------------------------
2020-01-07 21:22:42: 0: STDOUT: End attempted read of fragment XML.
2020-01-07 21:22:42: 0: STDOUT: ###############################################################################
2020-01-07 21:22:47: 0: STDOUT: Result: untitled
2020-01-07 21:22:47: 0: STDOUT: mel: READY FOR INPUT
2020-01-07 21:22:47: 0: INFO: Importing Maya Batch Utils melscript: C:\Users\Vignesh\AppData\Local\Thinkbox\Deadline10\slave\Sun12\plugins\5e1566d5d6f012375896835d\MayaBatchUtils.mel
2020-01-07 21:22:48: 0: INFO: Waiting for Maya Batch Utils melscript to finish loading
2020-01-07 21:22:48: 0: STDOUT: mel: mel: READY FOR INPUT
2020-01-07 21:22:49: 0: INFO: Importing Maya Batch Functions python script: C:\Users\Vignesh\AppData\Local\Thinkbox\Deadline10\slave\Sun12\plugins\5e1566d5d6f012375896835d\DeadlineMayaBatchFunctions.py
2020-01-07 21:22:49: 0: INFO: Waiting for Maya Batch Functions python script to finish importing
2020-01-07 21:22:49: 0: STDOUT: mel: Result: 0
2020-01-07 21:22:50: 0: STDOUT: mel: READY FOR INPUT
2020-01-07 21:22:50: 0: INFO: >This is a Render Job
2020-01-07 21:22:50: 0: INFO: Rendering with file
2020-01-07 21:22:50: 0: INFO: Rendering to local drive, will copy files and folders to final location after render is complete
2020-01-07 21:22:50: 0: INFO: Creating melscript to execute render
2020-01-07 21:22:50: 0: Done executing plugin command of type ‘Render Task’

=======================================================
Details

Date: 01/07/2020 21:22:53
Frames: 1
Elapsed Time: 00:00:00:25
Job Submit Date: 01/07/2020 21:21:25
Job User: vignesh
Average RAM Usage: 2985181952 (9%)
Peak RAM Usage: 3537981440 (11%)
Average CPU Usage: 5%
Peak CPU Usage: 19%
Used CPU Clocks (x10^6 cycles): 71854
Total CPU Clocks (x10^6 cycles): 1437076

=======================================================
Slave Information

Slave Name: Sun12
Version: v10.0.28.2 Release (31a4a2e50)
Operating System: Windows 10 Pro
Running As Service: No
Machine User: vignesh
IP Address: 172.31.0.58
MAC Address: B4:B5:2F:6F:5F:E0
CPU Architecture: x64
CPUs: 32
CPU Usage: 6%
Memory Usage: 3.3 GB / 32.0 GB (10%)
Free Disk Space: 218.090 GB
Video Card: Microsoft Remote Display Adapter

Hey @Vignesh

Sorry for the super delayed response here. But if you are still stuck, and for others with this issue:

AppendJoin doesnt work in the .Net Framework in the version we used to ship before (in Deadline <=10.0). The newer versions use .Net Core which does support it.
What version of Repository are you running? If you are connecting to a newer version, please upgrade your clients as well.

Regards,
Kavi

Privacy | Site terms | Cookie preferences