AWS Thinkbox Discussion Forums

Can't render with vray in deadline10.1.9.2 Error: FailRenderException>Python.Runtime.PythonException

Hi, I just upgraded deadline from 10.0 to 10.1.92. But some workstation stop render with vray with FailRenderException error . It seems "Python.Runtime.PythonException " is happening. I tested both vray5 with max2020 and vray3.6 with max2018 but same error is happening both way. I tested with scanline render and it was fine. Are there anyone who met same thing?

And it says

ERR: [18856] [17540] [V-Ray] Could not read V-Ray environment variable “VRAY5_FOR_3DSMAX2020_MAIN”. Please re-install

so I re-installed vray but some workstaion changed but others are still don’t work.

thanks in advance,

Kei

The log is like this.

=======================================================

Error

=======================================================

Error: FailRenderException : RenderTask: Unexpected exception (Failed to open the max renderer.

2020/09/30 11:36:46 DBG: [18856] [17540] Starting network

2020/09/30 11:36:46 INF: [18856] [17540] Application started with secure mode state ‘OFF’

2020/09/30 11:36:46 INF: [18856] [17540] Product version: 3ds Max 2020 (22.0.0.757)

2020/09/30 11:36:46 DBG: [18856] [17540] ADP Initialize: Done

2020/09/30 11:36:46 INF: [18856] [17540] Data collection and use is ‘ON’. Change your participation anytime in the Help menu of 3ds Max.

2020/09/30 11:36:47 DBG: [18856] [17540] Could not find the specified file in DefaultSettingsParser::parse()

2020/09/30 11:36:59 DBG: [18856] [17540] Graphics driver requested by the user : Nitrous

2020/09/30 11:36:59 DBG: [18856] [17540] Graphics driver actually created in the viewports : null driver

2020/09/30 11:37:01 INF: [18856] [17540] Autodesk 3ds Max Security Tools is active via configuration settings

2020/09/30 11:37:01 INF: [18856] [17540] ALC Security Tool 1.0 loaded. (c:\program files\autodesk\3ds max 2020\applicationplugins\securitytools\contents\scripts\ALC_SecurityTool.ms)

2020/09/30 11:37:01 INF: [18856] [17540] CRP Security Tool 1.0 loaded. (c:\program files\autodesk\3ds max 2020\applicationplugins\securitytools\contents\scripts\CRP_SecurityTool.ms)

2020/09/30 11:37:01 INF: [18856] [17540] ADSL Security Tool 1.0 loaded. (c:\program files\autodesk\3ds max 2020\applicationplugins\securitytools\contents\scripts\ADSL_SecurityTool.ms)

2020/09/30 11:37:10 DBG: [18856] [17540] Starting network

2020/09/30 11:37:11 DBG: [18856] [17540] Calling NetRenderPreLoad

2020/09/30 11:37:11 DBG: [18856] [17540] in NetWorkerPreLoad. jobFile: ; jobname: C:\Users\render\AppData\Local\Thinkbox\Deadline10\slave\stltrender03\jobsData\5f73ef334c4933335ca3717b\maxStartup\0\deadlineStartupMax2020.max

2020/09/30 11:37:11 DBG: [18856] [17540] in Init. jobFile: ; jobname: C:\Users\render\AppData\Local\Thinkbox\Deadline10\slave\stltrender03\jobsData\5f73ef334c4933335ca3717b\maxStartup\0\deadlineStartupMax2020.max

2020/09/30 11:37:11 DBG: [18856] [17540] in Init. calling nrGetIface. jobToSend: C:\Users\render\AppData\Local\Thinkbox\Deadline10\slave\stltrender03\jobsData\5f73ef334c4933335ca3717b\maxStartup\0\deadlineStartupMax2020.max

2020/09/30 11:37:11 DBG: [18856] [17540] in NetWorkerPreLoad. curJobname: C:\Users\render\AppData\Local\Thinkbox\Deadline10\slave\stltrender03\jobsData\5f73ef334c4933335ca3717b\maxStartup\0\deadlineStartupMax2020.max; init: 0

2020/09/30 11:37:11 DBG: [18856] [17540] in NetWorkerPreLoad. calling PostInitMessageSystem()

2020/09/30 11:37:11 DBG: [18856] [17540] in NetWorkerPreLoad. srv_pid: 0

2020/09/30 11:37:11 DBG: [18856] [17540] leaving NetWorkerPreLoad. LoadLib()

2020/09/30 11:37:11 DBG: [18856] [17540] NetRenderPreLoad passed

2020/09/30 11:37:11 INF: [18856] [17540] SYSTEM: Production renderer is changed to Scanline Renderer. Previous messages are cleared.

2020/09/30 11:37:23 DBG: [18856] [17540] Interface8::LoadFromFile(C:\Users\render\AppData\Local\Thinkbox\Deadline10\slave\stltrender03\jobsData\5f73ef334c4933335ca3717b\maxStartup\0\deadlineStartupMax2020.max)

2020/09/30 11:37:23 INF: [18856] [17540] Starting to load file: C:\Users\render\AppData\Local\Thinkbox\Deadline10\slave\stltrender03\jobsData\5f73ef334c4933335ca3717b\maxStartup\0\deadlineStartupMax2020.max

2020/09/30 11:37:23 DBG: [18856] [17540] WARNING: The Populate data is missing on your system.

2020/09/30 11:37:23 INF: [18856] [17540] Done loading file: C:\Users\render\AppData\Local\Thinkbox\Deadline10\slave\stltrender03\jobsData\5f73ef334c4933335ca3717b\maxStartup\0\deadlineStartupMax2020.max

2020/09/30 11:37:24 DBG: [18856] [17540] Interface8::LoadFromFile(C:/Users/render/AppData/Local/Thinkbox/Deadline10/slave/stltrender03/jobsData/5f73ef334c4933335ca3717b/temp2020.max)

2020/09/30 11:37:24 INF: [18856] [17540] Starting to load file: C:/Users/render/AppData/Local/Thinkbox/Deadline10/slave/stltrender03/jobsData/5f73ef334c4933335ca3717b/temp2020.max

2020/09/30 11:37:24 INF: [18856] [17540] Done loading file: C:/Users/render/AppData/Local/Thinkbox/Deadline10/slave/stltrender03/jobsData/5f73ef334c4933335ca3717b/temp2020.max

2020/09/30 11:37:24 INF: [18856] [17540] SYSTEM: Production renderer is changed to V-Ray 5, hotfix 2. Previous messages are cleared.

2020/09/30 11:37:24 ERR: [18856] [17540] [V-Ray] Could not read V-Ray environment variable “VRAY5_FOR_3DSMAX2020_MAIN”. Please re-install

2020/09/30 11:37:24 INF: [18856] [17540] [V-Ray] ============================================================

2020/09/30 11:37:24 INF: [18856] [17540] [V-Ray] Console created, V-Ray 5.00.05 for x64 from Jul 28 2020, 18:06:47

2020/09/30 11:37:24 INF: [18856] [17540] [V-Ray] ============================================================

2020/09/30 11:37:24 INF: [18856] [17540] [V-Ray] Compiled with Microsoft Visual C++ compiler, version 19.12

2020/09/30 11:37:24 INF: [18856] [17540] [V-Ray] Host is 3ds Max, version 22

2020/09/30 11:37:24 INF: [18856] [17540] [V-Ray] V-Ray DLL version is 5.00.05

)

