AWS Thinkbox Discussion Forums

C4D Error - OSX

1 - build 45783
2 - OSX 10.7
3 - C4D
4 - Submit from C4D R 13.0

Hi
When submitting C4D with the “Submit Cinema 4D Scene File” option selected, the job doesn’t render and produces this error on all slaves. Renders fine when option is not selected.

Cheers
Bonsak

=======================================================
Error Message
=======================================================
Exception during render: An error occurred in RenderTasks(): Error rendering project
  at Deadline.Plugins.ScriptPlugin.RenderTasks (System.String taskId, Int32 startFrame, Int32 endFrame, System.String& outMessage) [0x00000] in <filename unknown>:0 

=======================================================
Slave Log
=======================================================
0: Plugin will be reloaded because a new job has been loaded, or one of the job files has been modified
0: Loaded plugin: Cinema4D
0: Task timeout is disabled.
0: Loaded job: 11109-flagg-05-slutt.c4d (999_050_999_1ae04d69)
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 ".*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): 1200
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: "/Volumes/MAXON/CINEMA 4D R13/CINEMA 4D.app/Contents/MacOS/CINEMA 4D"
0: INFO: Rendering main output to network drive
0: INFO: Render Argument:  -nogui -render "/Users/racecar/Deadline/slave/Render08/jobsData/11109-flagg-05-slutt.c4d" -frame 1200 1200 -oresolution 1920 1080 -oimage "/Volumes/PITLANE/xxTmp/NETRENDER-TEST/05-slutt"
0: INFO: Startup Directory: "/Volumes/MAXON/CINEMA 4D R13/CINEMA 4D.app/Contents/MacOS"
0: INFO: Process Priority: BelowNormal
0: INFO: Process is now running
0: STDOUT: Could not find platform independent libraries <prefix>
0: STDOUT: Could not find platform dependent libraries <exec_prefix>
0: STDOUT: Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
0: STDOUT: Gtk not found (missing LD_LIBRARY_PATH to libgtk-x11-2.0.so.0?), using built-in colorscheme
0: STDOUT: Starting CINEMA 4D 13.029 ...
0: STDOUT: Startup Directory: /Volumes/MAXON/CINEMA 4D R13
0: STDOUT: Write Directory: /Users/racecar/Library/Preferences/MAXON/CINEMA 4D R13_6859F252
0: STDOUT: Preferences Directory: /Users/racecar/Library/Preferences/MAXON/CINEMA 4D R13_6859F252/prefs
0: STDOUT: CD IK Tools v1.544 - Runtime
0: STDOUT: CD Constraints v1.541 - Runtime
0: STDOUT: CD Joints & Skin v1.554 - Runtime
0: STDOUT: CD Morph v1.530 - Runtime
0: STDOUT: Grunger 1.1
0: STDOUT: Appending "/Volumes/DeadlineRepository//submission/Cinema4D" to system path to import SubmitC4DToDeadline module
0: STDOUT: SOLO button v1.2: loaded.
0: STDOUT: msg: override imagesize to 1920 1080
0: STDOUT: Loading Project: /Users/racecar/Deadline/slave/Render08/jobsData/11109-flagg-05-slutt.c4d
0: STDOUT: Rendering frame 1200 at <Wed Nov 16 12:06:29 2011>
0: STDOUT: Error rendering project
0: An exception occurred: Exception during render: An error occurred in RenderTasks(): Error rendering project
  at Deadline.Plugins.ScriptPlugin.RenderTasks (System.String taskId, Int32 startFrame, Int32 endFrame, System.String& outMessage) [0x00000] in <filename unknown>:0  (Deadline.Plugins.RenderPluginException)


=======================================================
Error Type
=======================================================
RenderPluginException

=======================================================
Error Stack Trace
=======================================================
  at Deadline.Plugins.Plugin.RenderTask (System.String taskId, Int32 startFrame, Int32 endFrame) [0x00000] in <filename unknown>:0 
  at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask (Deadline.IO.TaskLogWriter tlw) [0x00000] in <filename unknown>:0 

Hi Bonsak,

That’s C4D’s generic “something went wrong” error message, and unfortunately it doesn’t print out anything explaining what went wrong. The first thing we should do is confirm if the problem is related to Deadline specifically, if it’s a C4D issue. To do this, open a terminal on the node that produced this error and run this command:

"/Volumes/MAXON/CINEMA 4D R13/CINEMA 4D.app/Contents/MacOS/CINEMA 4D" -nogui -render "/Users/racecar/Deadline/slave/Render08/jobsData/11109-flagg-05-slutt.c4d" -frame 1200 1200 -oresolution 1920 1080 -oimage "/Volumes/PITLANE/xxTmp/NETRENDER-TEST/05-slutt"

If you get the same error, then at least we can rule out Deadline.

One thing I noticed is that you’re submitting the scene file with the job. If you are using relative paths in the scene (for assets or output), this would break because the scene is now being rendered from a different location. If you don’t submit the scene with the job, just note that it needs to be in a network accessible location.

Let us know how the test goes!

  • Ryan

Ah! Thats why!
Starting Cinema from the terminal on the slave also produces “Error rendering project”

We use relative paths all the time so thats the reason then. We had “Submit Cinema 4D Scene File” on by accident basically. Thats off now :slight_smile:

Cheers
Bonsak

Can’t tell ya how many times this has happened to us. Would be neat to include a “are you sure you want to submit the scene file” dialog before it ever gets enabled, we never use it anyway :stuck_out_tongue:

I’d be hesitant to add a warning like that, since it would probably annoy the users that do use the feature. :slight_smile:

Cheers,

  • Ryan
Privacy | Site terms | Cookie preferences