Deadline 5.2 and Cinema 4D: RenderPluginException Error.

Hello Everybody,

I’m using Deadline 5 for just 3 days and I like it very much. After some installing trouble I got my first 3Ds Max network renders with the program finished and it did a great job. For the job I used my workstation (also slave) and my RenderNode (slave ofc.) But now I want to do some net rendering with my school laptop and use the workstation and RenderNode as a slave. To test how it worked and find some trouble shooting, I made a very simple scene with only a box. No lighting and other stuff. Jus the box and some camera movement.

The 90f film rendered perfect after I finished all the problems with the shared directory’s. But it rendered and did great. But when I wanted to render my bigger project (only tested 1, I suddenly realised) for school and I get only errors. It didn’t even render 1 frame, very weird. And I can’t tell what the problem is. I hope you guys can help me out with this.

I have some log’s and I will paste them here in the topic for you to see.

[code]=======================================================
Error Message

Exception during render: An error occurred in RenderTasks(): Error rendering project
bij Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage)

=======================================================
Slave Log

0: Task timeout is disabled.
0: Loaded job: test2 (999_050_999_76ee5d0a)
0: INFO: StartJob: initializing script plugin Cinema4D
0: INFO: Any stdout that matches the regular expression “Error:.*” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “.Document not found.” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “.Project not found.” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “.Error rendering project.” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “.Error rendering document.” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “.Error loading document.” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “.Invalid License from License Server.” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “.Rendering frame ([0-9]+) at.” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “.Rendering successful.” will be handled as appropriate
0: INFO: About: Cinema 4D Plugin for Deadline
0: Plugin rendering frame(s): 0
0: INFO: Starting Cinema 4D Task
0: INFO: Stdout Handling Enabled: True
0: INFO: Popup Handling Enabled: True
0: INFO: Using Process Tree: True
0: INFO: Hiding DOS Window: True
0: INFO: Creating New Console: False
0: INFO: Not enforcing a build of Cinema 4D
0: INFO: Render Executable: “C:\Program Files\Maxon\CINEMA 4D R13\CINEMA 4D 64 Bit.exe”
0: INFO: Render Argument: -nogui -render “\DTP-HP\Users\DTP\Documents\PLATHOS\Educateme2\Intro\Projects\Animation Project.c4d” -frame 0 0
0: INFO: Startup Directory: “C:\Program Files\Maxon\CINEMA 4D R13”
0: INFO: Process Priority: BelowNormal
0: INFO: Process Affinity: default
0: INFO: Process is now running
0: STDOUT: Starting CINEMA 4D 13.016 …
0: STDOUT: Agent does not respond
0: STDOUT: Startup Directory: C:\Program Files\Maxon\CINEMA 4D R13
0: STDOUT: Write Directory: C:\Users\RenderNode#Alpha\AppData\Roaming\MAXON\CINEMA 4D R13_05DFD2A0
0: STDOUT: Preferences Directory: C:\Users\RenderNode#Alpha\AppData\Roaming\MAXON\CINEMA 4D R13_05DFD2A0\prefs
0: STDOUT: Appending “//QSYS/DeadLine Network Rendering/submission/Cinema4D” to system path to import SubmitC4DToDeadline module
0: STDOUT: Loading Project: \DTP-HP\Users\DTP\Documents\PLATHOS\Educateme2\Intro\Projects\Animation Project.c4d
0: STDOUT: Rendering frame 0 at <Wed May 15 17:16:13 2013>
0: STDOUT: Error rendering project

=======================================================
Error Type

RenderPluginException

=======================================================
Error Stack Trace

bij Deadline.Plugins.Plugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame)
bij Deadline.Slaves.SlaveRenderThread.RenderCurrentTask(TaskLogWriter tlw)
[/code]

Besides this it said in some other errors that the Agent wasn’t responding.

[code]=======================================================
Error Message

Exception during render: An error occurred in RenderTasks(): Error rendering project
bij Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage)

