Tile Assembler problem Vray+De 3.1

Hi! I have some problem with Tile Assembler for XP-SP2 64 bit + 3dMax 2009 64bit + Vray 1.5 + Deadline 3.1 (35390)
When i start render with Tile assembling, after rendering i take this message

[code]Error Message
Exception during render: An error occurred in RenderTasks(): RenderTask: Unexpected exception (Exception caught in 3ds max: – Type error: Call needs function or class, got: undefined
2011/03/17 19:59:06 INF: Loaded C:/Documents and Settings/Administrator/Local Settings/Application Data/Frantic Films/Deadline/slave/jobsData/Aqq.max
2011/03/17 19:59:15 INF: Job: C:/Documents and Settings/Administrator/Local Settings/Application Data/Frantic Films/Deadline/slave/jobsData/Aqq.max
2011/03/17 19:59:17 ERR: Could not read/write file type: _tile_1x2_1x2_0000
) (Deadline.Plugins.ScriptPlugin+FailRenderException) (Deadline.Plugins.RenderPluginException)
at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)

Slave Log
: Prepass 3 of 3…
0: INFO: Prepass 3 of 3… [00:00:00,6] [00:00:07,6 est]
0: INFO: Prepass 3 of 3… [00:00:01,0] [00:00:10,2 est]
0: INFO: Prepass 3 of 3… [00:00:01,6] [00:00:08,1 est]
0: INFO: Prepass 3 of 3… [00:00:02,0] [00:00:05,7 est]
0: INFO: Prepass 3 of 3… [00:00:02,6] [00:00:04,5 est]
0: INFO: Prepass 3 of 3… [00:00:03,1] [00:00:04,3 est]
0: INFO: Prepass 3 of 3… [00:00:03,7] [00:00:04,6 est]
0: INFO: Prepass 3 of 3… [00:00:04,1] [00:00:04,9 est]
0: INFO: Prepass 3 of 3… [00:00:04,7] [00:00:05,2 est]
0: INFO: Prepass 3 of 3… [00:00:05,1] [00:00:05,5 est]
0: INFO: Prepass 3 of 3… [00:00:05,7] [00:00:05,9 est]
0: INFO: Prepass 3 of 3…: done [00:00:06,1]
---- March 17 2011 – 08:01 PM ----
Repository time: 03/17/2011 19:55:20
---- March 17 2011 – 08:03 PM ----
0: INFO: Lightning: CallCurRendererRenderFrame returned code 1
0: INFO: Lightning: Render done
0: INFO: Executing script: C:\Documents and Settings\Administrator\Local Settings\Application Data\Frantic Films\Deadline\slave\jobsData\maxTileAssemblerCommand.ms
0: INFO: >Using 64 bit Tile Assembler
---- March 17 2011 – 08:04 PM ----
Scheduler Thread - Render Thread 0 threw an error:
Scheduler Thread - Exception during render: An error occurred in RenderTasks(): RenderTask: Unexpected exception (Exception caught in 3ds max: – Type error: Call needs function or class, got: undefined
2011/03/17 19:59:06 INF: Loaded C:/Documents and Settings/Administrator/Local Settings/Application Data/Frantic Films/Deadline/slave/jobsData/Aqq.max

2011/03/17 19:59:15 INF: Job: C:/Documents and Settings/Administrator/Local Settings/Application Data/Frantic Films/Deadline/slave/jobsData/Aqq.max

2011/03/17 19:59:17 ERR: Could not read/write file type: _tile_1x2_1x2_0000

) (Deadline.Plugins.ScriptPlugin+FailRenderException) (Deadline.Plugins.RenderPluginException)

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()

[/code]

Can you help me with this problem like in this thread
http://forums.thinkboxsoftware.com/viewtopic.php?f=11&t=4509&p=18343&hilit=64+tile+assembler#p18343
Mybe i need replace some code in maxTileAssemblerCommand.ms?

Hmmm…i write to my friend. He use Deadline 4.1 Sp1 and he too have this problem.
If he use Tile Assembler for 3dMax 9 64 bit with Vray 1.5 in SMTD 4.1 he take this exeption

Log from Slave:

[code]0: INFO: Lightning: Writing to output file: C:\Users\Burn\Documents\3dsmax\renderoutput\123_tile_1x3_1x4_0000.bmp
0: INFO: Lightning: Checking render elements
0: INFO: Executing script: C:\Users\Burn\AppData\Local\Prime Focus\Deadline\slave\jobsData\maxTileAssemblerCommand.ms
0: INFO: >Using 64 bit Tile Assembler
Scheduler Thread - Render Thread 0 threw an error:
Scheduler Thread - Exception during render: An error occurred in RenderTasks(): RenderTask: Unexpected exception (Exception caught in 3ds max: – Type error: Call needs function or class, got: undefined
2011/03/19 14:19:58 INF: Loaded C:/Users/Burn/AppData/Local/Prime Focus/Deadline/slave/jobsData/untitled.max

2011/03/19 14:19:59 INF: Job: C:/Users/Burn/AppData/Local/Prime Focus/Deadline/slave/jobsData/untitled.max

)

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

Exception Details

RenderPluginException – Exception during render: An error occurred in RenderTasks(): RenderTask: Unexpected exception (Exception caught in 3ds max: – Type error: Call needs function or class, got: undefined
2011/03/19 14:19:58 INF: Loaded C:/Users/Burn/AppData/Local/Prime Focus/Deadline/slave/jobsData/untitled.max

2011/03/19 14:19:59 INF: Job: C:/Users/Burn/AppData/Local/Prime Focus/Deadline/slave/jobsData/untitled.max

)

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

RenderPluginException.Cause: JobError (2)

Exception.Data: ( )

Exception.TargetSite: Void RenderTask(Int32, Int32)

Exception.Source: deadline

Exception.StackTrace:

в Deadline.Plugins.Plugin.RenderTask(Int32 startFrame, Int32 endFrame)

в Deadline.Slaves.SlaveRenderThread.RenderCurrentTask()

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Constructor: 3dsmax
[/code]

Anyone have any ideas what am I doing wrong?

Oh! By the way! I’m attach log from slave in txt file.
logslave.txt (21.2 KB)

I looked at the code and found the problem.
You are using Max 9 which does not have the function “tolower()” implemented, it was added in Max 2008.
(I know it wasn’t me who wrote that line, I wouldn’t ever use toLower() as I prefer using matchPattern() which is case-insensitive by default).

So it should be easy to fix your script.

  1. In your Repository, go to the \submissions\3dsmax\ subfolder.
  2. Rename the file “maxTileAssemblerCommand.ms” to .bak
  3. Copy the attached file into that folder and unzip it into the folder.
  4. Submit a new job with tiles and see if it works.

Hope this helps!
maxTileAssemblerCommand_forMax9.zip (1.06 KB)

Thanks for catching that Bobo! We’ll have to fix this for the next Deadline release.

Cheers,

  • Ryan

It’s GREAT! Big big Thanx to Bobo - all worked good! You are the Best! )))