kim
May 26, 2017, 4:52pm
#1
Hello!
Draft is returning this error randomly when making a movie from an exr.
2017-05-26 13:37:31: 0: STDOUT: Assertion failed: (alpha == get_alpha( da, sa )), function operator(), file /tmp/FranticRegressions/Draft/git_draft_DraftAll/FranticImageLibrary/./frantic_image/operators/composite_operators.hpp, line 127.
2017-05-26 13:37:33: 0: INFO: Process exit code: 134
When trying to check
/tmp/FranticRegressions/Draft/git_draft_DraftAll/FranticImageLibrary/./frantic_image/operators/composite_operators.hpp
there is no file or directory.
Our setup:
Deadline 9.0.2.0
Draft 1.6.2
Also attaching a sample frame.
=======================================================
Log
2017-05-26 13:16:47: 0: Loading Job’s Plugin timeout is Disabled
2017-05-26 13:16:48: 0: Executing plugin command of type ‘Sync Files for Job’
2017-05-26 13:16:48: 0: Synchronization time for job files: 163.545 ms
2017-05-26 13:16:48: 0: Synchronizing Plugin DraftPlugin from /Users//Library/Application Support/Thinkbox/Deadline9/cache/1citBwBdy41TvgF7t31eKH3ys2c/plugins/DraftPlugin took: 0 seconds
2017-05-26 13:16:48: 0: Done executing plugin command of type ‘Sync Files for Job’
2017-05-26 13:16:48: 0: Executing plugin command of type ‘Initialize Plugin’
2017-05-26 13:16:49: 0: INFO: Executing plugin script '/Users/ /Library/Application Support/Thinkbox/Deadline9/slave//plugins/592854602673a4789ddf9b4e/DraftPlugin.py’
2017-05-26 13:16:53: 0: INFO: Found Draft python module at: '/Users/ /Library/Application Support/Thinkbox/Deadline9/slave//Draft/Draft.so’
2017-05-26 13:16:53: 0: INFO: About: Draft Plugin for Deadline
2017-05-26 13:16:53: 0: INFO: Render Job As User disabled, running as current user ' ’
2017-05-26 13:16:53: 0: INFO: The job’s environment will be merged with the current environment before rendering
2017-05-26 13:16:53: 0: Done executing plugin command of type ‘Initialize Plugin’
2017-05-26 13:16:53: 0: Start Job timeout is disabled.
2017-05-26 13:16:53: 0: Task timeout is disabled.
2017-05-26 13:16:53: 0: Loaded job: pp_050_flare_v1 [Draft Template] (592854602673a4789ddf9b4e)
2017-05-26 13:16:53: 0: Executing plugin command of type ‘Start Job’
2017-05-26 13:16:53: 0: INFO: Executing global job preload script ‘/Users//Library/Application Support/Thinkbox/Deadline9/slave/ /plugins/592854602673a4789ddf9b4e/GlobalJobPreLoad.py’
2017-05-26 13:16:53: 0: CheckPathMapping: Swapped “//_config" with "/ /_config”
2017-05-26 13:16:53: 0: Swapping NUKE_PATH from //_config to / /_config
2017-05-26 13:16:53: 0: CheckPathMapping: Swapped “/" with "/ ”
2017-05-26 13:16:53: 0: Swapping ROOTFOLDER from /**** to /****
2017-05-26 13:16:53: 0: Swapping FOLDER from to
2017-05-26 13:16:53: 0: CheckPathMapping: Swapped "/ /_config/ocio/alexa_ocioConfig_v3/alexa_ocioConfig_v3.ocio" with “//_config/ocio/alexa_ocioConfig_v3/alexa_ocioConfig_v3.ocio"
2017-05-26 13:16:53: 0: Swapping OCIO from / /_config/ocio/alexa_ocioConfig_v3/alexa_ocioConfig_v3.ocio to //_config/ocio/alexa_ocioConfig_v3/alexa_ocioConfig_v3.ocio
2017-05-26 13:16:53: 0: Swapping DEFAULTOCIOPATH from to
2017-05-26 13:16:53: 0: Swapping DEFAULTVERSIONPATH from to
2017-05-26 13:16:53: 0: CheckPathMapping: Swapped "/ /_config/ocio/alexa_ocioConfig_v3/luts/AlexaV3_K1S1_LogC2Video_Rec709_LL_nuke3d.cube” with “//_config/ocio/alexa_ocioConfig_v3/luts/AlexaV3_K1S1_LogC2Video_Rec709_LL_nuke3d.cube"
2017-05-26 13:16:53: 0: Swapping DEFAULTLUT from / /_config/ocio/alexa_ocioConfig_v3/luts/AlexaV3_K1S1_LogC2Video_Rec709_LL_nuke3d.cube to //_config/ocio/alexa_ocioConfig_v3/luts/AlexaV3_K1S1_LogC2Video_Rec709_LL_nuke3d.cube
2017-05-26 13:16:53: 0: Done executing plugin command of type ‘Start Job’
2017-05-26 13:16:53: 0: Plugin rendering frame(s): 1001-2001
2017-05-26 13:16:54: 0: Executing plugin command of type ‘Render Task’
2017-05-26 13:16:54: 0: INFO: Draft job starting…
2017-05-26 13:16:54: 0: INFO: Stdout Redirection Enabled: True
2017-05-26 13:16:54: 0: INFO: Asynchronous Stdout Enabled: False
2017-05-26 13:16:54: 0: INFO: Stdout Handling Enabled: True
2017-05-26 13:16:54: 0: INFO: Popup Handling Enabled: False
2017-05-26 13:16:54: 0: INFO: Using Process Tree: True
2017-05-26 13:16:54: 0: INFO: Hiding DOS Window: True
2017-05-26 13:16:54: 0: INFO: Creating New Console: False
2017-05-26 13:16:54: 0: INFO: Running as user: ****
2017-05-26 13:16:54: 0: INFO: Looking for bundled python at: ‘/Applications/Thinkbox/Deadline9/Resources/dpython’
2017-05-26 13:16:54: 0: INFO: Executable: “/Applications/Thinkbox/Deadline9/Resources/dpython”
2017-05-26 13:16:54: 0: CheckPathMapping: Swapped "/ /_config/ocio/alexa_ocioConfig_v3/alexa_ocioConfig_v3.ocio” with “//_config/ocio/alexa_ocioConfig_v3/alexa_ocioConfig_v3.ocio"
2017-05-26 13:16:54: 0: CheckPathMapping: Swapped "/ /pp/vfx/pp_050/comp/publish/pp_050_flare_v1/pp_050_flare_v1.####.exr” with “//pp/vfx/pp_050/comp/publish/pp_050_flare_v1/pp_050_flare_v1.####.exr"
2017-05-26 13:16:54: 0: CheckPathMapping: Swapped "/ /pp/vfx/pp_050/comp/publish/pp_050_flare_v1/…/./pp_050_flare_v1.mov” with “//pp/vfx/pp_050/comp/publish/pp_050_flare_v1/…/./pp_050_flare_v1.mov"
2017-05-26 13:16:54: 0: CheckPathMapping: Swapped "/ /pp/vfx/pp_050/comp/publish/pp_050_flare_v1/…/.” with “//pp/vfx/pp_050/comp/publish/pp_050_flare_v1/…/."
2017-05-26 13:16:54: 0: INFO: Argument: -u "/Users/ /Library/Application Support/Thinkbox/Deadline9/slave//jobsData/592854602673a4789ddf9b4e/draftTemplate.py" username=“santi” entity=“pp_050_comp” version=“pp_050_flare_v1” width=1280 height=720 projectRatio=2.39 projectFramerate=23.98 projectCodec=H264 projectAppendSlate=True projectBurnInInfo=True projectBurnInMask=True projectName= %20**** projectDesc=Flare%20element OCIO=//_config/ocio/alexa_ocioConfig_v3/alexa_ocioConfig_v3.ocio frameList=1001-5760 startFrame=1001 endFrame=5760 inFile="/ /pp/vfx/pp_050/comp/publish/pp_050_flare_v1/pp_050_flare_v1.####.exr” outFile="//pp/vfx/pp_050/comp/publish/pp_050_flare_v1/…/./pp_050_flare_v1.mov" outFolder="/ /pp/vfx/pp_050/comp/publish/pp_050_flare_v1/…/." deadlineJobID=5927682a2673a43a246df36c deadlineRepository=“: /fs/folder/load/folder?subDirectory=” taskStartFrame=1001 taskEndFrame=2001
2017-05-26 13:16:54: 0: INFO: Full Command: “/Applications/Thinkbox/Deadline9/Resources/dpython” -u “/Users//Library/Application Support/Thinkbox/Deadline9/slave/ /jobsData/592854602673a4789ddf9b4e/draftTemplate.py” username=“santi” entity=“pp_050_comp” version=“pp_050_flare_v1” width=1280 height=720 projectRatio=2.39 projectFramerate=23.98 projectCodec=H264 projectAppendSlate=True projectBurnInInfo=True projectBurnInMask=True projectName=%20 projectDesc=Flare%20element OCIO=//_config/ocio/alexa_ocioConfig_v3/alexa_ocioConfig_v3.ocio frameList=1001-5760 startFrame=1001 endFrame=5760 inFile="/ /pp/vfx/pp_050/comp/publish/pp_050_flare_v1/pp_050_flare_v1.####.exr" outFile="//pp/vfx/pp_050/comp/publish/pp_050_flare_v1/…/./pp_050_flare_v1.mov" outFolder="/ /pp/vfx/pp_050/comp/publish/pp_050_flare_v1/…/." deadlineJobID=5927682a2673a43a246df36c deadlineRepository=“: /fs/folder/load/folder?subDirectory=” taskStartFrame=1001 taskEndFrame=2001
2017-05-26 13:16:54: 0: INFO: Startup Directory: “/Users//Library/Application Support/Thinkbox/Deadline9/slave/ /Draft”
2017-05-26 13:16:54: 0: INFO: Process Priority: BelowNormal
2017-05-26 13:16:54: 0: INFO: Process Affinity: default
2017-05-26 13:16:54: 0: INFO: Process is now running
2017-05-26 13:16:54: 0: STDOUT: Checking for a license…
2017-05-26 13:16:56: 0: STDOUT: Draft 1.6.4
2017-05-26 13:16:56: 0: STDOUT: -----------------------
2017-05-26 13:16:56: 0: STDOUT: **********
2017-05-26 13:16:56: 0: STDOUT: DAILIES DRAFT TEMPLATE
2017-05-26 13:16:56: 0: STDOUT: v1.1.2
2017-05-26 13:16:56: 0: STDOUT: -----------------------
2017-05-26 13:16:56: 0: STDOUT: Command line args:
2017-05-26 13:16:56: 0: STDOUT: username=santi
2017-05-26 13:16:56: 0: STDOUT: entity=pp_050_comp
2017-05-26 13:16:56: 0: STDOUT: version=pp_050_flare_v1
2017-05-26 13:16:56: 0: STDOUT: width=1280
2017-05-26 13:16:56: 0: STDOUT: height=720
2017-05-26 13:16:56: 0: STDOUT: projectRatio=2.39
2017-05-26 13:16:56: 0: STDOUT: projectFramerate=23.98
2017-05-26 13:16:56: 0: STDOUT: projectCodec=H264
2017-05-26 13:16:56: 0: STDOUT: projectAppendSlate=True
2017-05-26 13:16:56: 0: STDOUT: projectBurnInInfo=True
2017-05-26 13:16:56: 0: STDOUT: projectBurnInMask=True
2017-05-26 13:16:56: 0: STDOUT: projectName= %20 **
2017-05-26 13:16:56: 0: STDOUT: projectDesc=Flare%20element
2017-05-26 13:16:56: 0: STDOUT: OCIO=//_config/ocio/alexa_ocioConfig_v3/alexa_ocioConfig_v3.ocio
2017-05-26 13:16:56: 0: STDOUT: frameList=1001-5760
2017-05-26 13:16:56: 0: STDOUT: startFrame=1001
2017-05-26 13:16:56: 0: STDOUT: endFrame=5760
2017-05-26 13:16:56: 0: STDOUT: inFile=/ /pp/vfx/pp_050/comp/publish/pp_050_flare_v1/pp_050_flare_v1.####.exr
2017-05-26 13:16:56: 0: STDOUT: outFile=//pp/vfx/pp_050/comp/publish/pp_050_flare_v1/…/./pp_050_flare_v1.mov
2017-05-26 13:16:56: 0: STDOUT: outFolder=/ /pp/vfx/pp_050/comp/publish/pp_050_flare_v1/…/.
2017-05-26 13:16:56: 0: STDOUT: deadlineJobID=5927682a2673a43a246df36c
2017-05-26 13:16:56: 0: STDOUT: deadlineRepository=: /fs/folder/load/folder?subDirectory=
2017-05-26 13:16:56: 0: STDOUT: taskStartFrame=1001
2017-05-26 13:16:56: 0: STDOUT: taskEndFrame=2001
2017-05-26 13:16:56: 0: STDOUT: //_config/ocio/alexa_ocioConfig_v3/luts/AlexaV3_K1S1_LogC2Video_Rec709_LL_nuke3d.cube
2017-05-26 13:16:56: 0: STDOUT: Creating H264 video encoder (1280x720 @ 23.98fps)
2017-05-26 13:16:56: 0: STDOUT: The first frame timecode starts at: None
2017-05-26 13:16:56: 0: STDOUT: No timecode found
2017-05-26 13:16:58: 0: STDOUT: [libx264 @ 0x7f86f3800000] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
2017-05-26 13:16:58: 0: STDOUT: [libx264 @ 0x7f86f3800000] profile Constrained Baseline, level 3.1
2017-05-26 13:16:58: 0: STDOUT: [libx264 @ 0x7f86f3800000] 264 - core 148 r2597 e86f3a1 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - videolan.org/x264.html - options: cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=0 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 slices=4 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=3 keyint_min=1 scenecut=40 intra_refresh=0 rc_lookahead=3 rc=crf mbtree=1 crf=12.5 qcomp=0.60 qpmin=4 qpmax=51 qpstep=4 ip_ratio=1.50 aq=1:1.00
2017-05-26 13:16:58: 0: STDOUT: Output #0 , mov, to '/ /pp/vfx/pp_050/comp/publish/pp_050_flare_v1/…/./pp_050_flare_v1.mov’:
2017-05-26 13:16:58: 0: STDOUT: Metadata:
2017-05-26 13:16:58: 0: STDOUT: encoder : Lavf56.40.101
2017-05-26 13:16:58: 0: STDOUT: Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuvj420p(pc, bt709), 1280x720, q=4-51, 19184 tbn, 23.98 tbc
2017-05-26 13:16:58: 0: STDOUT: Creating the burn in data
2017-05-26 13:16:58: 0: STDOUT: magick_input_file Warning for file //_config/scripts/submission/slateBackground.png : Magick: iCCP: known incorrect sRGB profile /****/_config/scripts/submission/slateBackground.png' @ warning/png.c/MagickPNGWarningHandler/1656 2017-05-26 13:16:58: 0: STDOUT: libpng warning: iCCP: known incorrect sRGB profile 2017-05-26 13:16:58: 0: STDOUT: magick_input_file Warning for file /****/_config/scripts/submission/slateBackground.png : Magick: iCCP: known incorrect sRGB profile
/ /_config/scripts/submission/slateBackground.png’ @ warning/png.c/MagickPNGWarningHandler/1656
2017-05-26 13:16:58: 0: STDOUT: libpng warning: iCCP: known incorrect sRGB profile
2017-05-26 13:16:58: 0: STDOUT: magick_input_file Warning for file //_config/scripts/submission/slateBackground.png : Magick: iCCP: known incorrect sRGB profile `/ /_config/scripts/submission/slateBackground.png’ @ warning/png.c/MagickPNGWarningHandler/1656
2017-05-26 13:16:58: 0: STDOUT: Creating the slate frame
2017-05-26 13:16:58: 0: STDOUT: Creating semi transparent mask
2017-05-26 13:16:58: 0: STDOUT: Processing the input images
2017-05-26 13:16:58: 0: STDOUT: Applying Lut
2017-05-26 13:16:59: 0: STDOUT: WARNING: Resizing image from 2048x1152 to 1280x720
2017-05-26 13:16:59: 0: STDOUT: Add the semi-transparent mask
2017-05-26 13:16:59: 0: STDOUT: Add burn ins: North West
2017-05-26 13:16:59: 0: STDOUT: Add burn ins: North East
2017-05-26 13:16:59: 0: STDOUT: Add burn ins: South West
2017-05-26 13:16:59: 0: STDOUT: Add burn ins: South East
2017-05-26 13:16:59: 0: STDOUT: Encoding Progress: 0%
2017-05-26 13:16:59: 0: STDOUT: Applying Lut
… (the same 8 lines for a long time) …
2017-05-26 13:37:31: 0: STDOUT: WARNING: Resizing image from 2048x1152 to 1280x720
2017-05-26 13:37:31: 0: STDOUT: Add the semi-transparent mask
2017-05-26 13:37:31: 0: STDOUT: Add burn ins: North West
2017-05-26 13:37:31: 0: STDOUT: Add burn ins: North East
2017-05-26 13:37:31: 0: STDOUT: Add burn ins: South West
2017-05-26 13:37:31: 0: STDOUT: Add burn ins: South East
2017-05-26 13:37:31: 0: STDOUT: Applying Lut
2017-05-26 13:37:31: 0: STDOUT: WARNING: Resizing image from 2048x1152 to 1280x720
2017-05-26 13:37:31: 0: STDOUT: Add the semi-transparent mask
2017-05-26 13:37:31: 0: STDOUT: Assertion failed: (alpha == get_alpha( da, sa )), function operator(), file /tmp/FranticRegressions/Draft/git_draft_DraftAll/FranticImageLibrary/./frantic_image/operators/composite_operators.hpp, line 127.
2017-05-26 13:37:33: 0: INFO: Process exit code: 134
2017-05-26 13:37:33: 0: Done executing plugin command of type ‘Render Task’
pp_050_flare_v1.4578.exr.zip (9.83 MB)
1 Like
paul
May 27, 2017, 12:23am
#2
Thank you for your report!
I think that error means that your alpha channel has a “Not a Number” value. Such values come from wonky operations like 0/0. I don’t see any such values in the image that you sent to me, so I think it must be coming from some processing in your script.
In your case, I suspect you don’t actually need the image’s alpha channel. So, as a workaround, I would suggest modifying your script to remove the image’s alpha channel before it reaches the compositing operation. I’d remove it right after loading the EXR file.
Somewhere in your script, you’ll have a line like this to load the EXR image:
img = Draft.Image.ReadFromFile(...)
Right after that, you can run the following commands to remove the alpha channel:
if img.HasChannel('A'):
img.RemoveChannel('A')
If you’d like more specific instructions, please send us a copy of your Draft script. You can send us files over this forum, or by using our ticket system .
Please let us know if this works for you!
As for the underlying problem, we could look into it further if you’d like to send us a copy of your Draft script and LUT file (/_config/ocio/alexa_ocioConfig_v3/luts/AlexaV3_K1S1_LogC2Video_Rec709_LL_nuke3d.cube).
1 Like