AWS Thinkbox Discussion Forums

Maya 2017rc3 + arnold batch render

Hi Guys,

Were having some issues submitting batch renders through Maya 2017 rc3, for some reason the slave cannot find the /tmp/tmp###.tmp file.
The same setup is working fine for submitting normal maya jobs.

I also tried the maya hotfix found here: knowledge.autodesk.com/support/ … ate-3.html and still get the same issue.

2017-05-26 12:04:47: 0: INFO: Executing script: /tmp/tmp57b310dd.tmp 2017-05-26 12:04:47: 0: INFO: Waiting for script to finish 2017-05-26 12:04:47: 0: WARNING: Strict error checking on, ignoring the following unrecognized error or warning. If it is fatal, please email support@thinkboxsoftware.com with the error message. 2017-05-26 12:04:47: 0: STDOUT: Error: 2017-05-26 12:04:47: 0: WARNING: Strict error checking on, ignoring the following unrecognized error or warning. If it is fatal, please email support@thinkboxsoftware.com with the error message. 2017-05-26 12:04:47: 0: STDOUT: Error: Line 0.30: Cannot find file "/tmp/tmp57b310dd.tmp" for source statement. 2017-05-26 12:04:48: 0: STDOUT: READY FOR INPUT 2017-05-26 12:04:48: 0: INFO: Moving output files and folders from /tmp/Thinkbox/Deadline8/slave/rn11/jobsData/5927fdb1f1bcdf186476bf02/mayaOutput_tempXrGvU0 to /media/path/_test 2017-05-26 12:04:48: 0: Done executing plugin command of type 'Render Task'

As far as I can see the $checkScene code isn’t returning any value, and I made sure the correct path to the maya scene is given, and can be accessed from the slave.

I’ve attached the full log.

Help?
deadline_log.txt (9.37 KB)

My guess is that you’re using the “Run as user” feature on an older version of Deadline.

The problem there was that we weren’t modifying permissions and the root user by default creates files that are unreadable by others. Because we make that temp file before dropping down to the new user, they cannot read it.

The way we fixed this was to modify the permissions on the file before Maya tried to read it in. Can you upgrade to the latest release for whatever your major version is? I think this was fixed by the end of 7.2’s lifecycle.

Getting same error with Deadline 10.0.23.4