=======================================================
Slave Log

0: Task timeout is disabled.
0: Loaded job: EducateMe2_Intro_Camera-BOX_3 (999_075_999_41de4b4e)
0: INFO: StartJob: initializing script plugin Cinema4D
0: INFO: Any stdout that matches the regular expression “Error:.*” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “.Document not found.” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “.Project not found.” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “.Error rendering project.” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “.Error rendering document.” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “.Error loading document.” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “.Invalid License from License Server.” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “.Rendering frame ([0-9]+) at.” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “.Rendering successful.” will be handled as appropriate
0: INFO: About: Cinema 4D Plugin for Deadline
0: Plugin rendering frame(s): 21
0: INFO: Starting Cinema 4D Task
0: INFO: Stdout Handling Enabled: True
0: INFO: Popup Handling Enabled: True
0: INFO: Using Process Tree: True
0: INFO: Hiding DOS Window: True
0: INFO: Creating New Console: False
0: INFO: Not enforcing a build of Cinema 4D
0: INFO: Render Executable: “C:\Program Files\Maxon\CINEMA 4D R13\CINEMA 4D 64 Bit.exe”
0: INFO: Rendering main output to network drive
0: INFO: Rendering multipass output to network drive
0: INFO: Render Argument: -nogui -render “C:\Users\Hero\AppData\Local\Thinkbox\Deadline\slave\Qsys\jobsData\Animation Project.c4d” -frame 21 21 -oimage “\DTP-HP\Users\DTP\Documents\PLATHOS\Educateme2\Intro\Renders\Cinema4D\EducateMe2_Intro\Camera-BOX\NormalPass\EM2_Cam-BOX_NP” -omultipass “\DTP-HP\Users\DTP\Documents\PLATHOS\Educateme2\Intro\Renders\Cinema4D\EducateMe2_Intro\Camera-BOX\Multipass\EM2_Cam-BOX_MP”
0: INFO: Startup Directory: “C:\Program Files\Maxon\CINEMA 4D R13”
0: INFO: Process Priority: BelowNormal
0: INFO: Process Affinity: default
0: INFO: Process is now running
0: STDOUT: Starting CINEMA 4D 13.016 …
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Agent does not respond
0: STDOUT: Startup Directory: C:\Program Files\Maxon\CINEMA 4D R13
0: STDOUT: Write Directory: C:\Users\Hero\AppData\Roaming\MAXON\CINEMA 4D R13_05DFD2A0
0: STDOUT: Preferences Directory: C:\Users\Hero\AppData\Roaming\MAXON\CINEMA 4D R13_05DFD2A0\prefs
0: STDOUT:
0: STDOUT: ==========================
0: STDOUT: – Ivy Grower v1.2.1 © 2011
0: STDOUT: ==========================
0: STDOUT:
0: STDOUT: Appending “Z:/submission/Cinema4D” to system path to import SubmitC4DToDeadline module
0: STDOUT: Loading Project: C:\Users\Hero\AppData\Local\Thinkbox\Deadline\slave\Qsys\jobsData\Animation Project.c4d
0: STDOUT: Rendering frame 21 at <Wed May 15 18:57:09 2013>
0: STDOUT: Error rendering project

=======================================================
Error Type

RenderPluginException

=======================================================
Error Stack Trace

bij Deadline.Plugins.Plugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame)
bij Deadline.Slaves.SlaveRenderThread.RenderCurrentTask(TaskLogWriter tlw)
[/code]

I hope you guys have had some experience with the problem and now how to solve, because it’s bugging me a lot.

Greetings,
Cazure

Hi Cazure,

The first step would be to determine if the problem is related to Deadline or if it’s a general C4D issue. To do this, go to one of the machines running the Slave and run this command:

This is the exact same command that Deadline is running. If you get the same error, then at least we can rule out Deadline. We find that C4D isn’t the most verbose application when it comes to its error messages, so the next step would be to try launching the C4D interface on one of the Slave machines and try rendering that way. Assuming you get an error, perhaps the interface might point to what the problem is.

