I have just run up my Deadline8 system and was testing with C4D v16 and getting the Python script errors noted on another thread here:
=======================================================
Error
Error: NameError : global name ‘json’ is not defined (Python.Runtime.PythonException)
File “C:\Users\Spinifex\AppData\Local\Thinkbox\Deadline8\slave\Renderslave4_\plugins\577caedba6467977b85b3a94\Cinema4DBatch.py”, line 57, in StartJob
self.MyCinema4DController.StartCinema4D()
File “C:\Users\Spinifex\AppData\Local\Thinkbox\Deadline8\slave\Renderslave4_\plugins\577caedba6467977b85b3a94\Cinema4DBatch.py”, line 194, in StartCinema4D
self.SendPathmapping()
File “C:\Users\Spinifex\AppData\Local\Thinkbox\Deadline8\slave\Renderslave4_\plugins\577caedba6467977b85b3a94\Cinema4DBatch.py”, line 207, in SendPathmapping
self.Cinema4DSocket.Send( “Pathmap:”+json.dumps(mappingDicts) )
at Deadline.Plugins.PluginWrapper.StartJob(String& outMessage, AbortLevel& abortLevel)
I tried replacing the “Cinema4DBatch” folder in the repo as advised in that thread but am now getting a syntax error instead of the json/python error.
Is there a new version of Deadline I should be updating to rather than just updating the Batch folder in the repo?
=======================================================
Error
Error: Monitored managed process “Cinema4DProcess” has exited or been terminated.
at Deadline.Plugins.PluginWrapper.StartJob(String& outMessage, AbortLevel& abortLevel)
=======================================================
Type
RenderPluginException
=======================================================
Stack Trace
at Deadline.Plugins.SandboxedPlugin.a(DeadlineMessage A_0)
at Deadline.Plugins.SandboxedPlugin.StartJob(Job job)
at Deadline.Slaves.SlaveRenderThread.a(TaskLogWriter A_0)
=======================================================
Log
2016-07-06 11:23:16: BEGIN - TestRenderSlave4\Spinifex
2016-07-06 11:23:16: 0: Executing plugin command of type ‘Initialize Plugin’
2016-07-06 11:23:17: 0: INFO: Executing plugin script ‘C:\Users\Spinifex\AppData\Local\Thinkbox\Deadline8\slave\TestRenderSlave4\plugins\577caedba6467977b85b3a94\Cinema4DBatch.py’
2016-07-06 11:23:17: 0: INFO: About: Cinema 4D Batch Plugin for Deadline
2016-07-06 11:23:17: 0: INFO: The job’s environment will be merged with the current environment before rendering
2016-07-06 11:23:17: 0: Done executing plugin command of type ‘Initialize Plugin’
2016-07-06 11:23:17: 0: Start Job timeout is disabled.
2016-07-06 11:23:17: 0: Task timeout is disabled.
2016-07-06 11:23:17: 0: Loaded job: C4D_render_test1_export.c4d (577caedba6467977b85b3a94)
2016-07-06 11:23:17: 0: Skipping drive mapping because they have already been mapped for this job
2016-07-06 11:23:17: 0: Executing plugin command of type ‘Start Job’
2016-07-06 11:23:17: 0: INFO: Start Job called - starting up Cinema 4D Batch plugin
2016-07-06 11:23:17: 0: INFO: Not enforcing a build of Cinema 4D
2016-07-06 11:23:17: 0: CheckPathMapping: Swapped “/SERVER/SOURCE/C4D_render_test1_export/C4D_render_test1_export.c4d” with “\SERVER/SOURCE/C4D_render_test1_export/C4D_render_test1_export.c4d”
2016-07-06 11:23:17: 0: INFO: Cinema 4D socket connection port: 61576
2016-07-06 11:23:17: 0: INFO: Parameters: -nogui “-DeadlineConnect 61576 409974571276”
2016-07-06 11:23:17: 0: INFO: Starting monitored managed process Cinema4DProcess
2016-07-06 11:23:17: 0: INFO: Stdout Redirection Enabled: True
2016-07-06 11:23:17: 0: INFO: Stdout Handling Enabled: True
2016-07-06 11:23:17: 0: INFO: Popup Handling Enabled: False
2016-07-06 11:23:17: 0: INFO: Using Process Tree: True
2016-07-06 11:23:17: 0: INFO: Hiding DOS Window: True
2016-07-06 11:23:17: 0: INFO: Creating New Console: False
2016-07-06 11:23:17: 0: INFO: Running as user: Spinifex
2016-07-06 11:23:17: 0: INFO: Executable: “C:\Program Files\MAXON\CINEMA 4D R16\Commandline.exe”
2016-07-06 11:23:17: 0: INFO: Argument: -nogui “-DeadlineConnect 61576 409974571276”
2016-07-06 11:23:17: 0: INFO: Full Command: “C:\Program Files\MAXON\CINEMA 4D R16\Commandline.exe” -nogui “-DeadlineConnect 61576 409974571276”
2016-07-06 11:23:17: 0: INFO: Startup Directory: “C:\Program Files\MAXON\CINEMA 4D R16”
2016-07-06 11:23:17: 0: INFO: Process Priority: BelowNormal
2016-07-06 11:23:17: 0: INFO: Process Affinity: default
2016-07-06 11:23:17: 0: INFO: Process is now running
2016-07-06 11:23:17: 0: STDOUT: Application start : 07/06/16 at 11:23:17
2016-07-06 11:23:17: 0: STDOUT: Executable : 64 Bit
2016-07-06 11:23:17: 0: STDOUT: Version / Build : 16.050 / RB131856
2016-07-06 11:23:17: 0: STDOUT: Debugger : not available
2016-07-06 11:23:17: 0: STDOUT: Memory model : release
2016-07-06 11:23:17: 0: STDOUT: Startup path : file:///C:/Program Files/MAXON/CINEMA 4D R16
2016-07-06 11:23:17: 0: STDOUT: Application path : file:///C:/Program Files/MAXON/CINEMA 4D R16/Commandline.exe
2016-07-06 11:23:17: 0: STDOUT: Application executable : file:///C:/Program Files/MAXON/CINEMA 4D R16/Commandline.exe
2016-07-06 11:23:17: 0: STDOUT: Resource path : file:///C:/Program Files/MAXON/CINEMA 4D R16/resource
2016-07-06 11:23:17: 0: STDOUT: Module path(s) : file:///C:/Program Files/MAXON/CINEMA 4D R16/modules
2016-07-06 11:23:17: 0: STDOUT: Temporary path : file:///C:/Users/Spinifex/AppData/Local/Temp
2016-07-06 11:23:17: 0: STDOUT: Prefs path : file:///C:/Users/Spinifex/AppData/Roaming/MAXON/CINEMA 4D R16_14AF56B1
2016-07-06 11:23:17: 0: STDOUT: Global Prefs path : file:///C:/Users/Spinifex/AppData/Roaming/MAXON
2016-07-06 11:23:17: 0: STDOUT: OS version : Windows 8, 64 Bit, Professional Edition (build 9200)
2016-07-06 11:23:17: 0: STDOUT: Processor : 8x Intel Core i7-4790 CPU
2016-07-06 11:23:17: 0: STDOUT: Computer name : TestRenderSlave4
2016-07-06 11:23:17: 0: STDOUT: Thread Count : 8
2016-07-06 11:23:17: 0: STDOUT: Cpu Speed (MHz) : 3600.000
2016-07-06 11:23:17: 0: STDOUT: Application Type : Modular
2016-07-06 11:23:17: 0: STDOUT: Command line arguments : “-nogui” “-DeadlineConnect 61576 409974571276”
2016-07-06 11:23:17: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R16/modules/c4dplugin.xdl64 with module(s) net.maxon.c4d.c4dplugin
2016-07-06 11:23:17: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R16/modules/crashhandler.module.xdl64 with module(s) net.maxon.crashhandler
2016-07-06 11:23:17: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R16/modules/crypt.module.xdl64 with module(s) net.maxon.crypt
2016-07-06 11:23:17: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R16/modules/image.module.xdl64 with module(s) net.maxon.image
2016-07-06 11:23:17: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R16/modules/mesh.module.xdl64 with module(s) net.maxon.mesh
2016-07-06 11:23:17: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R16/modules/misc.module.xdl64 with module(s) net.maxon.misc
2016-07-06 11:23:17: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R16/modules/network.module.xdl64 with module(s) net.maxon.network
2016-07-06 11:23:17: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R16/modules/triangulation.module.xdl64 with module(s) net.maxon.triangulation
2016-07-06 11:23:18: 0: STDOUT: loading plugin directory: C:\Users\Spinifex\AppData\Local\Thinkbox\Deadline8\slave\TestRenderSlave4\plugins\577caedba6467977b85b3a94
2016-07-06 11:23:18: 0: STDOUT: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2016-07-06 11:23:18: 0: STDOUT: VrayForC4D Win64 1.9.0.58b Sep 8 2014 | vrayforc4d.com
2016-07-06 11:23:18: 0: STDOUT: Number of VRay Standalone DR Slave Nodes Authorized: 10
2016-07-06 11:23:18: 0: STDOUT: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2016-07-06 11:23:18: 0: STDOUT: File "
2016-07-06 11:23:18: 0: STDOUT: ‘DeadlineConnect.pyp’
2016-07-06 11:23:18: 0: STDOUT: ", line
2016-07-06 11:23:18: 0: STDOUT: 237
2016-07-06 11:23:18: 0: STDOUT:
2016-07-06 11:23:18: 0: STDOUT: SyntaxError
2016-07-06 11:23:18: 0: STDOUT: :
2016-07-06 11:23:18: 0: STDOUT: invalid syntax
2016-07-06 11:23:19: 0: STDOUT: Appending “C:/ProgramData/Thinkbox/Deadline8/cache/SYdo7yDCPuPdczJV4976umvRyhg/submission/Cinema4D/Main” to system path to import SubmitC4DToDeadline module
2016-07-06 11:23:19: 0: STDOUT: Could not load takesystem module, modules will not be used.
2016-07-06 11:23:19: 0: STDOUT: Could not load tokensystem module, module will not be used.
2016-07-06 11:23:19: 0: STDOUT: InitVRayStuff 00007FFC1B9298E0
2016-07-06 11:23:19: 0: STDOUT: Vray License Acquired
2016-07-06 11:23:19: 0: STDOUT: Warning: Unknown arguments: -DeadlineConnect 61576 409974571276
2016-07-06 11:23:20: 0: STDOUT: The file ‘VrayBridge.key’ was opened
2016-07-06 11:23:20: 0: STDOUT: !!!os.Sh: size=1120 id=82 /140 ptr=0000000000000000
2016-07-06 11:23:20: 0: STDOUT: !!!os.Sh: size=1120 id=83 /140 ptr=0000000000000000
2016-07-06 11:23:21: 0: WARNING: Monitored managed process Cinema4DProcess is no longer running
2016-07-06 11:23:21: 0: Done executing plugin command of type ‘Start Job’
=======================================================
Details
Date: 07/06/2016 11:23:24
Frames: 12-14
Elapsed Time: 00:00:00:07
Job Submit Date: 07/06/2016 00:10:56
Job User: spinifex
Average RAM Usage: 3428044800 (10%)
Peak RAM Usage: 3428044800 (10%)
Average CPU Usage: 11%
Peak CPU Usage: 18%
Used CPU Clocks (x10^6 cycles): 13762
Total CPU Clocks (x10^6 cycles): 125108
=======================================================
Slave Information
Slave Name: TestRenderSlave4
Version: v8.0.4.1 Release (49ce3656c)
Operating System: Windows 81 Pro
Running As Service: No
Machine User: Spinifex
IP Address: 192.168.20.82
MAC Address: F8:32:E4:A4:86:03
CPU Architecture: x64
CPUs: 8
CPU Usage: 5%
Memory Usage: 3.2 GB / 31.9 GB (9%)
Free Disk Space: 395.915 GB
Video Card: NVIDIA GeForce GTX 980
Hey,
Try updating to 8.0.5, that at least has the json import issue fixed. Your second issue looks like a syntax error in the code you might have modified.
Give it a shot and get back to us.
To update, do I just run 8.0.5 over the top of the 8.0.4 Server and Client installs? Any need to remove all the existing Repository files first? Or uninstall the existing MongoDB?
Yep, you can install in place without issue.
You can check out the docs on updateing/upgrading here: docs.thinkboxsoftware.com/produc … ading.html
Thanks – that’s working now Looks like I have a bit of a mess to sort out with licensing and v-ray, but it’s good to move onto the next problem. Cheers!