AWS Thinkbox Discussion Forums

Vray DBR submission error with deadline 10.3.0.10

Hi,

I have just upgraded to Deadline 10.3.0.10 (from 10.1.20.3) and now distributed renders do not work.
I submit the renders from Max2021.3.14, Vray 5 (update 1.2), via the latest Deadline3dsmaxVRayDBRClient.mcr (copied from the 10.3.0.10 repository).

  • On the render node that the vray spawner process tries to start but then closes.
  • I get no windows firewall pop up on the render node.
  • If I leave it for a minute, I see in the system tray, dozens of attempted vray spawners shown. When I hover my mouse over them they all vanish as the OS updates the UI.
  • I get the same result if deadline launcher is manually run or run as a service.

Here is the deadline log:

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

Error

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

Error: No method matches given arguments for DeadlinePlugin.LogStdout: (<class ‘bytes’>) (Python.Runtime.PythonException)

File “C:\ProgramData\Thinkbox\Deadline10\workers\Node25\plugins\64f59d111d168029e715d334\VraySpawner.py”, line 181, in GetSpawnerLog

self.LogStdout( b"SPAWNER: " + re.sub(br’.[.]\s{4}’, b’’, lines[i], 1 ) + b"\n" )

File “C:\ProgramData\Thinkbox\Deadline10\workers\Node25\plugins\64f59d111d168029e715d334\VraySpawner.py”, line 161, in RenderTasks

spawnerLogFileLoc = self.GetSpawnerLog( spawnerLogFile, spawnerLogFileLoc )

at Python.Runtime.PythonException.ThrowLastAsClrException() in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1688438502375\work\src\runtime\PythonException.cs:line 53

at Python.Runtime.Dispatcher.TrueDispatch(Object[] args) in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1688438502375\work\src\runtime\DelegateManager.cs:line 341

at Python.Runtime.Dispatcher.Dispatch(Object[] args) in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1688438502375\work\src\runtime\DelegateManager.cs:line 208

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)

---------- Inner Stack Trace (Python.Runtime.PythonException) ----------

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

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

Type

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

RenderPluginException

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

Stack Trace

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

at Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage bgq, CancellationToken bgr)

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

at Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter ajv, CancellationToken ajw)

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

Log

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

2023-09-04 10:05:00: 0: Loading Job’s Plugin timeout is Disabled

2023-09-04 10:05:00: 0: SandboxedPlugin: Render Job As User disabled, running as current user ‘render’

2023-09-04 10:05:02: 0: Executing plugin command of type ‘Initialize Plugin’

2023-09-04 10:05:02: 0: INFO: Executing plugin script ‘C:\ProgramData\Thinkbox\Deadline10\workers\Node25\plugins\64f59d111d168029e715d334\VraySpawner.py’

2023-09-04 10:05:03: 0: INFO: Plugin execution sandbox using Python version 3

2023-09-04 10:05:03: 0: INFO: V-Ray Spawner Plugin Initializing…

2023-09-04 10:05:03: 0: INFO: About: V-Ray Spawner Plugin for Deadline

2023-09-04 10:05:03: 0: INFO: The job’s environment will be merged with the current environment before rendering

2023-09-04 10:05:03: 0: Done executing plugin command of type ‘Initialize Plugin’

2023-09-04 10:05:03: 0: Start Job timeout is disabled.

2023-09-04 10:05:03: 0: Task timeout is disabled.

2023-09-04 10:05:03: 0: Loaded job: 32527 University of Sunderland - Tender scheme 2 - Colour 2_04_GM01 - Vray Spawner Job (3ds Max 2021) (64f59d111d168029e715d334)

2023-09-04 10:05:03: 0: Executing plugin command of type ‘Start Job’

2023-09-04 10:05:03: 0: DEBUG: S3BackedCache Client is not installed.

2023-09-04 10:05:03: 0: INFO: Executing global asset transfer preload script ‘C:\ProgramData\Thinkbox\Deadline10\workers\Node25\plugins\64f59d111d168029e715d334\GlobalAssetTransferPreLoad.py’

2023-09-04 10:05:03: 0: INFO: Looking for legacy (pre-10.0.26) AWS Portal File Transfer…

2023-09-04 10:05:03: 0: INFO: Looking for legacy (pre-10.0.26) File Transfer controller in C:/Program Files/Thinkbox/S3BackedCache/bin/task.py…

2023-09-04 10:05:03: 0: INFO: Could not find legacy (pre-10.0.26) AWS Portal File Transfer.

2023-09-04 10:05:03: 0: INFO: Legacy (pre-10.0.26) AWS Portal File Transfer is not installed on the system.

2023-09-04 10:05:03: 0: INFO: Application - Version: Max2021

2023-09-04 10:05:03: 0: INFO: Executable: C:\Program Files\Autodesk\3ds Max 2021\vrayspawner2021.exe

2023-09-04 10:05:03: 0: INFO: Executable version: 5 Standalone, update 1.2

2023-09-04 10:05:03: 0: INFO: Existing DR Process: Fail On Existing Process

2023-09-04 10:05:03: 0: INFO: DR Auto Close: False

2023-09-04 10:05:03: 0: INFO: DR Close Timeout Before Render: 840 seconds

2023-09-04 10:05:03: 0: INFO: DR Close Timeout After Render: 900 seconds

2023-09-04 10:05:03: 0: Done executing plugin command of type ‘Start Job’

