AWS Thinkbox Discussion Forums

Vrscene MultiMatte Render Element Not Assembling

Hey all,

in a nightly build of vray for sketchup, they have implemented the new multi-matte render element both in SU and in the vrscene file. However, deadline does not like the naming of the render element.

As always, we use vrscene files, rendered as multiple tiles and then assembled. Everything works great, but now with the multimatte (MM) element, we get this error on the assembly process:

2018-03-12 18:17:39: 0: STDOUT: Assembling Single File 2018-03-12 18:17:39: 0: STDOUT: Assembling File: U:\XXXXX\03-TAMMANY\psd-jpg\View_02 Interior View\Base Files\View02_Interior_charlie_yes_glass.MM(1).exr 2018-03-12 18:17:39: 0: STDOUT: Writing File to temporary location: C:\Users\Caro\AppData\Local\Thinkbox\Deadline10\slave\caro\jobsData\5aa6caa4a55e62dc20c90e5d\AssembledImage_tempsq3bX0\View02_Interior_charlie_yes_glass.MM(1).exr 2018-03-12 18:17:39: 0: STDOUT: Tiles are not cropped 2018-03-12 18:17:39: 0: STDOUT: Image height and width not provided. Final image dimensions will be based off first tile provided. 2018-03-12 18:17:39: 0: STDOUT: TileCount given: 100 2018-03-12 18:17:39: 0: STDOUT: Unable to read file: U:\XXXXX\03-TAMMANY\psd-jpg\View_02 Interior View\Base Files\_tile0_View02_Interior_charlie_yes_glass.MM(1).exr for tile: Tile0 2018-03-12 18:17:39: 0: STDOUT: exr_input_file Error: failed to open exr file U:\XXXXX\03-TAMMANY\psd-jpg\View_02 Interior View\Base Files\_tile0_View02_Interior_charlie_yes_glass.MM(1).exr 2018-03-12 18:17:39: 0: STDOUT: Draft Tile Assembler Failed! See job log for more details. 2018-03-12 18:17:39: 0: STDOUT: Traceback (most recent call last): 2018-03-12 18:17:39: 0: STDOUT: File "C:\Users\Caro\AppData\Local\Thinkbox\Deadline10\slave\caro\plugins\5aa6caa4a55e62dc20c90e5d\Assembler.py", line 148, in <module> 2018-03-12 18:17:39: 0: STDOUT: tileImage = Draft.Image.ReadFromFile(tileFilename, tileImageInfo) 2018-03-12 18:17:39: 0: STDOUT: RuntimeError: exr_input_file Error: failed to open exr file U:\XXXXX\03-TAMMANY\psd-jpg\View_02 Interior View\Base Files\_tile0_View02_Interior_charlie_yes_glass.MM(1).exr 2018-03-12 18:17:39: 0: INFO: Process exit code: 1 2018-03-12 18:17:39: 0: Done executing plugin command of type 'Render Task'

For reference, the elements are saved as:

I know we’ve had this problem before when denoiser was first introduced, and obviously the problem is the extra underscore. Is there a way to switch up the parser so it recognizes this channel? thanks!

edit: correction, the parser does seem to be functioning, but its showing:

[code]The following output file paths were found within the scene:


U:\XXXXX\03-TAMMANY\psd-jpg\View_02 Interior View\Base Files\View02_Interior_charlie_no_glass.MaterialID.exr
U:\XXXXX\03-TAMMANY\psd-jpg\View_02 Interior View\Base Files\View02_Interior_charlie_no_glass.MM(1).exr[/code]

Can you send me a teapot? Being able to play with some data is always appreciated.

The config file and the tiles should be everything. Scene might be helpful too if you’re okay with that.

Not sure what you mean by config files, but I’ll send along all the files I can.

The render element is:

RenderChannelMultiMatte _RenderChannelMultiMatte0 { name="MM(1,2)"; red_id=1; green_id=2; blue_id=0; }

when its parsed, it shows:

[code]The following output file paths were found within the scene:

U:\Tmp\multimatte upload\multimattetest.png
U:\Tmp\multimatte upload\multimattetest.MM(1,2).png
U:\Tmp\multimatte upload\multimattetest.MaterialID.png

Would you like to continue to submit the job?[/code]

the tiles are named:

_tile1_multimattetest.MM_1_2_.png

and finally, when it assembles, it wants to:

[code]=======================================================
Log

