Message "An exception occured when loading DRA")

Hello,

Everything renders fine locally. I am using the farm to render an IR Pass in vray.

I am getting this error message on the farm. Any ideas? Thank you! -Nick

Message “An exception occured when loading DRA”

Here is the whole error message:

Error Message

Exception during render: An error occurred in RenderTasks(): RenderTask: Unexpected exception (Dialog popup detected: Title “Exception”, Message “An exception occured when loading DRA”)
at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)

=======================================================
Slave Log

INFO: Updating object (led_bulb13)
0: INFO: Updating object (led_bulb32)
0: INFO: Updating object (led_bulb31)
0: INFO: Updating object (led_bulb30)
0: INFO: Updating object (led_bulb01)
0: INFO: Updating object (led_bulb16)
0: INFO: Updating object (led_bulb28)
0: INFO: Updating object (led_bulb17)
0: INFO: Updating object (led_bulb19)
0: INFO: Updating object (led_bulb10)
0: INFO: Updating object (led_bulb20)
0: INFO: Updating object (led_bulb14)
0: INFO: Updating object (led_bulb21)
0: INFO: Updating object (led_bulb11)
0: INFO: Updating object (led_bulb12)
0: INFO: Updating object (led_bulb05)
0: INFO: Updating object (led_bulb26)
0: INFO: Updating object (led_bulb18)
0: INFO: Updating object (led_bulb27)
0: INFO: Updating object (led_bulb06)
0: INFO: Updating object (led_bulb04)
0: INFO: Updating object (led_bulb24)
0: INFO: Updating object (led_bulb22)
0: INFO: Updating object (led_bulb09)
0: INFO: Updating object (led_bulb29)
0: INFO: Updating object (Tail_HairNFur)
0: INFO: Updating object (Tail_HairNFur) [00:02:44.9] [00:03:02.7 est]
0: INFO: Updating object (Plane04)
0: INFO: Updating object (Geo_Sagitarius)
0: INFO: Updating object (Box01)
0: INFO: Updating object (Box01): done [00:02:44.9]
0: INFO: Updating instances
0: INFO: Updating instances (Hair MR Object02)
0: INFO: Updating instances (Hair MR Object01)
0: INFO: Updating instances (HairVrObject02)
0: WARNING: Detected popup dialog “Exception”.
0: WARNING: ---- dump of dialog ----
0: WARNING: Button: OK
0: WARNING: Static: An exception occured when loading DRA
0: WARNING: ---- end dump of dialog ----
Scheduler Thread - Render Thread 0 threw an error:
Scheduler Thread - Exception during render: An error occurred in RenderTasks(): RenderTask: Unexpected exception (Dialog popup detected: Title “Exception”, Message “An exception occured when loading DRA”)

at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)

=======================================================
Error Type

RenderPluginException

=======================================================
Error Stack Trace

at Deadline.Plugins.Plugin.RenderTask(Int32 startFrame, Int32 endFrame)
at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask()

Hey Nick,

We can add a popup handler to press OK on that popup, although if the error is fatal, it won’t make a difference.

Before we do that, are you able to open Max in interactive mode on the render node producing the error to see if it renders without Deadline? If you still get the error, maybe there is an inconsistency between your workstation and the render node that is causing the problem

Cheers,

  • Ryan

In the process of asking IT guy who isnt here…

Anyway I could send you the file?

Thanks,
N

If it’s a simple test scene, then sure! However, if it references plugins or other assets that are specific to your setup, it might not work on our end.

If you want to add the popup handler in the meantime to see if that helps, here’s what to do:

  1. Go to \your\repository\plugins\3dsmax and open 3dsmax.py in a text editor.
  2. Near the bottom, you’ll see a bunch of lines that look like “self.AddPopupHandler( … )”.
  3. Insert the following line among the other popup handlers:
self.AddPopupHandler( ".*Exception.*", "OK" )
  1. Save the file and submit the job again.

This code will allow Deadline to press the OK button to allow the render to continue. Then we just have to see if the rendering is successful or not.

Cheers,

  • Ryan

Hi Russell,

Thanks I will try it!

I turned on the workstations as nodes and windows 7 says max application has stopped working…Everytime. I tried to see if the error pops but it crashes too fast for me to tell!

I will try to render from other workstations to see if it works.

Hi Russell,

Looks as if it was a fatal error. The script didnt save it from crashing. I checked the deadline slave window on the node and it seems to crash right as its updating an object with hair. Also I am PM’ing you with a link to the file!

If you want to render the actual image change animation prepass under indirect illumination tab in vray it to “single frame” mode. And make sure the dont render final image checkbox is checked off (located under vray global switchs tab.

Thanks!
-N

Still getting this:

Error Message

Exception during render: An error occurred in RenderTasks(): RenderTask: Unexpected exception (Dialog popup detected: Title “Exception”, Message “An exception occured when loading DRA”)
at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)

=======================================================
Slave Log

