Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: Lucutus on 2017-04-25, 14:12:15

Title: Corona 1.6 and Thinkbox Deadline UHD Cache not working?
Post by: Lucutus on 2017-04-25, 14:12:15
Hello there,

today we made the first try outs with the new Corona 1.6 in our company. Installation etc worked smooth as usual.
But we are facing a strange behavior at the moment. We use deadline from Thinkbox as render management tool.

We we are trying to send a normal render job to the deadline server and the scene is using UHD Cache as second solver we get the attached message.

Any ideas how to solve this?

greeetz

Lucutus


Title: Re: Corona 1.6 and Thinkbox Deadline UHD Cache not working?
Post by: Ondra on 2017-04-25, 14:43:01
the parameter was renamed to uhdcache. We will contact deadline to deal with this
Title: Re: Corona 1.6 and Thinkbox Deadline UHD Cache not working?
Post by: Lucutus on 2017-04-25, 14:54:44
Thanks Ondra !!!
Title: Re: Corona 1.6 and Thinkbox Deadline UHD Cache not working?
Post by: maru on 2017-04-25, 14:55:23
Hello, this is a known, already fixed issue. Please update Deadline to the newest version.

Here is a quote from the Deadline developers:
Quote
Deadline 9.0.2 was released last week which now completes all outstanding issues/features for Corona 1.6:
http://docs.thinkboxsoftware.com/products/deadline/9.0/1_User%20Manual/manual/release-notes.html

That error is fixed in the above SP. The user can also fix it themselves quickly by updating "_Functions.ms" file in their repo from:

gi_hdCache_save --> gi_uhdCache_save (as you renamed a maxscript property in this SP).

Let us know if anything does not work as expected!
Title: Re: Corona 1.6 and Thinkbox Deadline UHD Cache not working?
Post by: Lucutus on 2017-04-26, 08:21:54
on our first test everythings seems back to normal now.

thanks for the quick reply. I will let you know if we are facing any other problems.

greetz

Lucutus
Title: Re: Corona 1.6 and Thinkbox Deadline UHD Cache not working?
Post by: Monkeybrother on 2017-04-26, 09:24:04
We run Deadline for our farm and we have a guy that comes in and does all the upgrading and maintenance, but that takes forever. If I want to change that line in "_functions.ms" myself, is there a way to find where the repository is installed?

Edit: I found the repository (SubmitMaxToDeadline_Functions.ms ?), but the script contains a lot of gi_hdCache_* (not just gi_hdCache_save). Should all of those be changed or just "gi_hdCache_save"?
Title: Re: Corona 1.6 and Thinkbox Deadline UHD Cache not working?
Post by: Ondra on 2017-04-26, 10:56:03
I would change all of them
Title: Re: Corona 1.6 and Thinkbox Deadline UHD Cache not working?
Post by: PKonst on 2017-07-13, 14:09:58
I wasn't able to find that thread using brief forum search, so please, stick it somewhere or feature in Helpdesk.
Because we spent day of work trying to submit jobs to Deadline / contacting both Thinkbox and Corona support without success.

Thinkbox support is sure that only Deadline 9 supports Corona 1.6+ (paid upgrade in our case)
which is not true.

Quick fix featured in this thread works like a charm even for Deadline 7.
Title: Re: Corona 1.6 and Thinkbox Deadline UHD Cache not working?
Post by: maru on 2017-07-13, 14:56:20
Sorry for that, we will update our helpdesk with this info.
Title: Re: Corona 1.6 and Thinkbox Deadline UHD Cache not working?
Post by: mike_kennedy on 2017-08-16, 15:37:12
Being hit by this as well, does anyone have a corrected version of this script?
Title: Re: Corona 1.6 and Thinkbox Deadline UHD Cache not working?
Post by: mike_kennedy on 2017-08-16, 15:46:04
I am not a scripter  (Artist) so when  I replaced the two lines I found when searching the deadline script it didn't fix things and came up with more errors, there is another line that I get an error on, and pasting the code from the help desk doesn't fix things.
Can we revert bake to 1.5 to fix this, happening in Max 2016 even though I only installed (As far as I know) the  1.7 daily into Max 2018
Title: Re: Corona 1.6 and Thinkbox Deadline UHD Cache not working?
Post by: mike_kennedy on 2017-08-16, 15:54:22
I tried just replacing the line mentioned in the posts and on the help desk link (Artist here)

I replaced everything with that had

gi_hdCache

not just the

gi_hdCache_save

because that didn't work

either way I changed it I still get  this error, can't submit anything right now

here is the current error line


   if ((isProperty renderers.current #gi_uhdCache_precalcMode) AND (getProperty renderers.current #gi_uhdCache_precalcMode == 2)) OR ((getProperty renderers.current #gi_uhdCache_save) AND (getProperty renderers.current #gi_uhdCache_save)) do
                           append theFilenameProps #gi_uhdCache_file



Could some one post a working copy of the script to so we can test it?


No rush on this, we aren't ready to spend the time upgrading our network immediately, we are in testing mode right now before making that big a jump.
Mike K