[C4D] Job Not Starting

Hello,

I’ve submitted a ticket for this but hoping someone on the forums here will be able to help me as well. I’m having some issues getting jobs to actually start rendering on our render farm. The two Cinema 4D files I’m using render fine locally so I know it’s not the files themselves. I’m trying to render from a Mac Pro to our Windows render farm and have made sure that there is parity in terms of app versions, plugins, and the deadline version. I worked through a few licensing errors but now I’m stuck as I’m not sure what the error I’m getting now is point to as the problem. I have the error log attached.

If anyone has any insight and can point me in the right direction I’d greatly appreciate it. Please let me know if I should provide anything else.

Deadline Error.txt.zip (7.1 KB)

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

Error: FailRenderException : RenderTask: Unexpected exception (Unable to Load Scene)
at Deadline.Plugins.DeadlinePlugin.FailRender(String message) (Python.Runtime.PythonException)
File “C:\ProgramData\Thinkbox\Deadline10\workers\RenderFarm\plugins\630d102fa5df56066031fc50\Cinema4DBatch.py”, line 63, in StartJob
self.MyCinema4DController.StartCinema4D()
File “C:\ProgramData\Thinkbox\Deadline10\workers\RenderFarm\plugins\630d102fa5df56066031fc50\Cinema4DBatch.py”, line 293, in StartCinema4D
self.Plugin.LogInfo( self.PollUntilComplete( False ) )
File “C:\ProgramData\Thinkbox\Deadline10\workers\RenderFarm\plugins\630d102fa5df56066031fc50\Cinema4DBatch.py”, line 959, 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.StartJob()
at Deadline.Plugins.DeadlinePlugin.DoStartJob()
at Deadline.Plugins.PluginWrapper.StartJob(String& outMessage, AbortLevel& abortLevel)
at Deadline.Plugins.PluginWrapper.StartJob(String& outMessage, AbortLevel& abortLevel)

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

RenderPluginException

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

at Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage bgj, CancellationToken bgk)
at Deadline.Plugins.SandboxedPlugin.StartJob(Job job, CancellationToken cancellationToken)
at Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter ajq, CancellationToken ajr)

Did you set up path translation from OSX to Windows?
https://docs.thinkboxsoftware.com/products/deadline/10.1/1_User%20Manual/manual/cross-platform.html

The failed to load scene error makes me think it’s not finding the scene

Error: FailRenderException : RenderTask: Unexpected exception (Unable to Load Scene)

Which renderer are you using, is it licensed with the CLR (Command Line Render)

Are you able to render the job on the OSX machine with Deadline?

1 Like

Hi Anthony,

Thanks for the reply! I’m using Octane to render. Both Octane and C4D are licensed through CLR (had a headache getting that to work). I had not yet setup the path translations when I posted. I did set that up and was able to get my file to render, but only once. I can see in the logs that it translated the path properly but when I send the same job again (with the same settings), it’s not translating the path. I can’t, for the life of me, figure out why the path mapping isn’t taking anymore.

I have the file hosted where the Deadline Repository is installed so I know it’s accessible to both the Mac Pro (worker) and the Render Farm. I have a quick breakdown on how everything is mapped on the machines themselves:

  • Render Farm (Windows): Repository mapped to D:\
  • Mac Pro: Repository mapped to /Volumes/DeadlineRepository10/

The below screenshot is the Path Mapping Rule that worked for me initially but isn’t anymore, followed by the log entry from the successful render showing that it translated the path properly.

2022-08-30_19-02-52

2022-08-30 17:30:56: 0: INFO: Connected to Cinema 4D
2022-08-30 17:30:56: 0: STDOUT: msg: set thread number to 8
2022-08-30 17:30:57: 0: INFO: Set Verbose to True
2022-08-30 17:30:57: 0: STDOUT: Loading Scene: D:\TEST RENDER\RenderTest_Packaging.c4d
2022-08-30 17:31:06: 0: INFO: Loaded Scene

I have the failed render log entries below where it’s not translating the path anymore for some reason even though I have it defined.

2022-08-30 19:09:05: 0: INFO: Connected to Cinema 4D
2022-08-30 19:09:06: 0: INFO: Set Verbose to True
2022-08-30 19:09:06: 0: STDOUT: Loading Scene: \Volumes\DeadlineRepository10\TEST RENDER\RenderTest_Packaging.c4d
2022-08-30 19:09:08: 0: STDOUT: Failed to Load File: \Volumes\DeadlineRepository10\TEST RENDER\RenderTest_Packaging.c4d
2022-08-30 19:09:08: 0: Done executing plugin command of type ‘Start Job’

I’m not sure if this is a bug but I have the full logs attached for each the failed and successful renders. Any other insight would be greatly appreciated! Thanks!

Render Logs.zip (17.8 KB)

octane is always a struggle, I think it bundles in all versions and you’re supposed to delete the unused versions, the logs show fails for R21, R23, S22, S24

It also shows you may have a version mismatch
wrong binary version 21014, expected 25004

Error loading file:///C:/Program Files/Maxon Cinema 4D R26/plugins/c4doctane/c4dOctane-R21.xdl64 has wrong binary version 21014, expected 25004. [win_dll.cpp(442)] [general.cpp(485)]
Error loading file:///C:/Program Files/Maxon Cinema 4D R26/plugins/c4doctane/c4dOctane-R23.xdl64: file:///C:/Program Files/Maxon Cinema 4D R26/plugins/c4doctane/c4dOctane-R23.xdl64 has wrong binary version 23004, expected 25004. [win_dll.cpp(442)] [general.cpp(485)]

This maybe irrelevant to the problem anyhow as it renders

The real issue is the path mapping, on the successful job it correctly translates
Loading Scene: D:\TEST RENDER\RenderTest_Packaging.c4d
on the failed job it does not
Loading Scene: \\Volumes\DeadlineRepository10\TEST RENDER\RenderTest_Packaging.c4d

Line 23 shows this
2022-08-30 17:30:38: 0: CheckPathMapping: Swapped "/Volumes/DeadlineRepository10/TEST RENDER/RenderTest_Packaging.c4d" with "D:\TEST RENDER/RenderTest_Packaging.c4d"

so at some point the translation was correct, the rules you show in the print screen are incorrect

\\Volumes\DeadlineRepository10\
should be
/Volumes/DeadlineRepository10/
as OSX uses single forward slashes

1 Like

Thanks for the help, Anthony. I readjusted the path mapping to what you and the documentation listed and it’s working now. Looks like I have to restart Deadline Monitor for any change to get picked up which is why I think it wasn’t working consistently before. But now I’m able to render a few files with C4D through our render farm using Deadline.

1 Like