INFO: Updating object (led_bulb13)
0: INFO: Updating object (led_bulb32)
0: INFO: Updating object (led_bulb31)
0: INFO: Updating object (led_bulb30)
0: INFO: Updating object (led_bulb01)
0: INFO: Updating object (led_bulb16)
0: INFO: Updating object (led_bulb28)
0: INFO: Updating object (led_bulb17)
0: INFO: Updating object (led_bulb19)
0: INFO: Updating object (led_bulb10)
0: INFO: Updating object (led_bulb20)
0: INFO: Updating object (led_bulb14)
0: INFO: Updating object (led_bulb21)
0: INFO: Updating object (led_bulb11)
0: INFO: Updating object (led_bulb12)
0: INFO: Updating object (led_bulb05)
0: INFO: Updating object (led_bulb26)
0: INFO: Updating object (led_bulb18)
0: INFO: Updating object (led_bulb27)
0: INFO: Updating object (led_bulb06)
0: INFO: Updating object (led_bulb04)
0: INFO: Updating object (led_bulb24)
0: INFO: Updating object (led_bulb22)
0: INFO: Updating object (led_bulb09)
0: INFO: Updating object (led_bulb29)
0: INFO: Updating object (Tail_HairNFur)
0: INFO: Updating object (Tail_HairNFur) [00:02:45.4] [00:03:03.3 est]
0: INFO: Updating object (Plane04)
0: INFO: Updating object (Geo_Sagitarius)
0: INFO: Updating object (Box01)
0: INFO: Updating object (Box01): done [00:02:45.4]
0: INFO: Updating instances
0: INFO: Updating instances (Hair MR Object02)
0: INFO: Updating instances (Hair MR Object01)
0: INFO: Updating instances (HairVrObject02)
0: WARNING: Detected popup dialog “Exception”.
0: WARNING: ---- dump of dialog ----
0: WARNING: Button: OK
0: WARNING: Static: An exception occured when loading DRA
0: WARNING: ---- end dump of dialog ----
Scheduler Thread - Render Thread 0 threw an error:
Scheduler Thread - Exception during render: An error occurred in RenderTasks(): RenderTask: Unexpected exception (Dialog popup detected: Title “Exception”, Message “An exception occured when loading DRA”)

at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)

=======================================================
Error Type

RenderPluginException

=======================================================
Error Stack Trace

at Deadline.Plugins.Plugin.RenderTask(Int32 startFrame, Int32 endFrame)
at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask()

Thanks for the scene! I tested it out on our test farm, and it rendered without any problems. I used 3dsmax 2011 (64 bit) with VRay 1.50 SP5 (demo version). So it must be something specific to your setup…

You shouldn’t be getting the same error message though, as the change we made should be pressing OK on it (as opposed to dumping the popup contents to the log). Can you send us your 3dsmax.py file that you edited? We’ll take a look to see if the hander is setup correctly.

Cheers,
Ryan

WOW! THATS AWESOME IT WORKS OVER THERE… FYI i turned those textures into something really small hope it still looks good :slight_smile:
You’ve got me excited now. Ohman I hope we can get it working.

Also i uploaded the 3dsmax.py file here

nickolation.com/3dsmax.zip

Let me know if I did that right!
-N

BTW did you render on Windows 7?

I was having some issues where I had to run max in administrator mode for the hair fur to render correctly in vray.

I asked our IT guy he said Deadline does open Max in Admin mode?

-N

Also just realized I have been calling you by your last name…

Sorry RYan!

Hi,
The attached 3dsmax.py file has the updated popup handler code to handle the dialog that is appearing for you. Looks like the issue is something to do with the hair/proxy objects being loaded…possible corruption somewhere?

3dsmax.zip (15.6 KB)
Mike

HI Mike,

Thanks for the file Ill give it a try.

Its not scene corruption. I opened up a fresh max, dropped a sphere and the hair fur modifier. Changed to vray render mr prim hair setting under effects and let it rip.

Computer has same crash. For some reason my workstation is the only machine here that can do this without crash. Also the only mac running bootcamp.

PC Permission settings? Ram allocation? I’m not sure. Running windows 7. UAC disabled. Any ideas?

Also hair and fur writes a file somehwere onto the harddrive from what I hear. Does anyone know where this file goes?

Oohh my god. No errors thus far and the machines have been rendering for 3 minutes. This might have done it!!! Ill keep you posted!

IR PASS rendered OUT with 0 errors~!! :slight_smile: Thank you guys!

VERY MUCH~

-Nick

Thanks for confirming! We’ll include this handler in the next release.

Cheers,
Ryan

HI Guys I’m back.

UGHHH… IRPASS RENDERED FINE WITH NO PROBLEMS. THen I go to Render the Beauty. RENDERS WITH NO PROBLEMS.

Buttt when I look at my beauty render. THE HAIR AND FUR is just not there. No sign of it. As if it never loaded it. Checked the tast reports and all and it definitley loaded and updated all my hair objects. I even tried hair objects with a single hair!! still nothing.

Very interesting. I don’t belive its DEADLINE. Just wanted to let you know anyways. :frowning:

Going to go try the Chaos Forums.

-Nick