AWS Thinkbox Discussion Forums

Cinema4DProcess HandleStdoutError

Hi all,
I get the following error when trying to render a C4D R14 scene on Deadline 8.0.0.52 Beta (b2aee704e) on OSX 10.10:

[i]Error: Error: AttributeError : ‘Cinema4DProcess’ object has no attribute ‘HandleStdoutError’ (Python.Runtime.PythonException)
File “/Users/pepijn/Library/Application Support/Thinkbox/Deadline8/slave/iMac-D/plugins/56d594493f267a0916d9476f/Cinema4DBatch.py”, line 493, in InitializeProcess
self.AddStdoutHandlerCallback(".Document not found.").HandleCallback += self.HandleStdoutError

at Deadline.Plugins.PluginWrapper.StartJob (System.String& outMessage, FranticX.Processes.AbortLevel& abortLevel) <0x10dff3750 + 0x00230> in :0[/i]

Any idea how to fix this?

Thanks for reporting this! Looks like some parts of the Cinema4DBatch plugin were removed accidentally. This will be fixed in the next beta release.

For now, simply unzip the attached file to \your\repository\plugins\Cinema4DBatch. It will overwrite Cinema4DBatch.py and DeadlineConnect.pyp, which should fix the error you’re seeing. After that, submit a new job and let us know if it works.

Cheers,
Ryan
Cinema4DBatch.zip (7.55 KB)

Hi Ryan,

I was having the same problem, downloaded the file, confirmed the slaves are loading it but now C4D R17 is completeling processes but not outputting the file. I can’t see anything obvious in the log (attached).

Can you see anything that might be stopping the files being saved

We also use AfterEffects on our farm and that is running fine.

I’ve just installed a fresh installation of Deadline 8 due to an office move.

Regards,
Scott

=======================================================
Log