Blockquote
=======================================================
Log
=======================================================
2019-03-06 09:02:41: 0: Loading Job’s Plugin timeout is Disabled
2019-03-06 09:02:41: 0: INFO: Executing plugin script ‘/Scratch/Thinkbox/Deadline10/slaveData/fwx-167/plugins/5c7f3f5d16fad3080809ddee/MayaBatch.py’
2019-03-06 09:02:41: 0: INFO: About: Maya Batch Plugin for Deadline
2019-03-06 09:02:41: 0: INFO: Render Job As User enabled, running as user ‘piper’, which is defined in the User Settings for this job’s user
2019-03-06 09:02:41: 0: INFO: The current environment will be replaced with the job’s environment before rendering
2019-03-06 09:02:41: 0: Start Job timeout is disabled.
2019-03-06 09:02:41: 0: Task timeout is disabled.
2019-03-06 09:02:41: 0: Loaded job: Maya_Python_Test_011_03042019 (5c7f3f5d16fad3080809ddee)
2019-03-06 09:02:41: 0: INFO: Rendering with Maya Version 2018.0
2019-03-06 09:02:41: 0: INFO: Setting MAYA_DEBUG_ENABLE_CRASH_REPORTING environment variable to 0 for this session. Set to 1 if you need Maya debug log
2019-03-06 09:02:41: 0: INFO: Setting MAYA_DISABLE_CIP (ADSK Customer Involvement Program) environment variable to 1 for this session
2019-03-06 09:02:41: 0: INFO: Setting MAYA_DISABLE_CER (ADSK Customer Error Reporting) environment variable to 1 for this session
2019-03-06 09:02:41: 0: INFO: Setting MAYA_DISABLE_CLIC_IPM (ADSK In Product Messaging) environment variable to 1 for this session
2019-03-06 09:02:41: 0: INFO: Setting MAYA_OPENCL_IGNORE_DRIVER_VERSION environment variable to 1 for this session
2019-03-06 09:02:41: 0: INFO: Setting MAYA_VP2_DEVICE_OVERRIDE environment variable to VirtualDeviceDx11 for this session
2019-03-06 09:02:41: 0: INFO: Setting MAYA_ENABLE_LEGACY_RENDER_LAYERS environment variable to 1 for this session
2019-03-06 09:02:41: 0: INFO: Starting monitored managed process MayaBatch
2019-03-06 09:02:41: 0: INFO: Stdout Redirection Enabled: True
2019-03-06 09:02:41: 0: INFO: Asynchronous Stdout Enabled: False
2019-03-06 09:02:41: 0: INFO: Stdout Handling Enabled: True
2019-03-06 09:02:41: 0: INFO: Popup Handling Enabled: True
2019-03-06 09:02:41: 0: INFO: QT Popup Handling Enabled: False
2019-03-06 09:02:41: 0: INFO: WindowsForms10.Window.8.app.* Popup Handling Enabled: False
2019-03-06 09:02:41: 0: INFO: Using Process Tree: True
2019-03-06 09:02:41: 0: INFO: Hiding DOS Window: True
2019-03-06 09:02:41: 0: INFO: Creating New Console: False
2019-03-06 09:02:41: 0: INFO: Running as user: piper
2019-03-06 09:02:41: 0: INFO: Not enforcing a build of Maya
2019-03-06 09:02:41: 0: INFO: Executable: “/tech/apps/autodesk/apps/maya2018/bin/maya”
2019-03-06 09:02:41: 0: INFO: Argument: -prompt -proj “/fwx/prod/projects/ram/work/test/efx/maya/”
2019-03-06 09:02:41: 0: INFO: Full Command: “/tech/apps/autodesk/apps/maya2018/bin/maya” -prompt -proj “/fwx/prod/projects/ram/work/test/efx/maya/”
2019-03-06 09:02:41: 0: INFO: Startup Directory: “/tech/apps/autodesk/apps/maya2018/bin”
2019-03-06 09:02:41: 0: INFO: Process Priority: BelowNormal
2019-03-06 09:02:41: 0: INFO: Process Affinity: default
2019-03-06 09:02:41: 0: INFO: Process is now running
2019-03-06 09:02:41: 0: Plugin rendering frame(s): 2
2019-03-06 09:02:50: 0: INFO: Waiting until maya is ready to go
2019-03-06 09:02:50: 0: STDOUT: This plugin does not support createPlatformOpenGLContext!
2019-03-06 09:02:50: 0: STDOUT: Running submission script “//mnt/Repo/submission/Maya/Main/SubmitMayaToDeadline.mel”
2019-03-06 09:02:50: 0: STDOUT: libai.so already loaded
2019-03-06 09:02:50: 0: STDOUT: Result: untitled
2019-03-06 09:02:51: 0: STDOUT: READY FOR INPUT
2019-03-06 09:02:51: 0: INFO: Importing Maya Batch Utils melscript: /Scratch/Thinkbox/Deadline10/slaveData/fwx-167/plugins/5c7f3f5d16fad3080809ddee/MayaBatchUtils.mel
2019-03-06 09:02:52: 0: INFO: Waiting for Maya Batch Utils melscript to finish loading
2019-03-06 09:02:53: 0: STDOUT: READY FOR INPUT
2019-03-06 09:02:53: 0: INFO: Importing Maya Batch Functions python script: /Scratch/Thinkbox/Deadline10/slaveData/fwx-167/plugins/5c7f3f5d16fad3080809ddee/DeadlineMayaBatchFunctions.py
2019-03-06 09:02:53: 0: INFO: Waiting for Maya Batch Functions python script to finish importing
2019-03-06 09:02:53: 0: STDOUT: Result: 0
2019-03-06 09:02:54: 0: STDOUT: READY FOR INPUT
2019-03-06 09:02:54: 0: INFO: >This is a Render Job
2019-03-06 09:02:54: 0: INFO: Rendering with mayasoftware
2019-03-06 09:02:54: 0: INFO: Rendering to network drive
2019-03-06 09:02:54: 0: INFO: Creating melscript to execute render
2019-03-06 09:02:54: 0: INFO: Executing script: /tmp/tmp1e59f6d5.tmp
2019-03-06 09:02:55: 0: INFO: Waiting for script to finish
2019-03-06 09:02:55: 0: WARNING: Strict error checking on, ignoring the following unrecognized error or warning. If it is fatal, please email support@thinkboxsoftware.com with the error message.
2019-03-06 09:02:55: 0: STDOUT: Error:
2019-03-06 09:02:55: 0: WARNING: Strict error checking on, ignoring the following unrecognized error or warning. If it is fatal, please email support@thinkboxsoftware.com with the error message.
2019-03-06 09:02:55: 0: STDOUT: Error: Line 0.30: Cannot find file “/tmp/tmp1e59f6d5.tmp” for source statement.
2019-03-06 09:02:55: 0: STDOUT: READY FOR INPUT

job_info = 'Name=Maya_Python_Test_011'
           'Frames=1-5'
           'Group=efx'
           'Pool=kaiju'
           'Comment=Deadline Submission Test Via Python'
           'Priority=50'
           'InitialStatus=Suspended'
           'Protected=false'
           'OutputDirectory0={}'
           'OutputFilename0={}'
           'IncludeEnvironment=True'
           'UseJobEnvironmentOnly=True'
           'Plugin=MayaBatch'.format(output_directory, output_file_name)



plugin_info = 'Animation=1'
              'ArnoldVerbose=1'
              'Build=64bit'
              'Camera1=camera1'
              'CountRenderableCameras=1'
              'EnableOpenColorIO=0'
              'FrameNumberOffset=0'
              'IgnoreError211=0'
              'ImageWidth={}'
              'ImageHeight={}'
              'LocalRendering=0'
              'MaxProcessors=0'
              'OutputFilePath={}'
              'OutputFilePrefix={}'
              'ProjectPath={}'
              'RenderHalfFrames=0'
              'StrictErrorChecking=1'
              'UseLegacyRenderLayers=1'
              'Version=2018'.format(image_width, image_height, output_file_path, output_file_prefix, project_path)
Privacy | Site terms | Cookie preferences