nixx
June 3, 2014, 6:01pm
1
I’m getting the code below when I try to render something with finalrender.
It renders without a problem locally, but doesn’t seem to want to work via deadline.
what am I missing?
=======================================================
Error
Error in StartJob: Error starting “C:\Software\Autodesk\3ds Max 2014\3dsmax.exe” in “C:\Software\Autodesk\3ds Max 2014” : The requested operation requires elevation.
(System.Exception)
at FranticX.Processes.ChildProcess.a(String A_0, String A_1, String A_2)
at FranticX.Processes.ChildProcess.Launch(String executable, String arguments, String startupDirectory)
at FranticX.Processes.ManagedProcess.Execute(Boolean waitForExit)
at FranticX.Processes.MonitoredManagedProcesses.StartMonitoredManagedProcess(String name, ManagedProcess managedProcess)
at Deadline.Plugins.ScriptPlugin.StartMonitoredManagedProcess(String name, ManagedProcess managedProcess)
at Python.Runtime.Dispatcher.TrueDispatch(ArrayList args)
at Python.Runtime.Dispatcher.Dispatch(ArrayList args)
at Deadline.Plugins.DeadlinePlugin.StartJob()
at Deadline.Plugins.ScriptPlugin.StartJob(Job job, String& outMessage, AbortLevel& abortLevel)
at Deadline.Plugins.ScriptPlugin.StartJob(Job job, String& outMessage, AbortLevel& abortLevel)
=======================================================
Type
RenderPluginException
=======================================================
Stack Trace
at Deadline.Plugins.Plugin.StartJob(Job job)
at Deadline.Slaves.SlaveRenderThread.a(TaskLogWriter A_0)
=======================================================
Full Log
0: Task timeout is disabled.
0: Loaded job: ADK_Demo21 (538e0c983cc6891cac511e56)
0: Skipping drive mapping because they have already been mapped for this job
0: INFO: Executing plugin script C:\Users\nixx\AppData\Local\Thinkbox\Deadline6\slave\HEX-I7\plugins\538e0c983cc6891cac511e56\3dsmax.py
0: INFO: About: 3dsmax Plugin for Deadline
0: INFO: The current environment will be used for rendering
0: INFO: Start Job called - starting up 3dsmax plugin
0: INFO: Sys Env Var PATH: C:\Software\Thinkbox\Deadline6\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)_Media\QuickTime\QTSystem;C:\Program Files\Common Files\Autodesk Shared;C:\Program Files (x86)\Autodesk\Backburner;C:\Program Files (x86)\Common Files\Acronis\SnapAPI;C:\Program Files\OpenVPN\bin
0: INFO: Sys Env Var PATH length: 358
0: INFO: Backburner Path(s) Found in PATH: 'C:\Program Files (x86)\Autodesk\Backburner'
0: INFO: Backburner server.exe version: 2014.0.0.1635
0: INFO: Rendering with 3dsmax version: 2014
0: INFO: Not forcing a build of 3dsmax because version 2014 and later is 64 bit only
0: INFO: Rendering with executable: C:\Software\Autodesk\3ds Max 2014\3dsmax.exe
0: INFO: Slave 3dsmax.exe version: 16.0.420.0
0: INFO: Slave 3dsmax.exe description: 3dsMax 2014 base install
0: INFO: Submitted from 3dsmax.exe version: 16.0.420.0
0: INFO: Submitted from 3dsmax.exe description: 3dsMax 2014 base install
0: INFO: Checking registry for 3dsmax language code
0: INFO: Language code string: ENU
0: INFO: Language sub directory: en-US
0: INFO: Fail on existing 3dsmax process: 0
0: INFO: Load 3dsmax timeout: 1000 seconds
0: INFO: Start job timeout: 1000 seconds
0: INFO: Progress update timeout: 8000 seconds
0: INFO: Progress update timeout disabled: 0
0: INFO: Kill ADSK WSCommCntr*.exe process: False
0: INFO: Slave mode enabled: 1
0: INFO: Silent mode enabled: 0
0: INFO: Local rendering enabled: 1
0: INFO: Running render sanity check using 3dsmaxcmd.exe
0: INFO: 3dsmaxcmd.exe exit code: 3
0: INFO: 3dsmaxcmd.exe returned: 03/06/2014 19:58:48; Error opening scene file: "C:\Software\Autodesk\3ds Max 2014"
0: INFO: Render sanity check using 3dsmaxcmd.exe completed successfully. Please ignore the ‘Error opening…’ message thrown by 3dsmaxcmd.exe above.
0: INFO: 3dsmax start up file: C:\Users\nixx\AppData\Local\Thinkbox\Deadline6\slave\HEX-I7\plugins\538e0c983cc6891cac511e56\deadlineStartupMax2014.max
0: INFO: Using user profiles: 1
0: INFO: 3dsmax user profile path: C:\Users\nixx\AppData\Local\Autodesk\3dsmax\2014 - 64bit\ENU
0: INFO: 3dsmax data path: C:\Users\nixx\AppData\Local\Autodesk\3dsMax\2014 - 64bit\ENU
0: INFO: 3dsmax ini file: C:\Users\nixx\AppData\Local\Autodesk\3dsmax\2014 - 64bit\ENU\3dsmax.ini
0: INFO: Network log file: C:\Users\nixx\AppData\Local\Autodesk\3dsmax\2014 - 64bit\ENU\Network\Max.log
0: INFO: Plugin ini file: C:\Software\Autodesk\3ds Max 2014\en-US\plugin.ini
0: INFO: Including user profile plugin ini: C:\Users\nixx\AppData\Local\Autodesk\3dsMax\2014 - 64bit\ENU\Plugin.UserSettings.ini
0: INFO: Lightning connection plugin: C:\Users\nixx\AppData\Local\Thinkbox\Deadline6\slave\HEX-I7\plugins\538e0c983cc6891cac511e56\lightning64Max2014.dlx
0: INFO: 3dsmax socket connection port: 63113
0: INFO: Setting up startup environment
0: INFO: Copying C:\Users\nixx\AppData\Local\Thinkbox\Deadline6\slave\HEX-I7\plugins\538e0c983cc6891cac511e56\lightning64Max2014.dlx to C:\Users\nixx\AppData\Local\Thinkbox\Deadline6\temp\lightning\lightning.dlx
0: INFO: Starting monitored managed process 3dsmaxProcess
0: INFO: Stdout Handling Enabled: True
0: INFO: Popup Handling Enabled: True
0: INFO: Using Process Tree: True
0: INFO: Hiding DOS Window: False
0: INFO: Creating New Console: False
0: INFO: Executable: “C:\Software\Autodesk\3ds Max 2014\3dsmax.exe”
0: INFO: Argument: -p “T:\Win8\dl.ini” -q -s “C:\Users\nixx\AppData\Local\Thinkbox\Deadline6\slave\HEX-I7\plugins\538e0c983cc6891cac511e56\deadlineStartupMax2014.max”
0: INFO: Startup Directory: “C:\Software\Autodesk\3ds Max 2014”
=======================================================
Details
Date: 06/03/2014 20:00:00
Frames: 3
Elapsed Time: 00:00:00:03
Job Submit Date: 06/03/2014 19:58:53
Job User: nixx
Average RAM Usage: 6433446400 (19%)
Peak RAM Usage: 6453166080 (19%)
Average CPU Usage: 22%
Peak CPU Usage: 32%
=======================================================
Slave Information
Slave Name: HEX-I7
Version: v6.2.0.18 R (eab066972)
Operating System: Windows 81 Pro
Machine User: nixx
IP Address: fe80::c061:25d5:9c7b:e766%22
MAC Address: 54:04:A6:3C:D7:BC
CPU Architecture: x64
CPUs: 12
CPU Usage: 22%
Memory Usage: 6.0 GB / 32.0 GB (18%)
Free Disk Space: 611.661 GB (101.131 GB on C:, 421.090 GB on D:, 89.440 GB on T:)
Video Card: NVIDIA GeForce GTX 580
Hi,
3dsMax needs to be started with Administrative rights the first time it runs. Please try either running 3ds Max as administrator (right-click on 3dsmax.exe → “Run as administrator”) or disable User Access Control (UAC) (requires reboot).
Also a couple of other things I noticed:
Your running the base version of 3dsMax 2014, which is 5 x service packs behind. I’d recommend updating to get all those Autodesk fixes…
Your running Deadline v6.2.0.18, which is quite a few versions (9 x versions to be precise) behind the now public release of v6.2.0.32.
Hope this helps!
Mike
nixx
June 3, 2014, 6:47pm
3
yeah i know, need to keep track of all new versions
but that proves challenging when busy with deadlines…
the funny thing is that i can render vray and sim fumefx with the current setup…
nixx
June 3, 2014, 8:39pm
4
ok, everything is up to date. but on my workstation/win8 machine it still gives the elevated error.
The windows 7 machines do run the job properly.
=======================================================
Error
Error in StartJob: Error starting “C:\Software\Autodesk\3ds Max 2014\3dsmax.exe” in “C:\Software\Autodesk\3ds Max 2014” : The requested operation requires elevation.
(System.Exception)
at FranticX.Processes.ChildProcess.InternalLaunch(String executable, String arguments, String startupDirectory)
at FranticX.Processes.ChildProcess.Launch(String executable, String arguments, String startupDirectory)
at FranticX.Processes.ManagedProcess.Execute(Boolean waitForExit)
at FranticX.Processes.MonitoredManagedProcesses.StartMonitoredManagedProcess(String name, ManagedProcess managedProcess)
at Deadline.Plugins.ScriptPlugin.StartMonitoredManagedProcess(String name, ManagedProcess managedProcess)
at Python.Runtime.Dispatcher.TrueDispatch(ArrayList args)
at Python.Runtime.Dispatcher.Dispatch(ArrayList args)
at Deadline.Plugins.DeadlinePlugin.StartJob()
at Deadline.Plugins.ScriptPlugin.StartJob(Job job, String& outMessage, AbortLevel& abortLevel)
at Deadline.Plugins.ScriptPlugin.StartJob(Job job, String& outMessage, AbortLevel& abortLevel)
=======================================================
Type
RenderPluginException
=======================================================
Stack Trace
at Deadline.Plugins.Plugin.StartJob(Job job)
at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask(TaskLogWriter tlw)
=======================================================
Full Log
0: Task timeout is disabled.
0: Loaded job: ADK_Demo23 (538e307c3cc68906b0dbb719)
0: Skipping Z: because it is already mapped
0: Skipping Y: because it is already mapped
0: Skipping X: because it is already mapped
0: Error mapping D: to \HEX-I7\Projects: The local device name is already in use.
0: INFO: Executing plugin script C:\Users\nixx\AppData\Local\Thinkbox\Deadline6\slave\HEX-I7\plugins\538e307c3cc68906b0dbb719\3dsmax.py
0: INFO: About: 3dsmax Plugin for Deadline
0: INFO: The current environment will be used for rendering
0: INFO: Start Job called - starting up 3dsmax plugin
0: INFO: Sys Env Var PATH: C:\Software\Thinkbox\Deadline6\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)_Media\QuickTime\QTSystem;C:\Program Files\Common Files\Autodesk Shared;C:\Program Files (x86)\Autodesk\Backburner;C:\Program Files (x86)\Common Files\Acronis\SnapAPI;C:\Program Files\OpenVPN\bin
0: INFO: Sys Env Var PATH length: 358
0: INFO: Backburner Path(s) Found in PATH: 'C:\Program Files (x86)\Autodesk\Backburner'
0: INFO: Backburner server.exe version: 2014.0.0.1635
0: INFO: Rendering with 3dsmax version: 2014
0: INFO: Not forcing a build of 3dsmax because version 2014 and later is 64 bit only
0: INFO: Rendering with executable: C:\Software\Autodesk\3ds Max 2014\3dsmax.exe
0: INFO: Slave 3dsmax.exe version: 16.5.277.0
0: INFO: Slave 3dsmax.exe description: 3dsMax 2014 + servicepack_sp5
0: INFO: Submitted from 3dsmax.exe version: 16.5.277.0
0: INFO: Submitted from 3dsmax.exe description: 3dsMax 2014 + servicepack_sp5
0: INFO: Checking registry for 3dsmax language code
0: INFO: Language code string: ENU
0: INFO: Language sub directory: en-US
0: INFO: Fail on existing 3dsmax process: 0
0: INFO: Load 3dsmax timeout: 1000 seconds
0: INFO: Start job timeout: 1000 seconds
0: INFO: Progress update timeout: 8000 seconds
0: INFO: Progress update timeout disabled: 0
0: INFO: Kill ADSK WSCommCntr*.exe process: False
0: INFO: Slave mode enabled: 1
0: INFO: Silent mode enabled: 0
0: INFO: Local rendering enabled: 1
0: INFO: Running render sanity check using 3dsmaxcmd.exe
0: INFO: 3dsmaxcmd.exe exit code: 3
0: INFO: 3dsmaxcmd.exe returned: 03/06/2014 22:36:41; Error opening scene file: "C:\Software\Autodesk\3ds Max 2014"
0: INFO: Render sanity check using 3dsmaxcmd.exe completed successfully. Please ignore the ‘Error opening…’ message thrown by 3dsmaxcmd.exe above.
0: INFO: 3dsmax start up file: C:\Users\nixx\AppData\Local\Thinkbox\Deadline6\slave\HEX-I7\plugins\538e307c3cc68906b0dbb719\deadlineStartupMax2014.max
0: INFO: Using user profiles: 1
0: INFO: 3dsmax user profile path: C:\Users\nixx\AppData\Local\Autodesk\3dsmax\2014 - 64bit\ENU
0: INFO: 3dsmax data path: C:\Users\nixx\AppData\Local\Autodesk\3dsMax\2014 - 64bit\ENU
0: INFO: 3dsmax ini file: C:\Users\nixx\AppData\Local\Autodesk\3dsmax\2014 - 64bit\ENU\3dsmax.ini
0: INFO: Network log file: C:\Users\nixx\AppData\Local\Autodesk\3dsmax\2014 - 64bit\ENU\Network\Max.log
0: INFO: Plugin ini file: C:\Software\Autodesk\3ds Max 2014\en-US\plugin.ini
0: INFO: Including user profile plugin ini: C:\Users\nixx\AppData\Local\Autodesk\3dsMax\2014 - 64bit\ENU\Plugin.UserSettings.ini
0: INFO: Lightning connection plugin: C:\Users\nixx\AppData\Local\Thinkbox\Deadline6\slave\HEX-I7\plugins\538e307c3cc68906b0dbb719\lightning64Max2014.dlx
0: INFO: 3dsmax socket connection port: 49634
0: INFO: Setting up startup environment
0: INFO: Copying C:\Users\nixx\AppData\Local\Thinkbox\Deadline6\slave\HEX-I7\plugins\538e307c3cc68906b0dbb719\lightning64Max2014.dlx to C:\Users\nixx\AppData\Local\Thinkbox\Deadline6\temp\lightning\lightning.dlx
0: INFO: Starting monitored managed process 3dsmaxProcess
0: INFO: Stdout Handling Enabled: True
0: INFO: Popup Handling Enabled: True
0: INFO: Using Process Tree: True
0: INFO: Hiding DOS Window: False
0: INFO: Creating New Console: False
0: INFO: Executable: “C:\Software\Autodesk\3ds Max 2014\3dsmax.exe”
0: INFO: Argument: -p “T:\Win8\dl.ini” -q -s “C:\Users\nixx\AppData\Local\Thinkbox\Deadline6\slave\HEX-I7\plugins\538e307c3cc68906b0dbb719\deadlineStartupMax2014.max”
0: INFO: Startup Directory: “C:\Software\Autodesk\3ds Max 2014”
=======================================================
Details
Date: 06/03/2014 22:37:52
Frames: 35
Elapsed Time: 00:00:00:04
Job Submit Date: 06/03/2014 22:32:02
Job User: nixx
Average RAM Usage: 3105219072 (10%)
Peak RAM Usage: 3123871744 (10%)
Average CPU Usage: 15%
Peak CPU Usage: 25%
=======================================================
Slave Information
Slave Name: HEX-I7
Version: v6.2.0.32 R (2563d5bc8)
Operating System: Windows 81 Pro
Machine User: nixx
IP Address: fe80::c061:25d5:9c7b:e766%22
MAC Address: 54:04:A6:3C:D7:BC
CPU Architecture: x64
CPUs: 12
CPU Usage: 15%
Memory Usage: 2.9 GB / 32.0 GB (9%)
Free Disk Space: 609.672 GB (99.905 GB on C:, 420.358 GB on D:, 89.409 GB on T:)
Video Card: NVIDIA GeForce GTX 580
Hi,
Did you try this on the machine? If it’s still not working, then I think it’s down to the non-standard software install location: “C:\Software\Autodesk” and a lack of security permissions and/or ownership in the directory structure. Probably wise to make a backup before attempting a change here. I would look at flushing the permissions and ‘ownership’ of this entire directory structure to ensure all the files (including 3dsmax.exe) have the correct permissions and can elevate themselves during start-up.
Mike
nixx
June 4, 2014, 11:33am
6
Mmmh, the odd thing only is that it does work with the Vray and any other max job.
I’ve had some fights with the win8 UAC, but besides this all works ‘normal’ now.
I think i’ll just leave it then and only render on the other machines… no wish to break stuff that is working in all other situations.
Yep, understood. My thought was not so much that 3dsmax.exe is complaining about needing elevated permission as it’s already working for Max/VRay, but rather that the FinalRender components are demanding this elevated level when the plugin is instantiated within the 3dsMax environment, but as it’s effectively running within 3dsMax, then it’s this executable which complains about access. I was hoping that running 3dsMax on your machine once “as Administrator, via the right-click menu” would sort it out for you. With regard, UAC in Win8. I understand that you can’t really turn it off completely in Win8 and lowering it’s interaction, just ends up potentially causing more problems further down the road.
I would get in touch with the Cebas guys and perhaps clarify that your version of Final Render is compatible with Win8 or is this a known issue with Final Render in Win 8?
Let us know if you find anything out!
Hope this helps!
Mike
nixx
June 4, 2014, 6:26pm
8
mmh… funny thing… just now put a vray in the queue… doesn’t work either anymore.
2 days ago was the last time I used my machine in a render with deadline and then it all worked properly.
I do recall that at some point that 3dsMax was complaining about the admin rights so I enabled start as admin again on the .exe file.
This just happened at random after a reboot. I haven’t installed anything. I might have run an anti-virus check (trendmicro - housecall) but not sure if that was before or after.
After this (yesterday) I installed the SP5 and the new deadline.
Just now after the error message I checked if 3dsmaxcmd.exe has admin rights re-enabled it and restarted the slave.
so now both 3dsmax & 3dsmaxcmd have admin rights by default (see attached), but yet it still renders with errors.
Is there another .exe that deadline uses?
----------------edit-------
problem solved… manually enabled ‘run with admin rights’ for the deadline slave/launcher solved it…
like i said before… had allot of crap with win8 UAC settings.
I really find them annoying… wish it could just be turned of as with win 7
Glad to hear it’s all sorted now.