AWS Thinkbox Discussion Forums

C4D Env vars not used by DL

Hi
We are moving c4d and redshift plugins to a shared location. We are setting these env vars when we start C4D in a .bat file like this:

[code]@ECHO OFF

SET REDSHIFT_COREDATAPATH=\FASTLANE\arkivet_3D_Central\Redshift
SET REDSHIFT_PLUGINPATH=\FASTLANE\arkivet_3D_Central\Redshift\Plugins\C4D\R19\Redshift

SET C4D_SCRIPTS_DIR=\FASTLANE\arkivet_3D_Central\Maxon\C4D\scripts
SET C4D_PLUGINS_DIR=\FASTLANE\arkivet_3D_Central\Maxon\C4D\plugins
SET C4D_BROWSERLIBS=\FASTLANE\arkivet_3D_Central\Maxon\C4D\libraries\

“C:\Program Files\MAXON\Cinema 4D R19\CINEMA 4D.exe”[/code]

This works fine on the workstations but when we submit jobs none of the plugins are loaded. Isnt DL supposed to pass on env vars automatically or am i doing something wrong?

Win10
DL 10.0.8.3
C4D 19.024

-b

Log:

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

Rendering failed: Asset missing
at Deadline.Plugins.PluginWrapper.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)

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

RenderPluginException

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

at Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage arh)
at Deadline.Plugins.SandboxedPlugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame)
at Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter ahl)

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

