Krakatoa-Deadline Will not Detect 1.6

Hello Prime Focus

I just installed Krakatoa 1.6. When I want to partition in Krakatoa, Krakatoa will not detect Deadline 4.1 it will not find it. I was running before Krakatoa 1.5.1 and it did detect it and work fine. I reinstall Deadline 4.1 it did not help still the same. Any idea what’s happening.
Log Info text

PRG:
PRG: -----9/1/2010 4:35:39 PM--------------------------
PRG: >Opening Krakatoa GUI…
PRG: >Initializing Krakatoa Renderer v1.6.0.43178…
PRG: +Krakatoa Renderer INITIALIZED in 4 milliseconds.
PRG: >Initializing Krakatoa Renderer v1.6.0.43178…
PRG: +Krakatoa Renderer INITIALIZED in 1 milliseconds.
PRG: >Detecting Deadline Render Manager…
PRG: +Submit Max To Deadline Functions ALREADY LOADED!
PRG: +Krakatoa GUI Floater OPENED in 20449ms.
PRG: >Detecting Deadline Render Manager…
WRN: -FAILED to Detect a supported version (3, 4 or higher) of Deadline Render Manager.
PRG: >Initializing Krakatoa Renderer v1.6.0.43178…
PRG: +Krakatoa Renderer INITIALIZED in 1 milliseconds.
PRG: >Initializing Krakatoa Renderer v1.6.0.43178…
PRG: +Krakatoa Renderer INITIALIZED in 4 milliseconds.
PRG: +Krakatoa GUI CLOSED.
PRG: -----9/1/2010 4:37:42 PM--------------------------
PRG:
PRG:
PRG: -----9/1/2010 4:37:51 PM--------------------------
PRG: >Opening Krakatoa GUI…
PRG: +Krakatoa GUI Floater OPENED in 653ms.
PRG: >Detecting Deadline Render Manager…
PRG: +Submit Max To Deadline Functions ALREADY LOADED!
PRG: >Detecting Deadline Render Manager…
WRN: -FAILED to Detect a supported version (3, 4 or higher) of Deadline Render Manager.
PRG: >Detecting Deadline Render Manager…
WRN: -FAILED to Detect a supported version (3, 4 or higher) of Deadline Render Manager.
PRG: +Krakatoa GUI CLOSED.
PRG: -----9/1/2010 4:41:19 PM--------------------------
PRG:
PRG: >Initializing Krakatoa Renderer v1.6.0.43178…
PRG: +Krakatoa Renderer INITIALIZED in 2 milliseconds.
PRG:
PRG: -----9/1/2010 4:41:52 PM--------------------------
PRG: >Opening Krakatoa GUI…
PRG: +Krakatoa GUI Floater OPENED in 571ms.
PRG: >Detecting Deadline Render Manager…
PRG: +Submit Max To Deadline Functions ALREADY LOADED!
PRG: >Detecting Deadline Render Manager…
WRN: -FAILED to Detect a supported version (3, 4 or higher) of Deadline Render Manager.

Thank you
Cheers,
Norm:

Hi Norm,

I will need a real Step By Step description of everything you were doing.
Looking at the log, Krakatoa actually DOES find the SMTD functions loaded.
Then it tries to detect them again for some reason and fails.
I would love to know why it is attempting it multiple times, so I need the exact steps to reproduce what you are seeing.

For example, here is what happens on my machine:

*I assign Krakatoa using the toolbar icon or Krakatoa menu and the log says
PRG: -----9/1/2010 2:19:48 PM--------------------------
PRG: >Opening Krakatoa GUI…
PRG: >Initializing Krakatoa Renderer v1.6.0.43178…
PRG: +Krakatoa Renderer INITIALIZED in 16 milliseconds.
PRG: +Krakatoa GUI Floater OPENED in 8297ms.

*I then switch to Save Particles To File Sequence mode and expand the Partitioning rollout. At this point, the Log Window says:
PRG: >Detecting Deadline Render Manager…
PRG: +Deadline Render Manager DETECTED on your system!
PRG: +FOUND a local up-to-date copy of Submit Max To Deadline Functions file.
PRG: +LOADED Submit Max To Deadline Functions in 8015ms.

Comparing this to your log, it looks like the call to detect Krakatoa is issued multiple times for some reason.
For example

PRG: -----9/1/2010 4:41:52 PM--------------------------
PRG: >Opening Krakatoa GUI…
PRG: +Krakatoa GUI Floater OPENED in 571ms.
PRG: >Detecting Deadline Render Manager…
PRG: +Submit Max To Deadline Functions ALREADY LOADED!
PRG: >Detecting Deadline Render Manager…
WRN: -FAILED to Detect a supported version (3, 4 or higher) of Deadline Render Manager.

This calls the detection twice and the first time it reports it found the functions, right after that it says it failed. This could be related as the function might be stepping on its own toes performing the check twice in a row.

So I want to know whether YOU pressed the button to detect Deadline the second time, or did it just happen automatically. Normally, the Detection should be performed once when the Partitioning rollout is opened, and if the functions are found, it should not reload again.

Also, once it fails, please paste this in the MAXScript Listener, press the NumPad Enter key and tell me what value it returns:

FranticParticleRenderMXS.DeadlineDetected

Another thing to try - what happens if you open the Submit To Deadline script that ships with Deadline and leave it open, then launch Krakatoa and try to partition? Would it show the same error?

Thank you for your patience!

Another simpler thing to try:

Open a Command Prompt in Windows and type in

deadlinecommand

You should see a long list of usage rules printed to the window.

If the PATH variable was not set correctly so that Deadline binaries could be called directly without explicit path, it would explain why Krakatoa would “fail to detect” the Deadline Repository. In future updates, I will add much better reporting since I have an internal flag for the cases where the call to “deadlinecommandbg” times out (it is set to 5 seconds), but I don’t report that to the Krakatoa Log which is a pity. If the “deadlinecommand” call in the Command Prompt of Windows does produce a valid output, I will send you a modified script with some debugging code so we can understand what is happening…

Hello Prime Focus

I did what you told me open ( Submit 3dsmax job to Deadline Script ) and leave it open then start Krakatoa and now it did detect it.
I close max and submit 3dsmax job to Deadline script. I reopen MAX and Krakatoa to see if I need to open submit 3dsmax job to Deadline script.
I don’t need to open submit 3dsmax job to Deadline script it working without it open.
Thank you!

Cheers,

PS Yes I did click it twice before for the detection.

Norm:

Glad to hear it is working now!

Can you still try to open a Windows Command Prompt and type
deadlinecommand
in it to see if it recognizes it? I just want to make sure there isn’t a bug in the Krakatoa side of the code since I am unable to reproduce the problem here…

Hello Prime Focus / Bobo

I open cmd / DOS I have not used this back in Quake1 days! I get a long list of information.
Do you need me to send this list to you?

Thank you. Bobo!

Cheers,

Norm

No, just wanted to make sure it prints something instead of complaining like
‘deadlinecommand’ is not recognized as an internal or external command, operable program or batch file.

I am still unsure what was broken, but I am happy we found a solution. Looking through the code, it appeared that the call to the deadline submitter to get the Repository Path was failing in your case. I will improve the error messages in that section for the future…