AWS Thinkbox Discussion Forums

Deadline C4D R21 - Redshift - Generator Bug

Would like to know if anyone has had problems rendering with generators on the last couple of versions of deadline (specifically the sweep nurb). On a few different scenes I’ve had to delete all sweep objects as they were the culprits.

Renders fine locally.

C4d R21.115
Redshift 3.0.09
Deadline 10.1.2.2

Error: RenderTask: Unexpected exception (Failed to Run Script)
at Deadline.Plugins.PluginWrapper.StartJob(String& outMessage, AbortLevel& abortLevel)

SystemError: r:\c4d_perforce_work\release\21.0\modules\python\source\PyDescription.cpp:268: bad argument to internal function

Job_2020-01-29_11-23-24_5e30d0ed67b4de32a4c6f0ea.7z (6.5 KB)

SweepNurb_BugTest.zip (55.8 KB)

1 Like

Been running into this too.
Totally hosed and it’s killing me

maybe it has to do with this func
Some random thing that isn’t actually defined…here we do, what ever needs to be done

1 Like

Blockquote
Traceback (most recent call last):
2020-01-29 10:26:10: 0: STDOUT: File “C:\Users\User\AppData\Local\Thinkbox\Deadline10\slave\SPS-8GPU-01-B\plugins\5e31a3faf17c1e530038f2f5\DeadlineConnect.pyp”, line 79, in DeadlineConnect
2020-01-29 10:26:10: 0: STDOUT: runPathMapping( deadlineTemp, texPathFilename )
2020-01-29 10:26:10: 0: STDOUT: File “C:\Users\User\AppData\Local\Thinkbox\Deadline10\slave\SPS-8GPU-01-B\plugins\5e31a3faf17c1e530038f2f5\DeadlineConnect.pyp”, line 283, in runPathMapping
2020-01-29 10:26:10: 0: STDOUT: GrabAllObjectsWithPaths(doc, objectsWithPaths)
2020-01-29 10:26:10: 0: STDOUT: File “C:\Users\User\AppData\Local\Thinkbox\Deadline10\slave\SPS-8GPU-01-B\plugins\5e31a3faf17c1e530038f2f5\DeadlineConnect.pyp”, line 248, in GrabAllObjectsWithPaths
2020-01-29 10:26:10: 0: STDOUT: WalkTree(doc, doc.GetFirstObject(), pathmapFilenames, args)
2020-01-29 10:26:10: 0: STDOUT: File “C:\Users\User\AppData\Local\Thinkbox\Deadline10\slave\SPS-8GPU-01-B\plugins\5e31a3faf17c1e530038f2f5\DeadlineConnect.pyp”, line 312, in WalkTree
2020-01-29 10:26:10: 0: STDOUT: WalkTree(doc, bl2d.GetDown(), func, args)
2020-01-29 10:26:10: 0: STDOUT: File “C:\Users\User\AppData\Local\Thinkbox\Deadline10\slave\SPS-8GPU-01-B\plugins\5e31a3faf17c1e530038f2f5\DeadlineConnect.pyp”, line 310, in WalkTree
2020-01-29 10:26:10: 0: STDOUT: DoPerEntity(doc, bl2d, func, args)
2020-01-29 10:26:10: 0: STDOUT: File “C:\Users\User\AppData\Local\Thinkbox\Deadline10\slave\SPS-8GPU-01-B\plugins\5e31a3faf17c1e530038f2f5\DeadlineConnect.pyp”, line 343, in DoPerEntity
2020-01-29 10:26:10: 0: STDOUT: DoPerEntity(doc, tag, func, args)
2020-01-29 10:26:10: 0: STDOUT: File “C:\Users\User\AppData\Local\Thinkbox\Deadline10\slave\SPS-8GPU-01-B\plugins\5e31a3faf17c1e530038f2f5\DeadlineConnect.pyp”, line 334, in DoPerEntity
2020-01-29 10:26:10: 0: STDOUT: func(bl2d,args)
2020-01-29 10:26:10: 0: STDOUT: File “C:\Users\User\AppData\Local\Thinkbox\Deadline10\slave\SPS-8GPU-01-B\plugins\5e31a3faf17c1e530038f2f5\DeadlineConnect.pyp”, line 382, in pathmapFilenames
2020-01-29 10:26:10: 0: STDOUT: for bc, paramid, groupid in description: # Iterate over the parameters of the description

1 Like

this is called later on but with func instead of pathmapFilenames…but func is nothing…it doesn’t exsist

What I don’t understand is that my last project had splines…but this kills it now.

In the short term remove all path mapping :smiley:
That should fix it as it skips and path replacement stuff and you can render again

1 Like

Confirming that removing all path mappings “fixes” it, but will keep looking for a better solution and update this thread if I do find it! Cheers.

1 Like

Hi, please you all submit official support tickets to Thinkbox if this is an urgent issue?
https://support.thinkboxsoftware.com/

1 Like

Thanks Mike, will do!

1 Like

Thank god it’s not just me it was doing my head in.

For the less knowledgeable could you give us a how-to on removing all path mappings?

is it just to delete these?:

Yes Sid, that’s all there is to it. And it goes into effect right after hitting OK (nothing to restart). Cheers, Robin.

1 Like

Unfortunately we can’t remove path mappings as it will break all cross-platform rendering… :frowning: Hopefully someone finds another way or Thinkbox fixes this soon.

Hi everyone,

I looked into this today and came up with a workaround (see attached). To install, extract the DeadlineConnect.pyp file from the zip archive. The file should be installed to DeadlineRepository10\plugins\Cinema4DBatch and overwrite the file that’s currently in there with the same name. We recommend backing up the original file before overwriting it. I did some basic testing to verify path mapping a texture still works, but if you run into any issues with the workaround, please let us know and we can look into it further.

This workaround simply skips objects that cause the error to be thrown (although it won’t skip the sweep object, the problem appears to be a hidden child object of generator objects). We’ve contacted Maxon to get more information on what’s causing the errors in the first place.

DeadlineConnect.zip (4.5 KB)

3 Likes

That seems to be working, thanks for the quick workaround Evan!

Privacy | Site terms | Cookie preferences