2018-03-15 16:50:18: 0: Loading Job’s Plugin timeout is Disabled
2018-03-15 16:50:20: 0: Executing plugin command of type ‘Sync Files for Job’
2018-03-15 16:50:20: 0: Synchronization time for job files: 124.946 ms
2018-03-15 16:50:20: 0: Synchronizing Plugin DraftTileAssembler from R:\deadline10\plugins\DraftTileAssembler took: 0 seconds
2018-03-15 16:50:20: 0: Done executing plugin command of type ‘Sync Files for Job’
2018-03-15 16:50:20: 0: Executing plugin command of type ‘Initialize Plugin’
2018-03-15 16:50:20: 0: INFO: Executing plugin script ‘C:\Users\Natasha\AppData\Local\Thinkbox\Deadline10\slave\johnny5-night\plugins\5aaadc48a55e624c147c5e72\DraftTileAssembler.py’
2018-03-15 16:50:20: 0: INFO: Found Draft python module at: ‘C:\Users\Natasha\AppData\Local\Thinkbox\Deadline10\slave\johnny5-night\Draft\Draft.pyd’
2018-03-15 16:50:20: 0: INFO: About: Draft Tile Assembler Plugin for Deadline
2018-03-15 16:50:20: 0: INFO: Render Job As User disabled, running as current user ‘Natasha’
2018-03-15 16:50:20: 0: INFO: The job’s environment will be merged with the current environment before rendering
2018-03-15 16:50:20: 0: Done executing plugin command of type ‘Initialize Plugin’
2018-03-15 16:50:20: 0: Start Job timeout is disabled.
2018-03-15 16:50:20: 0: Task timeout is disabled.
2018-03-15 16:50:20: 0: Loaded job: mm test - Assembly (5aaadc48a55e624c147c5e72)
2018-03-15 16:50:21: 0: Executing plugin command of type ‘Start Job’
2018-03-15 16:50:21: 0: INFO: Executing global asset transfer preload script ‘C:\Users\Natasha\AppData\Local\Thinkbox\Deadline10\slave\johnny5-night\plugins\5aaadc48a55e624c147c5e72\GlobalAssetTransferPreLoad.py’
2018-03-15 16:50:21: 0: INFO: Looking for AWS Portal File Transfer…
2018-03-15 16:50:21: 0: INFO: Looking for File Transfer controller in C:/Program Files/Thinkbox/S3BackedCache/bin/task.py…
2018-03-15 16:50:21: 0: INFO: Could not find AWS Portal File Transfer.
2018-03-15 16:50:21: 0: INFO: AWS Portal File Transfer is not installed on the system.
2018-03-15 16:50:21: 0: INFO: Executing global job preload script ‘C:\Users\Natasha\AppData\Local\Thinkbox\Deadline10\slave\johnny5-night\plugins\5aaadc48a55e624c147c5e72\GlobalJobPreLoad.py’
2018-03-15 16:50:21: 0: INFO: Looking for AWS Portal File Transfer…
2018-03-15 16:50:21: 0: INFO: Looking for File Transfer controller in C:/Program Files/Thinkbox/S3BackedCache/bin/task.py…
2018-03-15 16:50:21: 0: INFO: Could not find AWS Portal File Transfer.
2018-03-15 16:50:21: 0: INFO: AWS Portal File Transfer is not installed on the system.
2018-03-15 16:50:21: 0: Done executing plugin command of type ‘Start Job’
2018-03-15 16:50:21: 0: Plugin rendering frame(s): 2
2018-03-15 16:50:21: 0: Executing plugin command of type ‘Render Task’
2018-03-15 16:50:21: 0: INFO: Draft Tile Assembler job starting…
2018-03-15 16:50:21: 0: INFO: Stdout Redirection Enabled: True
2018-03-15 16:50:21: 0: INFO: Stdout Handling Enabled: True
2018-03-15 16:50:21: 0: INFO: Popup Handling Enabled: False
2018-03-15 16:50:21: 0: INFO: Using Process Tree: True
2018-03-15 16:50:21: 0: INFO: Hiding DOS Window: True
2018-03-15 16:50:21: 0: INFO: Creating New Console: False
2018-03-15 16:50:21: 0: INFO: Running as user: Natasha
2018-03-15 16:50:21: 0: INFO: Looking for bundled python at: ‘C:\Program Files\Thinkbox\Deadline10\bin\dpython.exe’
2018-03-15 16:50:21: 0: INFO: Executable: “C:\Program Files\Thinkbox\Deadline10\bin\dpython.exe”
2018-03-15 16:50:21: 0: INFO: Argument: “C:\Users\Natasha\AppData\Local\Thinkbox\Deadline10\slave\johnny5-night\plugins\5aaadc48a55e624c147c5e72\Assembler.py” “C:\Users\Natasha\AppData\Local\Thinkbox\Deadline10\slave\johnny5-night\jobsData\5aaadc48a55e624c147c5e72\thread0_tempIDcB50\multimattetest.MM(1,2).png_1_config_2018_03_15_16_49_12.txt” True False False “C:\Users\Natasha\AppData\Local\Thinkbox\Deadline10\slave\johnny5-night\jobsData\5aaadc48a55e624c147c5e72\AssembledImage_temprJoLC0”
2018-03-15 16:50:21: 0: INFO: Full Command: “C:\Program Files\Thinkbox\Deadline10\bin\dpython.exe” “C:\Users\Natasha\AppData\Local\Thinkbox\Deadline10\slave\johnny5-night\plugins\5aaadc48a55e624c147c5e72\Assembler.py” “C:\Users\Natasha\AppData\Local\Thinkbox\Deadline10\slave\johnny5-night\jobsData\5aaadc48a55e624c147c5e72\thread0_tempIDcB50\multimattetest.MM(1,2).png_1_config_2018_03_15_16_49_12.txt” True False False “C:\Users\Natasha\AppData\Local\Thinkbox\Deadline10\slave\johnny5-night\jobsData\5aaadc48a55e624c147c5e72\AssembledImage_temprJoLC0”
2018-03-15 16:50:21: 0: INFO: Startup Directory: “C:\Users\Natasha\AppData\Local\Thinkbox\Deadline10\slave\johnny5-night\Draft”
2018-03-15 16:50:21: 0: INFO: Process Priority: BelowNormal
2018-03-15 16:50:21: 0: INFO: Process Affinity: default
2018-03-15 16:50:21: 0: INFO: Process is now running
2018-03-15 16:50:21: 0: STDOUT: Draft 1.6.8
2018-03-15 16:50:21: 0: STDOUT: Checking for a license…
2018-03-15 16:50:21: 0: STDOUT: Error on missing tiles = True
2018-03-15 16:50:21: 0: STDOUT: Error on missing Background = False
2018-03-15 16:50:21: 0: STDOUT: Temporary Folder = “C:\Users\Natasha\AppData\Local\Thinkbox\Deadline10\slave\johnny5-night\jobsData\5aaadc48a55e624c147c5e72\AssembledImage_temprJoLC0”
2018-03-15 16:50:21: 0: STDOUT: Distance as pixels = False
2018-03-15 16:50:21: 0: STDOUT: Assembling Single File
2018-03-15 16:50:21: 0: STDOUT: Assembling File: U:\Tmp\multimatte upload\multimattetest.MM(1,2).png
2018-03-15 16:50:21: 0: STDOUT: Writing File to temporary location: C:\Users\Natasha\AppData\Local\Thinkbox\Deadline10\slave\johnny5-night\jobsData\5aaadc48a55e624c147c5e72\AssembledImage_temprJoLC0\multimattetest.MM(1,2).png
2018-03-15 16:50:21: 0: STDOUT: Tiles are not cropped
2018-03-15 16:50:21: 0: STDOUT: Image height and width not provided. Final image dimensions will be based off first tile provided.
2018-03-15 16:50:21: 0: STDOUT: TileCount given: 25
2018-03-15 16:50:21: 0: STDOUT: Unable to read file: U:\Tmp\multimatte upload_tile0_multimattetest.MM(1,2).png for tile: Tile0
2018-03-15 16:50:21: 0: STDOUT: File does not exist
2018-03-15 16:50:21: 0: STDOUT: Magick: UnableToOpenBlob U:\Tmp\multimatte upload\_tile0_multimattetest.MM(1,2).png': No such file or directory @ error/blob.c/OpenBlob/2695 2018-03-15 16:50:21: 0: STDOUT: Draft Tile Assembler Failed! See job log for more details. 2018-03-15 16:50:21: 0: STDOUT: Traceback (most recent call last): 2018-03-15 16:50:21: 0: STDOUT: File "C:\Users\Natasha\AppData\Local\Thinkbox\Deadline10\slave\johnny5-night\plugins\5aaadc48a55e624c147c5e72\Assembler.py", line 148, in <module> 2018-03-15 16:50:21: 0: STDOUT: tileImage = Draft.Image.ReadFromFile(tileFilename, tileImageInfo) 2018-03-15 16:50:21: 0: STDOUT: RuntimeError: Magick: UnableToOpenBlobU:\Tmp\multimatte upload_tile0_multimattetest.MM(1,2).png’: No such file or directory @ error/blob.c/OpenBlob/2695
2018-03-15 16:50:21: 0: INFO: Process exit code: 1
2018-03-15 16:50:21: 0: Done executing plugin command of type ‘Render Task’[/code]

just fyi, i posted the same thing at chaos and konstantin responded:

forums.chaosgroup.com/forum/v-r … ent-naming

I’m not sure what side would be easier to fix on or who’s camp this more falls into, just wanted to keep everyone abreast of the info

It’s a bit tricky because we don’t know if/when the name is going to get mangled… Ideally V-Ray wouldn’t sanitize the output, but I can see why they would want to. If you’re on Linux the brackets can cause people issues if you’re trying to type the filename.

If we know it’s going to be the way forward that V-Ray is going to sanitize their output, if we had the rules they plan to follow we could bake it in.

I think at the moment it makes more sense on their side, and ideally clean them before the vrscene is written. That would ensure the paths we see are exactly as they’ll be used. Push comes to shove we could work around it, but I think the less magic at render time the better.

Just a quick update: vray changed this in a nightly build, and I can confirm, everything is working great now. Its now writing to the vrscene with underscores so that the standalone and deadline all read it correctly.

That’s great to hear!

Solid! I’ll update our dev issue.

Privacy | Site terms | Cookie preferences