2016-03-10 09:25:47: BEGIN - PARENDER15\Render
2016-03-10 09:25:47: 0: Executing plugin command of type ‘Deadline.Slaves.Messaging.InitializeCommandMemento’
2016-03-10 09:25:48: 0: INFO: Executing plugin script ‘C:\Users\render.PALONDON\AppData\Local\Thinkbox\Deadline8\slave\parender15\plugins\56e13d790e232f4390329c9d\Cinema4DBatch.py’
2016-03-10 09:25:48: 0: INFO: About: Cinema 4D Batch Plugin for Deadline
2016-03-10 09:25:48: 0: INFO: The job’s environment will be merged with the current environment before rendering
2016-03-10 09:25:48: 0: Done executing plugin command of type ‘Deadline.Slaves.Messaging.InitializeCommandMemento’
2016-03-10 09:25:48: 0: Start Job timeout is disabled.
2016-03-10 09:25:48: 0: Task timeout is disabled.
2016-03-10 09:25:48: 0: Loaded job: Untitled (56e13d790e232f4390329c9d)
2016-03-10 09:25:48: 0: Executing plugin command of type ‘Deadline.Slaves.Messaging.StartJobCommandMemento’
2016-03-10 09:25:48: 0: INFO: Start Job called - starting up Cinema 4D Batch plugin
2016-03-10 09:25:48: 0: INFO: Not enforcing a build of Cinema 4D
2016-03-10 09:25:48: 0: INFO: Cinema 4D socket connection port: 49431
2016-03-10 09:25:48: 0: INFO: Parameters: -nogui “-DeadlineConnect 49431 339487923414”
2016-03-10 09:25:48: 0: INFO: Starting monitored managed process Cinema4DProcess
2016-03-10 09:25:48: 0: INFO: Stdout Redirection Enabled: True
2016-03-10 09:25:48: 0: INFO: Stdout Handling Enabled: True
2016-03-10 09:25:48: 0: INFO: Popup Handling Enabled: False
2016-03-10 09:25:48: 0: INFO: Using Process Tree: True
2016-03-10 09:25:48: 0: INFO: Hiding DOS Window: True
2016-03-10 09:25:48: 0: INFO: Creating New Console: False
2016-03-10 09:25:48: 0: INFO: Running as user: Render
2016-03-10 09:25:48: 0: INFO: Executable: “C:\Program Files\MAXON\CINEMA 4D R17\Commandline.exe”
2016-03-10 09:25:48: 0: INFO: Argument: -nogui “-DeadlineConnect 49431 339487923414”
2016-03-10 09:25:48: 0: INFO: Startup Directory: “C:\Program Files\MAXON\CINEMA 4D R17”
2016-03-10 09:25:48: 0: INFO: Process Priority: BelowNormal
2016-03-10 09:25:48: 0: INFO: Process Affinity: default
2016-03-10 09:25:48: 0: INFO: Process is now running
2016-03-10 09:25:49: 0: STDOUT: Application start : 03/10/16 at 09:25:48
2016-03-10 09:25:49: 0: STDOUT: Executable : 64 Bit
2016-03-10 09:25:49: 0: STDOUT: Version / Build : 17.016 / RB136011
2016-03-10 09:25:49: 0: STDOUT: Debugger : not available
2016-03-10 09:25:49: 0: STDOUT: Memory model : release
2016-03-10 09:25:49: 0: STDOUT: Startup path : file:///C:/Program Files/MAXON/CINEMA 4D R17
2016-03-10 09:25:49: 0: STDOUT: Application path : file:///C:/Program Files/MAXON/CINEMA 4D R17/Commandline.exe
2016-03-10 09:25:49: 0: STDOUT: Application executable : file:///C:/Program Files/MAXON/CINEMA 4D R17/Commandline.exe
2016-03-10 09:25:49: 0: STDOUT: Resource path : file:///C:/Program Files/MAXON/CINEMA 4D R17/resource
2016-03-10 09:25:49: 0: STDOUT: Module path(s) : file:///C:/Program Files/MAXON/CINEMA 4D R17/modules
2016-03-10 09:25:49: 0: STDOUT: Temporary path : file:///C:/Users/RENDER~1.PAL/AppData/Local/Temp
2016-03-10 09:25:49: 0: STDOUT: Prefs path : file:///C:/Users/render.PALONDON/AppData/Roaming/MAXON/CINEMA 4D R17_8DE13DAD
2016-03-10 09:25:49: 0: STDOUT: Global Prefs path : file:///C:/Users/render.PALONDON/AppData/Roaming/MAXON
2016-03-10 09:25:49: 0: STDOUT: OS version : Windows 7, 64 Bit, Professional Edition Service Pack 1 (build 7601)
2016-03-10 09:25:49: 0: STDOUT: Processor : 8(16)x Intel Xeon CPU X5560
2016-03-10 09:25:49: 0: STDOUT: Computer name : PARENDER15
2016-03-10 09:25:49: 0: STDOUT: Thread Count : 16
2016-03-10 09:25:49: 0: STDOUT: Cpu Speed (MHz) : 2800.000
2016-03-10 09:25:49: 0: STDOUT: Application Type : Modular
2016-03-10 09:25:49: 0: STDOUT: Command line arguments : “-nogui” “-DeadlineConnect 49431 339487923414”
2016-03-10 09:25:49: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R17/modules/c4dplugin.xdl64 with module(s) net.maxon.c4d.c4dplugin
2016-03-10 09:25:49: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R17/modules/crashhandler.module.xdl64 with module(s) net.maxon.crashhandler
2016-03-10 09:25:49: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R17/modules/crypt.module.xdl64 with module(s) net.maxon.crypt
2016-03-10 09:25:49: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R17/modules/glcl_trace.module.xdl64 with module(s) net.maxon.glcl_trace
2016-03-10 09:25:49: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R17/modules/image.module.xdl64 with module(s) net.maxon.image
2016-03-10 09:25:49: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R17/modules/mesh.module.xdl64 with module(s) net.maxon.mesh
2016-03-10 09:25:49: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R17/modules/misc.module.xdl64 with module(s) net.maxon.misc
2016-03-10 09:25:49: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R17/modules/network.module.xdl64 with module(s) net.maxon.network
2016-03-10 09:25:49: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R17/modules/triangulation.module.xdl64 with module(s) net.maxon.triangulation
2016-03-10 09:25:50: 0: STDOUT: loading plugin directory: C:\Users\render.PALONDON\AppData\Local\Thinkbox\Deadline8\slave\parender15\plugins\56e13d790e232f4390329c9d
2016-03-10 09:25:50: 0: STDOUT: --------------------------------------------------------------------------------
2016-03-10 09:25:50: 0: STDOUT: TurbulenceFD v1.0 Build 1399 64Bit Oct 6 2015
2016-03-10 09:25:50: 0: STDOUT: Copyright © 2008-2012 Jawset Visual Computing. All rights reserved.
2016-03-10 09:25:50: 0: STDOUT: Log file:
2016-03-10 09:25:50: 0: STDOUT: C:/Users/render.PALONDON/AppData/Roaming/jawset/turbulence.log
2016-03-10 09:25:50: 0: STDOUT: --------------------------------------------------------------------------------
2016-03-10 09:25:51: 0: STDOUT: Appending “C:/ProgramData/Thinkbox/Deadline8/cache/AJfgaQwM4LLW1cjbSr7SkaSRc=/submission/Cinema4D/Main” to system path to import SubmitC4DToDeadline module
2016-03-10 09:25:51: 0: STDOUT: Could not load tokensystem module, module will not be used.
2016-03-10 09:25:51: 0: INFO: Received Token: 339487923414
2016-03-10 09:25:51: 0: INFO: Connected to Cinema 4D
2016-03-10 09:25:51: 0: STDOUT: Loading Scene: X:\R17_test\r17_test.c4d
2016-03-10 09:25:52: 0: INFO: Loaded Scene
2016-03-10 09:25:52: 0: Done executing plugin command of type ‘Deadline.Slaves.Messaging.StartJobCommandMemento’
2016-03-10 09:25:52: 0: Plugin rendering frame(s): 20
2016-03-10 09:25:52: 0: Executing plugin command of type ‘Deadline.Slaves.Messaging.RenderTaskCommandMemento’
2016-03-10 09:25:52: 0: INFO: Render Tasks called
2016-03-10 09:25:52: 0: INFO: Pre Build Script
2016-03-10 09:25:52: 0: INFO:
2016-03-10 09:25:52: 0: STDOUT: running script: C:\Users\render.PALONDON\AppData\Local\Temp\tmp30F8.tmp
2016-03-10 09:25:52: 0: STDOUT: C:\Users\render.PALONDON\AppData\Local\Thinkbox\Deadline8\slave\parender15\plugins\56e13d790e232f4390329c9d\DeadlineConnect.pyp:13: DeprecationWarning: integer argument expected, got float
2016-03-10 09:25:52: 0: STDOUT: def DeadlineConnect(arg):
2016-03-10 09:25:52: 0: INFO: Script Ran Successfully
2016-03-10 09:25:53: 0: Done executing plugin command of type ‘Deadline.Slaves.Messaging.RenderTaskCommandMemento’