Cheers,

  • Ryan

I’m really sorry to ask, but where can I put the command in?

Already found it, my excuses.

You would run this inside a DOS command prompt. On Windows, this is typically in All Programs -> Accessories -> Command Prompt.

OK, I don’t know if it went well. I put in the command and then it started up. And after 3/4 seconds it closed. I see that my Deadline Slave is now working. So I think that is good?

Also the slaves says some errors. I will paste them here in this post

[code]Exception Details
IOException – Kan geen bestand maken dat al bestaat.
Exception.Data: ( )
Exception.TargetSite: Void WinIOError(Int32, System.String)
Exception.Source: mscorlib
Exception.StackTrace:
bij System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bij System.IO.File.Move(String sourceFileName, String destFileName)
bij Deadline.Storage.JobStorage.ChangeTaskStatusAndOwnership(Job job, Task task, TaskStatus newStatus, String machineName)
bij Deadline.Controllers.JobController.RequeueTask(Job job, Task task, Boolean refreshJob)
bij Deadline.Slaves.SlaveSchedulerThread.RequeueTask(Task task)

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Scheduler Thread - It is likely that the Slave cannot connect to the Repository, which means that the network may be down or the Repository machine is offline.
Scheduler Thread - The Slave cannot continue until this operation has completed successfully.
Scheduler Thread - Waiting 20 seconds before retrying…

[/code]

I hope this is some good information. If not, please tell me.

Did C4D write anything to the DOS command prompt after you ran that command? Did it save any frames to disk? We’re just looking for a clue to indicate if it rendered successfully or not.

So rendering with C4D through Deadline is now working? Yay if it is! :slight_smile:

If you get this error once in a while, it’s probably nothing to worry about, but if you get it repeatedly, that means that the Slave is having problems connecting to the Repository, and that could cause unexpected problems.

Nothing happend, there wasn’t any sort of message delivered after I did the command. It just closed, no frames were saved unfortunately. It only says: loading project: (directory name) and then it says: rendering frame 0. And then the slave gives the error I posted in my other post. So that didn’t work really.

Sorry that I didn’t make it so clear. I meant that the Slave started working, but then it gave again all the same errors. It just started up the slave. (excuse me if I’m saying this on a unfriendly way).

Since you got the same error from the DOS command prompt, we can confirm that Deadline isn’t the cause of the problem here. So the next step would be to launch the C4D interface on one of these machines and try rendering to see if you get a better error message that can help you debug the problem. If that doesn’t help, you’ll probably have to talk to Maxon’s support to see if they have any ideas.

Cheers,

  • Ryan

Is it possible that a project file can be too big? My project file was 1.8Mb. And the test file was 120kb. So is there a max size that is possible to be taken care of by Deadline 5?

I finally have some good new, I have post a similiar topic on a another Forum, and they said that it could depend on or the programs were all runs with the same rights. And I had my Deadline Monitor on my school laptop run with a Admin rights. Now I unchecked that and it didn’t give a error!! HOERAAH.

Next problem, my RenderNode slave doesn’t respond and says that the agent isn’t responding. :frowning:

Anyone know’s how to fix this problem?

Also, I have discovered that the problem could be laying by submitting the job. I do it via the Deadline Monitor because the script isn’t working in Cinema 4D. When I want to submit it via Cinema 4D, I press submit, but nothing happens. I can click it as many times as I want, but the script isn’t reacting at the button press: Submit. Very weird.

The easiest thing to check is to find out if you have access to the files, and that your firewall lets deadline to communicate with the repository machine.
You could go into My Computer, and in the Address tab just put \\DTP-HP\Users\DTP\Documents\PLATHOS\Educateme2\Intro\Projects\ and hit enter, if it shows the file, then slave should be able to pick up the scene, if not, they you need to sort out your sharing first, before digging more.