at Deadline.Plugins.DeadlinePlugin.FailRender(String message) (Python.Runtime.PythonException)

File “C:\Users\render\AppData\Local\Thinkbox\Deadline10\slave\stltrender03\plugins\5f73ef334c4933335ca3717b\3dsmax.py”, line 378, in RenderTasks

self.MyMaxController.RenderTasks()

File “C:\Users\render\AppData\Local\Thinkbox\Deadline10\slave\stltrender03\plugins\5f73ef334c4933335ca3717b\3dsmax.py”, line 1572, in RenderTasks

self.RenderFrame( frame )

File “C:\Users\render\AppData\Local\Thinkbox\Deadline10\slave\stltrender03\plugins\5f73ef334c4933335ca3717b\3dsmax.py”, line 2449, in RenderFrame

self.PollUntilComplete( not self.DisableProgressUpdateTimeout )

File “C:\Users\render\AppData\Local\Thinkbox\Deadline10\slave\stltrender03\plugins\5f73ef334c4933335ca3717b\3dsmax.py”, line 2861, in PollUntilComplete

self.Plugin.FailRender( “RenderTask: Unexpected exception (%s)” % e.Message )

at Python.Runtime.Dispatcher.Dispatch(ArrayList args)

at __FranticX_GenericDelegate0Dispatcher.Invoke()

at Deadline.Plugins.DeadlinePlugin.RenderTasks()

at Deadline.Plugins.DeadlinePlugin.DoRenderTasks()

at Deadline.Plugins.PluginWrapper.RenderTasks(Task task, String& outMessage, AbortLevel& abortLevel)

at Deadline.Plugins.PluginWrapper.RenderTasks(Task task, String& outMessage, AbortLevel& abortLevel)

=======================================================

Type

=======================================================

RenderPluginException

=======================================================

Stack Trace

=======================================================

at Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage bcw, CancellationToken bcx)

at Deadline.Plugins.SandboxedPlugin.RenderTask(Task task, CancellationToken cancellationToken)

at Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter aew, CancellationToken aex)

Just gone up from Vray next to 5 on 3ds max 2020 and now got the same issues, deadline 10.1.11.5.

It must be supported since it came out june last year?

I’ll join the club here and add I’m getting the same issue, did anyone find a resolution?

Scanline goes through but V-Ray is hit and miss sometimes, some machines problems.

Should add this issue is with 2020.0 and Vray 5.1.1 and Deadline 10.1.14.5, I’m going to try the last Security Fix Service Pack and 5.1.2 which was released yesterday.

I have a suspicion it maybe related to Corona being installed on the machines and popping up in the error log also, will update 3ds, v-ray and check ignore missing .dll’s and report back

Had to go back to 2020… because OSL is FUBAR in 2021… same issue. render errors with deadline. But we found the solution:

Restart the machine after the V-Rray installation!

We noticed that our workers on the renderfarm worked fine, because they are managed by pulse and shut down after the install. The confusing part is that Vray works fine in GUI mode inside max. the problem only appears when you didn’t restart and max ist loaded “headless”, via the deadline worker.

you are welcome :slight_smile:
cheers
Michael

1 Like
Privacy | Site terms | Cookie preferences