Request: Cinema 4D R23 Submission Plugin

Hello

Is it possible to get a submission plugin for C4D R23 ?

Tried to copy the one from R21, at it didn’t work.

try copying the S/R22 version from 10.1.9.2

don’t have r23 yet but it’s more likely to work

Also would like to get some sort of “official” R23 submission plugin or confirmation from devs that it should work good.
I will test the S22 submission script and report back if it works.

Hey guys,

Have tried the R22 plugins from Deadline v10.1.9.2 in R23 and getting the following error -

Traceback (most recent call last):
  File "C:\Program Files\Maxon Cinema 4D R23\plugins\DeadlineC4DClient.pyp", line 80, in <module>
main()
  File "C:\Program Files\Maxon Cinema 4D R23\plugins\DeadlineC4DClient.pyp", line 57, in main
if path.startswith( "Error:" ):
TypeError:startswith first arg must be bytes or a tuple of bytes, not str

Any quick fixes for this?

Thanks very much

Hi Will,

Got the same issue, I only changed the following 2 files
C:\DeadlineRepository10\scripts\Submission\Cinema4DSubmission.py
(added ‘23’ onto line 27)

Added this to
C:\DeadlineRepository10\plugins\Cinema4D\Cinema4D.param
(and the batch plugin)

[C4D_23_RenderExecutable]
Label=C4D 23 Executable
Category=Render Executables
CategoryOrder=0
Index=14
Type=multilinemultifilename
Default=C:\Program Files\Maxon Cinema 4D R23\Commandline.exe;/Applications/MAXON/CINEMA 4D R23/Commandline.app/Contents/MacOS/Commandline;C:\Program Files\Maxon\CINEMA 4D R22\CINEMA 4D.exe;/Applications/MAXON/CINEMA 4D R22/CINEMA 4D.app/Contents/MacOS/CINEMA 4D
Description=The path to the Cinema 4D executable file used for rendering. Enter alternative paths on separate lines.

The PYP file has this around the error

def main():
    # Get the repository path
    path = GetRepositoryPath( "submission/Cinema4D/Main" ).strip()
    if path.startswith( "Error:" ):
        print( path )
    elif path != "":
        path = path.replace( "\\", "/" )

I’m not sure why this line breaks it…

if path.startswith( “Error:” ):

I think this is a Python 3/2 thing

If I modify the code to read as so… (changing path. to str(path).)

def main():
    # Get the repository path
    path = GetRepositoryPath( "submission/Cinema4D/Main" ).strip()
    if str(path).startswith( "Error:" ):
        print( path )
    elif path != "":
        path = str(path).replace( "\\", "/" )

Then it fails further down

Appending "b'////scala//DeadlineRepository10//submission/Cinema4D/Main'" to system path to import SubmitC4DToDeadline module
Traceback (most recent call last):
  File "C:\Program Files\Maxon Cinema 4D R23\plugins\DeadlineC4DClient.pyp", line 66, in main
    import SubmitC4DToDeadline
ModuleNotFoundError: No module named 'SubmitC4DToDeadline'

The SubmitC4DToDeadline.py script could not be found in the Deadline Repository. Please make sure that the Deadline Client has been installed on this machine, that the Deadline Client bin folder is set in the DEADLINE_PATH environment variable, and that the Deadline Client has been configured to point to a valid Repository.
>>> 

So I figure I can hardcode the repo location on line 55 (note triple slash start)

elif path != "":
    path = str("\\\scala\DeadlineRepository10\submission\Cinema4D\Main" )

but then I get this error

Appending "\\scala\DeadlineRepository10\submission\Cinema4D\Main" to system path to import SubmitC4DToDeadline module
Could not load ConfigParser module, sticky settings will not be loaded/saved
>>> 

But I do get the submission form at the bottom of the ‘Extensions’ menu
image
I only have a trial license so no CLR, may try the export option though

Privacy | Site terms | Cookie preferences