2023-09-04 10:05:03: 0: Plugin rendering frame(s): 1

2023-09-04 10:05:03: 0: Executing plugin command of type ‘Render Task’

2023-09-04 10:05:03: 0: INFO: DR Auto Timeout: Wait for first render: True

2023-09-04 10:05:03: 0: INFO: Starting monitored managed process VraySpawner

2023-09-04 10:05:03: 0: INFO: V-Ray Spawner/Standalone job starting…

2023-09-04 10:05:03: 0: INFO: Stdout Redirection Enabled: True

2023-09-04 10:05:03: 0: INFO: Stdout Handling Enabled: True

2023-09-04 10:05:03: 0: INFO: Popup Handling Enabled: True

2023-09-04 10:05:03: 0: INFO: QT Popup Handling Enabled: False

2023-09-04 10:05:03: 0: INFO: WindowsForms10.Window.8.app.* Popup Handling Enabled: False

2023-09-04 10:05:03: 0: INFO: Using Process Tree: True

2023-09-04 10:05:03: 0: INFO: Hiding DOS Window: True

2023-09-04 10:05:03: 0: INFO: Creating New Console: False

2023-09-04 10:05:03: 0: INFO: Running as user: render

2023-09-04 10:05:03: 0: INFO: Executable: “C:\Program Files\Autodesk\3ds Max 2021\vrayspawner2021.exe”

2023-09-04 10:05:03: 0: INFO: Argument:

2023-09-04 10:05:03: 0: INFO: Full Command: “C:\Program Files\Autodesk\3ds Max 2021\vrayspawner2021.exe”

2023-09-04 10:05:03: 0: INFO: Startup Directory: “C:\Program Files\Autodesk\3ds Max 2021”

2023-09-04 10:05:03: 0: INFO: Process Priority: BelowNormal

2023-09-04 10:05:03: 0: INFO: Process Affinity: default

2023-09-04 10:05:03: 0: INFO: Process is now running

2023-09-04 10:05:04: 0: Done executing plugin command of type ‘Render Task’

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

Details

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

Date: 09/04/2023 10:05:08

Frames: 1

Elapsed Time: 00:00:00:08

Job Submit Date: 09/04/2023 10:02:09

Job User: graham.macfarlane

Average RAM Usage: 5024288768 (5%)

Peak RAM Usage: 5024288768 (5%)

Average CPU Usage: 2%

Peak CPU Usage: 4%

Used CPU Clocks (x10^6 cycles): 9870

Total CPU Clocks (x10^6 cycles): 493489

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

Worker Information

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

Worker Name: Node25

Version: v10.3.0.10 Release (ac90e7082)

Operating System: Windows 10 Pro

Running As Service: No

Machine User: render

IP Address: 10.0.1.47

MAC Address: 3C:EC:EF:4D:27:18

CPU Architecture: x64

CPUs: 64

CPU Usage: 0%

Memory Usage: 4.7 GB / 94.7 GB (4%)

Free Disk Space: 98.169 GB

Video Card: ASPEED Graphics Family(WDDM)

Help to resolve, much appreciated!

Thanks
Graham

Looks like we’re handing our own logging code something it’s upset about. I don’t have VraySpawner on my machine, but the fix I’ve attached should work.

To install place the contents of the attached file into your DeadlineRepository10\custom\plugins\VraySpawner directory. If there are any issues and you want to roll back just delete the DeadlineRepository10\custom\plugins\VraySpawner directory you’ve just made. Use the attached VraySpawner.py file to replace the one in DeadlineRepository10\custom\plugins\VraySpawner.

VraySpawner.zip (7.8 KB)

1 Like

Thank you very much, Justin!

That seems to have done the trick! :slight_smile:

2 Likes

Thanks, had the same issue with 3dsmax 2024 and 10.3.0.10, that did the trick.
You guys should add 3dsmax version 2021-2024 to the param file so we don’t have to do it manually every time.

Hi Justin,

I just had what I guess is the same error, but with Max 2024. Will your fix above work for me as well?
FYI the error from the Monitor log was:

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

Error

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

Error: Error: V-Ray DBR: V-Ray Spawner executable does not exist: C:\Program Files\Autodesk\3ds Max 2024\vrayspawner2024.exe

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

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

And as you know that path is no longer where the vrayspawner2024.exe is located, as it is now found in C:\ProgramData\Autodesk\ApplicationPlugins\VRay3dsMax2024\bin

Ok, so I tried your fix and it didn’t work. Deadline is still looking for the spawner .exe in the wrong directory. Is there an easy way to fix this?

By default the vray spawner plugin has entries until 3dsmax 2020. At least in my deadline installs.
You have to add the newer versions in the VraySpawner.parameters file located in \deadline_repository\plugins\VraySpawner

just like this:
[VRaySpawnerExecutable_Max2024]
Type=multilinemultifilename
Label=3ds Max 2024 Spawner Executable
Category=V-Ray Spawner Executables for 3ds Max
CategoryOrder=0
CategoryIndex=7
Default=C:\ProgramData\Autodesk\ApplicationPlugins\VRay3dsMax2024\bin\vrayspawner2024.exe
Description=The path to the V-Ray Spawner executable file for 3ds Max 2024. Enter alternative paths on separate lines.

1 Like

Thanks for that information Freiraum, very useful. I’ll try that out and report back

1 Like
Privacy | Site terms | Cookie preferences