2017-12-18 13:09:48: 0: Loading Job’s Plugin timeout is Disabled
2017-12-18 13:09:49: 0: Executing plugin command of type ‘Sync Files for Job’
2017-12-18 13:09:49: 0: All job files are already synchronized
2017-12-18 13:09:49: 0: Synchronizing Plugin Cinema4D from \10.0.0.101\REPOSITORY\plugins\Cinema4D took: 0 seconds
2017-12-18 13:09:49: 0: Done executing plugin command of type ‘Sync Files for Job’
2017-12-18 13:09:49: 0: Executing plugin command of type ‘Initialize Plugin’
2017-12-18 13:09:50: 0: INFO: Executing plugin script ‘C:\Users\racecar\AppData\Local\Thinkbox\Deadline10\slave\render103\plugins\5a37be19967dc535884e9dd7\Cinema4D.py’
2017-12-18 13:09:50: 0: INFO: About: Cinema 4D Plugin for Deadline
2017-12-18 13:09:50: 0: INFO: Render Job As User disabled, running as current user ‘racecar’
2017-12-18 13:09:50: 0: INFO: The job’s environment will be merged with the current environment before rendering
2017-12-18 13:09:50: 0: Done executing plugin command of type ‘Initialize Plugin’
2017-12-18 13:09:50: 0: Start Job timeout is disabled.
2017-12-18 13:09:50: 0: Task timeout is disabled.
2017-12-18 13:09:50: 0: Loaded job: dvalin-dea-logoanim-04.c4d (5a37be19967dc535884e9dd7)
2017-12-18 13:09:50: 0: Executing plugin command of type ‘Start Job’
2017-12-18 13:09:50: 0: INFO: Executing global job preload script ‘C:\Users\racecar\AppData\Local\Thinkbox\Deadline10\slave\render103\plugins\5a37be19967dc535884e9dd7\GlobalJobPreLoad.py’
2017-12-18 13:09:50: 0: INFO: Looking for AWS Portal File Transfer…
2017-12-18 13:09:50: 0: INFO: Looking for File Transfer controller in C:/Program Files/Thinkbox/S3BackedCache/bin/task.py…
2017-12-18 13:09:50: 0: INFO: Could not find AWS Portal File Transfer.
2017-12-18 13:09:50: 0: INFO: AWS Portal File Transfer is not installed on the system.
2017-12-18 13:09:50: 0: Done executing plugin command of type ‘Start Job’
2017-12-18 13:09:50: 0: Plugin rendering frame(s): 0-14
2017-12-18 13:09:51: 0: Executing plugin command of type ‘Render Task’
2017-12-18 13:09:51: 0: INFO: Starting Cinema 4D Task
2017-12-18 13:09:51: 0: INFO: Stdout Redirection Enabled: True
2017-12-18 13:09:51: 0: INFO: Stdout Handling Enabled: True
2017-12-18 13:09:51: 0: INFO: Popup Handling Enabled: True
2017-12-18 13:09:51: 0: INFO: QT Popup Handling Enabled: False
2017-12-18 13:09:51: 0: INFO: WindowsForms10.Window.8.app.* Popup Handling Enabled: False
2017-12-18 13:09:51: 0: INFO: Using Process Tree: True
2017-12-18 13:09:51: 0: INFO: Hiding DOS Window: True
2017-12-18 13:09:51: 0: INFO: Creating New Console: False
2017-12-18 13:09:51: 0: INFO: Running as user: racecar
2017-12-18 13:09:51: 0: INFO: Not enforcing a build of Cinema 4D
2017-12-18 13:09:51: 0: INFO: Executable: “C:\Program Files\MAXON\CINEMA 4D R19\Commandline.exe”
2017-12-18 13:09:51: 0: INFO: Validating the path: ‘T:\18002-Screen-Media-logoaninasjon\3D.\render\dealogo\v02’
2017-12-18 13:09:51: 0: INFO: Rendering main output to network drive
2017-12-18 13:09:51: 0: INFO: Validating the path: ‘T:\18002-Screen-Media-logoaninasjon\3D.\render\dealogo\v02\AOV’
2017-12-18 13:09:51: 0: INFO: Rendering multipass output to network drive
2017-12-18 13:09:51: 0: INFO: Argument: -nogui -render “T:\18002-Screen-Media-logoaninasjon\3D\dvalin-dea-logoanim-04.c4d” -frame 0 14 -take “Main” -oresolution 1920 1080 -redshift-gpu 0 -redshift-gpu 1 -oimage “T:\18002-Screen-Media-logoaninasjon\3D.\render\dealogo\v02\dea-logo” -omultipass “T:\18002-Screen-Media-logoaninasjon\3D.\render\dealogo\v02\AOV\matbuf”
2017-12-18 13:09:51: 0: INFO: Full Command: “C:\Program Files\MAXON\CINEMA 4D R19\Commandline.exe” -nogui -render “T:\18002-Screen-Media-logoaninasjon\3D\dvalin-dea-logoanim-04.c4d” -frame 0 14 -take “Main” -oresolution 1920 1080 -redshift-gpu 0 -redshift-gpu 1 -oimage “T:\18002-Screen-Media-logoaninasjon\3D.\render\dealogo\v02\dea-logo” -omultipass “T:\18002-Screen-Media-logoaninasjon\3D.\render\dealogo\v02\AOV\matbuf”
2017-12-18 13:09:51: 0: INFO: Startup Directory: “C:\Program Files\MAXON\CINEMA 4D R19”
2017-12-18 13:09:51: 0: INFO: Process Priority: BelowNormal
2017-12-18 13:09:51: 0: INFO: Process Affinity: default
2017-12-18 13:09:51: 0: INFO: Process is now running
2017-12-18 13:09:51: 0: STDOUT: Application start : 12/18/17 at 13:09:51
2017-12-18 13:09:51: 0: STDOUT: Executable : 64 Bit
2017-12-18 13:09:51: 0: STDOUT: Version / Build : 19.024 / RB209858
2017-12-18 13:09:51: 0: STDOUT: Debugger : not available
2017-12-18 13:09:51: 0: STDOUT: Memory model : release
2017-12-18 13:09:51: 0: STDOUT: Startup path : file:///C:/Program Files/MAXON/CINEMA 4D R19
2017-12-18 13:09:51: 0: STDOUT: Application path : file:///C:/Program Files/MAXON/CINEMA 4D R19/Commandline.exe
2017-12-18 13:09:51: 0: STDOUT: Application executable : file:///C:/Program Files/MAXON/CINEMA 4D R19/Commandline.exe
2017-12-18 13:09:51: 0: STDOUT: Resource path : file:///C:/Program Files/MAXON/CINEMA 4D R19/resource
2017-12-18 13:09:51: 0: STDOUT: Module path(s) : file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs
2017-12-18 13:09:51: 0: STDOUT: Temporary path : file:///C:/Users/racecar/AppData/Local/Temp
2017-12-18 13:09:51: 0: STDOUT: Prefs path : file:///C:/Users/racecar/AppData/Roaming/MAXON/CINEMA 4D R19_BFE04C39
2017-12-18 13:09:51: 0: STDOUT: Global Prefs path : file:///C:/Users/racecar/AppData/Roaming/MAXON
2017-12-18 13:09:51: 0: STDOUT: OS version : Windows 10, 64 Bit, Professional Edition (build 15063)
2017-12-18 13:09:51: 0: STDOUT: Processor : 18(36)x Intel Xeon CPU E5-2697 v4
2017-12-18 13:09:51: 0: STDOUT: Computer name : RENDER103
2017-12-18 13:09:51: 0: STDOUT: Thread Count : 36
2017-12-18 13:09:51: 0: STDOUT: Cpu Speed (MHz) : 2350.000
2017-12-18 13:09:51: 0: STDOUT: Application Type : Modular
2017-12-18 13:09:51: 0: STDOUT: Command line arguments : “-nogui” “-render” “T:\18002-Screen-Media-logoaninasjon\3D\dvalin-dea-logoanim-04.c4d” “-frame” “0” “14” “-take” “Main” “-oresolution” “1920” “1080” “-redshift-gpu” “0” “-redshift-gpu” “1” “-oimage” “T:\18002-Screen-Media-logoaninasjon\3D.\render\dealogo\v02\dea-logo” “-omultipass” “T:\18002-Screen-Media-logoaninasjon\3D.\render\dealogo\v02\AOV\matbuf”
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/browser.xdl64 with module(s) net.maxon.c4d.browser
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/c4dplugin.xdl64 with module(s) net.maxon.c4dplugin net.maxon.c4d.c4dplugin
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/crashhandler.module.xdl64 with module(s) net.maxon.crashhandler
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/crypt.module.xdl64 with module(s) net.maxon.crypt
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/drawport.module.xdl64 with module(s) net.maxon.drawport
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/drawport_general.module.xdl64 with module(s) net.maxon.drawport_general
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/drawport_opengl.module.xdl64 with module(s) net.maxon.drawport_opengl
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/drawport_selector.module.xdl64 with module(s) net.maxon.drawport_selector
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/embree.module.xdl64 with module(s) net.maxon.embree
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/geom.module.xdl64 with module(s) net.maxon.geom
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/gui.module.xdl64 with module(s) net.maxon.gui
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/image.module.xdl64 with module(s) net.maxon.image
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/image_openexr.module.xdl64 with module(s) net.maxon.image_openexr
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/image_winmf.module.xdl64 with module(s) net.maxon.image_winmf
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/io_obj.xdl64 with module(s) net.maxon.c4d.io_obj
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/math.module.xdl64 with module(s) net.maxon.math
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/mesh.module.xdl64 with module(s) net.maxon.mesh
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/misc.module.xdl64 with module(s) net.maxon.misc
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/mkmodeler.xdl64 with module(s) net.maxon.c4d.mkmodeler
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/network.module.xdl64 with module(s) net.maxon.network
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/opencl.module.xdl64 with module(s) net.maxon.opencl
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/opensubdiv.module.xdl64 with module(s) net.maxon.opensubdiv
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/render.module.xdl64 with module(s) net.maxon.render
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/shaderbase.module.xdl64 with module(s) net.maxon.shaderbase
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/tessellation.module.xdl64 with module(s) net.maxon.tessellation
2017-12-18 13:09:51: 0: STDOUT: Loading file:///C:/Program Files/MAXON/CINEMA 4D R19/corelibs/xtensions.xdl64 with module(s) net.maxon.c4d.xtensions
2017-12-18 13:09:51: 0: STDOUT: WARNING: Warning: Could not load dll. (relative:///opencl.dll) [win_dll.cpp(314)]
2017-12-18 13:09:51: 0: STDOUT: Cause: Windows System Error #126: The specified module could not be found. [win_dll.cpp(309)] [main.cpp(13)]
2017-12-18 13:09:51: 0: STDOUT: Could not initialize OpenGL root context: UnsupportedOperationError [ogl_context_win.cpp(1226)]
2017-12-18 13:09:51: 0: STDOUT: OpenGL root context initialized
2017-12-18 13:09:51: 0: STDOUT: Vendor : VMware, Inc. (VMWARE)
2017-12-18 13:09:51: 0: STDOUT: Renderer : Gallium 0.4 on llvmpipe (LLVM 4.0, 256 bits)
2017-12-18 13:09:51: 0: STDOUT: OpenGL version: 3.3 (Core Profile) Mesa 17.0.1 (git-)
2017-12-18 13:09:51: 0: STDOUT: Driver version: 17.0.1 (git-)
2017-12-18 13:09:52: 0: STDOUT: msg: override imagesize to 1920 1080
2017-12-18 13:09:52: 0: STDOUT: Loading Project: T:\18002-Screen-Media-logoaninasjon\3D\dvalin-dea-logoanim-04.c4d
2017-12-18 13:09:52: 0: STDOUT: Several plugins used in this project are missing.
2017-12-18 13:09:52: 0: STDOUT: Saving may cause loss of plugin data!
2017-12-18 13:09:52: 0: STDOUT: Plugin ‘Redshift’ (ID 1036219)
2017-12-18 13:09:52: 0: STDOUT: Plugin ‘Redshift Object’ (ID 1036222)
2017-12-18 13:09:52: 0: STDOUT: Plugin ‘Redshift Camera’ (ID 1036760)
2017-12-18 13:09:52: 0: STDOUT: Plugin ‘Redshift Light’ (ID 1036751)
2017-12-18 13:09:52: 0: STDOUT: Plugin ‘CV-ArtSmart PathInfo’ (ID 1028660)
2017-12-18 13:09:52: 0: STDOUT: Rendering frame 0 at <Mon Dec 18 13:09:52 2017>
2017-12-18 13:09:52: 0: STDOUT: Rendering Phase: Setup
2017-12-18 13:09:52: 0: STDOUT: Progress: 0%
2017-12-18 13:09:52: 0: STDOUT: Asset Error: Plugin Shader Redshift Shader Graph (light)
2017-12-18 13:09:52: 0: STDOUT: Asset Error: Plugin Shader Redshift Shader Graph (dark)
2017-12-18 13:09:52: 0: STDOUT: Rendering failed: Asset missing
2017-12-18 13:09:52: 0: STDOUT: Warning: Unknown arguments: -redshift-gpu -redshift-gpu
2017-12-18 13:09:52: 0: Done executing plugin command of type ‘Render Task’

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

Date: 12/18/2017 13:09:55
Frames: 0-14
Elapsed Time: 00:00:00:07
Job Submit Date: 12/18/2017 13:09:45
Job User: bonsa
Average RAM Usage: 4598005760 (4%)
Peak RAM Usage: 4598005760 (4%)
Average CPU Usage: 7%
Peak CPU Usage: 15%
Used CPU Clocks (x10^6 cycles): 16655
Total CPU Clocks (x10^6 cycles): 237927

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

Slave Name: RENDER103
Version: v10.0.8.3 Release (15e43b383)
Operating System: Windows 10 Pro
Running As Service: No
Machine User: racecar
IP Address: 10.0.0.146
MAC Address: 38:D5:47:CA:3D:B8
CPU Architecture: x64
CPUs: 36
CPU Usage: 4%
Memory Usage: 4.3 GB / 127.9 GB (3%)
Free Disk Space: 1.700 TB
Video Card: NVIDIA GeForce GTX 1080 Ti
[/code]

Anybody have an idea what i might be doing wrong here? Cant seem to figure this out.
Any help appreciated.

-b

I tried to set all the en vars as permanent system variables in windows but DL still does not pass the env vars when i submit c4d/rs jobs from c4d and errors with a asset missing: meaning it cant find the redshift plugin. Do i have to permanently set these env vars localy on every slave to make this work?
Any tips would be appreciated.

-b

Hey bonsak,

It looks like you’re not running the proper executable?

The plugin should be pointed to your batch script.

I’m going to be a bit preemptive here… but depending on your C4D R19 version, you’re also going to run into another issue once you do this though.

In R18/R19, MAXON introduced a bug that’s only recently been acknowledged/fixed where they’ll only parse 1 path for “C4D_PLUGINS_DIR”. The problem with this, is that Deadline uses this to hook into C4D. We describe this issue you would experience here in our C4D docs. MAXON has contacted us and said it will be fixed in R19 SP2.

There’s been a few other threads similar to this: https://forums.thinkboxsoftware.com/viewtopic.php?f=11&t=15609. Hope this helps.

Cheers
Morgan

Ok cool. Thanks.
When pointing DL to a modified cmd file that also passes the incoming args like this:

[code]@ECHO OFF

SET REDSHIFT_COREDATAPATH=\FASTLANE\arkivet_3D_Central\Redshift
SET REDSHIFT_PLUGINPATH=\FASTLANE\arkivet_3D_Central\Redshift\Plugins\C4D\R19\Redshift

SET C4D_SCRIPTS_DIR=\FASTLANE\arkivet_3D_Central\Maxon\C4D\scripts
SET C4D_PLUGINS_DIR=\FASTLANE\arkivet_3D_Central\Maxon\C4D\plugins
SET C4D_BROWSERLIBS=\FASTLANE\arkivet_3D_Central\Maxon\C4D\libraries\

START /B “” “C:\Program Files\MAXON\Cinema 4D R19\Commandline.exe” %*[/code]
DL starts the slaves and loads the tasks with out problems but completes the job witout rendering anything.
Is there something i need to add in the cmd file to prevent this? Rendering the full render arg on the commandline works fine and renders the frames it is supposed to. See slave log below.

[code]=======================================================
Log

2017-12-22 10:16:09: 0: Loading Job’s Plugin timeout is Disabled
2017-12-22 10:16:11: 0: Executing plugin command of type ‘Sync Files for Job’
2017-12-22 10:16:11: 0: All job files are already synchronized
2017-12-22 10:16:11: 0: Plugin Cinema4D was already synchronized.
2017-12-22 10:16:11: 0: Done executing plugin command of type ‘Sync Files for Job’
2017-12-22 10:16:11: 0: Executing plugin command of type ‘Initialize Plugin’
2017-12-22 10:16:11: 0: INFO: Executing plugin script ‘C:\Users\Franck\AppData\Local\Thinkbox\Deadline10\slave\franck-ws\plugins\5a3bcbfb967dc55774ded1af\Cinema4D.py’
2017-12-22 10:16:12: 0: INFO: About: Cinema 4D Plugin for Deadline
2017-12-22 10:16:12: 0: INFO: Render Job As User disabled, running as current user ‘Franck’
2017-12-22 10:16:12: 0: INFO: The job’s environment will be merged with the current environment before rendering
2017-12-22 10:16:12: 0: Done executing plugin command of type ‘Initialize Plugin’
2017-12-22 10:16:12: 0: Start Job timeout is disabled.
2017-12-22 10:16:12: 0: Task timeout is disabled.
2017-12-22 10:16:12: 0: Loaded job: dvalin-dea-logoanim-06.c4d (5a3bcbfb967dc55774ded1af)
2017-12-22 10:16:12: 0: Executing plugin command of type ‘Start Job’
2017-12-22 10:16:12: 0: INFO: Executing global job preload script ‘C:\Users\Franck\AppData\Local\Thinkbox\Deadline10\slave\franck-ws\plugins\5a3bcbfb967dc55774ded1af\GlobalJobPreLoad.py’
2017-12-22 10:16:12: 0: INFO: Looking for AWS Portal File Transfer…
2017-12-22 10:16:12: 0: INFO: Looking for File Transfer controller in C:/Program Files/Thinkbox/S3BackedCache/bin/task.py…
2017-12-22 10:16:12: 0: INFO: Could not find AWS Portal File Transfer.
2017-12-22 10:16:12: 0: INFO: AWS Portal File Transfer is not installed on the system.
2017-12-22 10:16:12: 0: Done executing plugin command of type ‘Start Job’
2017-12-22 10:16:12: 0: Plugin rendering frame(s): 0-24
2017-12-22 10:16:12: 0: Executing plugin command of type ‘Render Task’
2017-12-22 10:16:12: 0: INFO: Starting Cinema 4D Task
2017-12-22 10:16:12: 0: INFO: Stdout Redirection Enabled: True
2017-12-22 10:16:12: 0: INFO: Stdout Handling Enabled: True
2017-12-22 10:16:12: 0: INFO: Popup Handling Enabled: True
2017-12-22 10:16:12: 0: INFO: QT Popup Handling Enabled: False
2017-12-22 10:16:12: 0: INFO: WindowsForms10.Window.8.app.* Popup Handling Enabled: False
2017-12-22 10:16:12: 0: INFO: Using Process Tree: True
2017-12-22 10:16:12: 0: INFO: Hiding DOS Window: True
2017-12-22 10:16:12: 0: INFO: Creating New Console: False
2017-12-22 10:16:12: 0: INFO: Running as user: Franck
2017-12-22 10:16:12: 0: INFO: Not enforcing a build of Cinema 4D
2017-12-22 10:16:12: 0: INFO: Executable: “S:_3D_Central\Maxon\RUN_CMD_C4D_19.cmd”
2017-12-22 10:16:12: 0: INFO: Validating the path: ‘T:\18002-Screen-Media-logoaninasjon\3D.\render\dealogo$prj’
2017-12-22 10:16:12: 0: INFO: Rendering main output to network drive
2017-12-22 10:16:12: 0: INFO: Validating the path: ‘T:\18002-Screen-Media-logoaninasjon\3D.\render\dealogo$prj\AOV’
2017-12-22 10:16:12: 0: INFO: Rendering multipass output to network drive
2017-12-22 10:16:12: 0: INFO: Argument: -nogui -render “T:\18002-Screen-Media-logoaninasjon\3D\dvalin-dea-logoanim-06.c4d” -frame 0 24 -take “Main” -oresolution 1920 1080 -oimage “T:\18002-Screen-Media-logoaninasjon\3D.\render\dealogo$prj\dea-logo” -omultipass “T:\18002-Screen-Media-logoaninasjon\3D.\render\dealogo$prj\AOV\matbuf”
2017-12-22 10:16:12: 0: INFO: Full Command: “S:_3D_Central\Maxon\RUN_CMD_C4D_19.cmd” -nogui -render “T:\18002-Screen-Media-logoaninasjon\3D\dvalin-dea-logoanim-06.c4d” -frame 0 24 -take “Main” -oresolution 1920 1080 -oimage “T:\18002-Screen-Media-logoaninasjon\3D.\render\dealogo$prj\dea-logo” -omultipass “T:\18002-Screen-Media-logoaninasjon\3D.\render\dealogo$prj\AOV\matbuf”
2017-12-22 10:16:12: 0: INFO: Startup Directory: “S:_3D_Central\Maxon”
2017-12-22 10:16:12: 0: INFO: Process Priority: BelowNormal
2017-12-22 10:16:12: 0: INFO: Process Affinity: default
2017-12-22 10:16:12: 0: INFO: Process is now running
2017-12-22 10:16:12: 0: STDOUT: Application start : 12/22/17 at 10:16:12
2017-12-22 10:16:12: 0: STDOUT: Executable : 64 Bit
2017-12-22 10:16:12: 0: STDOUT: Version / Build : 19.024 / RB209858
2017-12-22 10:16:12: 0: STDOUT: Debugger : not available
2017-12-22 10:16:12: 0: STDOUT: Memory model : release
2017-12-22 10:16:12: 0: STDOUT: Startup path : file:///C:/Program Files/MAXON/Cinema 4D R19
2017-12-22 10:16:12: 0: STDOUT: Application path : file:///C:/Program Files/MAXON/Cinema 4D R19/Commandline.exe
2017-12-22 10:16:12: 0: STDOUT: Application executable : file:///C:/Program Files/MAXON/Cinema 4D R19/Commandline.exe
2017-12-22 10:16:12: 0: STDOUT: Resource path : file:///C:/Program Files/MAXON/Cinema 4D R19/resource
2017-12-22 10:16:12: 0: STDOUT: Module path(s) : file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs
2017-12-22 10:16:12: 0: STDOUT: Temporary path : file:///C:/Users/Franck/AppData/Local/Temp
2017-12-22 10:16:12: 0: STDOUT: Prefs path : file:///C:/Users/Franck/AppData/Roaming/MAXON/Cinema 4D R19_BFE04C39
2017-12-22 10:16:12: 0: STDOUT: Global Prefs path : file:///C:/Users/Franck/AppData/Roaming/MAXON
2017-12-22 10:16:12: 0: STDOUT: OS version : Windows 10, 64 Bit, Professional Edition (build 15063)
2017-12-22 10:16:12: 0: STDOUT: Processor : 18(36)x Intel Xeon CPU E5-2697 v4
2017-12-22 10:16:12: 0: STDOUT: Computer name : FRANCK-WS
2017-12-22 10:16:12: 0: STDOUT: Thread Count : 36
2017-12-22 10:16:12: 0: STDOUT: Cpu Speed (MHz) : 2300.000
2017-12-22 10:16:12: 0: STDOUT: Application Type : Modular
2017-12-22 10:16:13: 0: STDOUT: Command line arguments : “-nogui” “-render” “T:\18002-Screen-Media-logoaninasjon\3D\dvalin-dea-logoanim-06.c4d” “-frame” “0” “24” “-take” “Main” “-oresolution” “1920” “1080” “-oimage” “T:\18002-Screen-Media-logoaninasjon\3D.\render\dealogo$prj\dea-logo” “-omultipass” “T:\18002-Screen-Media-logoaninasjon\3D.\render\dealogo$prj\AOV\matbuf”
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/browser.xdl64 with module(s) net.maxon.c4d.browser
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/c4dplugin.xdl64 with module(s) net.maxon.c4dplugin net.maxon.c4d.c4dplugin
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/crashhandler.module.xdl64 with module(s) net.maxon.crashhandler
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/crypt.module.xdl64 with module(s) net.maxon.crypt
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/drawport.module.xdl64 with module(s) net.maxon.drawport
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/drawport_general.module.xdl64 with module(s) net.maxon.drawport_general
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/drawport_opengl.module.xdl64 with module(s) net.maxon.drawport_opengl
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/drawport_selector.module.xdl64 with module(s) net.maxon.drawport_selector
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/embree.module.xdl64 with module(s) net.maxon.embree
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/geom.module.xdl64 with module(s) net.maxon.geom
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/gui.module.xdl64 with module(s) net.maxon.gui
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/image.module.xdl64 with module(s) net.maxon.image
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/image_openexr.module.xdl64 with module(s) net.maxon.image_openexr
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/image_winmf.module.xdl64 with module(s) net.maxon.image_winmf
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/io_obj.xdl64 with module(s) net.maxon.c4d.io_obj
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/math.module.xdl64 with module(s) net.maxon.math
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/mesh.module.xdl64 with module(s) net.maxon.mesh
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/misc.module.xdl64 with module(s) net.maxon.misc
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/mkmodeler.xdl64 with module(s) net.maxon.c4d.mkmodeler
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/network.module.xdl64 with module(s) net.maxon.network
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/opencl.module.xdl64 with module(s) net.maxon.opencl
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/opensubdiv.module.xdl64 with module(s) net.maxon.opensubdiv
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/render.module.xdl64 with module(s) net.maxon.render
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/shaderbase.module.xdl64 with module(s) net.maxon.shaderbase
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/tessellation.module.xdl64 with module(s) net.maxon.tessellation
2017-12-22 10:16:13: 0: STDOUT: Loading file:///C:/Program Files/MAXON/Cinema 4D R19/corelibs/xtensions.xdl64 with module(s) net.maxon.c4d.xtensions
2017-12-22 10:16:13: 0: INFO: Process exit code: 0
2017-12-22 10:16:13: 0: INFO: Finished Cinema 4D Task
2017-12-22 10:16:13: 0: Done executing plugin command of type ‘Render Task’[/code]

I may have gotten ahead of myself :blush: . You shouldn’t be affected by that C4D_PLUGINS_DIR issue since you aren’t using the batch plugin.

So I decided to test this out, and I can definitely repeat this myself with a minimal case. I seem to have also gotten it to work by adding the /wait option :smiley:! So…

START /b /wait "" "C:\Program Files\MAXON\Cinema 4D R19\Commandline.exe" %*

So I’m not the most familiar with TELNET, but it seems like it’d be required for this. When you test outside of deadline it doesn’t matter, since C4D is still running but the START command finished which is why Deadline receives exit code 0 before C4D finishes running.

Anyways, let me know how it goes!

Cheers

Thanks alot. Ill try it out tomorrow.

-b

Privacy | Site terms | Cookie preferences