=======================================================
Details

Date: 03/10/2016 09:25:53
Frames: 20
Job Submit Date: 03/10/2016 09:25:13
Job User: scott
Average RAM Usage: 249587712 (2%)
Peak RAM Usage: 414273536 (3%)
Average CPU Usage: 12%
Peak CPU Usage: 35%
Used CPU Clocks (x10^6 cycles): 9016
Total CPU Clocks (x10^6 cycles): 75130

=======================================================
Slave Information

Slave Name: PARENDER15
Version: v8.0.0.52 Beta (b2aee704e)
Operating System: Windows 7 Professional (SP1)
Running As Service: No
Machine User: Render
IP Address: 192.168.5.65
MAC Address: 00:A0:D1:E3:D7:0C
CPU Architecture: x64
CPUs: 16
CPU Usage: 3%
Memory Usage: 2.5 GB / 18.0 GB (14%)
Free Disk Space: 263.722 GB
Video Card: Standard VGA Graphics Adapter

Hi Scott,

Can you try resubmitting the same job, but this time disable the “Use Batch Plugin” option in the submitter? This will submit a regular C4D command line job, and if you get the same problem, send us the log and we’ll take a look.

If it works fine, then there must be a bug in the Cinema4DBatch plugin (which is something new we’ve added to 8.0). Actually, if it does work, send us the render log too so that we can compare it to the Batch plugin log you’ve posted. If you could send us a scene file that reproduces the problem as well, that would be a big help!

Thanks!
Ryan

Privacy | Site terms | Cookie preferences