Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to set an explicit AOV identifier for USD render product using attribute ayon:aov_identifier #120

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

BigRoy
Copy link
Contributor

@BigRoy BigRoy commented Oct 11, 2024

Changelog Description

Allow to set an explicit AOV identifier for USD render product using attribute ayon:aov_identifier

Additional info

This is a way to override the default behavior that defines what "AOV" identifier is computed for a Render Product. You can now set a string attribute on the Render Product prim called ayon:aov_identifier.

For example a Attribute Wrangle LOP could do:

s@ayon:aov_identifier = "dcm";

So that publish logic will make that render product interpreted as the "dcm" AOV - separating it from other layers.

This may fix (or workaround) #105

Testing notes:

  1. Add the attribute to a render product
  2. Submit to Deadline
  3. Published product should include the AOV identifier.

@BigRoy BigRoy added the type: enhancement Improvement of existing functionality or minor addition label Oct 11, 2024
@BigRoy BigRoy self-assigned this Oct 11, 2024
@krishnaavril
Copy link
Contributor

krishnaavril commented Oct 15, 2024

Hey! @BigRoy I tested this,

  File "C:\Users\avril3975\AppData\Local\Ynput\AYON\dependency_packages\ayon_2406251801_windows.zip\dependencies\pyblish\plugin.py", line 528, in __explicit_process
    runner(*args)
  File "C:\Users\avril3975\AppData\Local\Ynput\AYON\addons\houdini_0.3.15+dev\ayon_houdini\plugins\publish\collect_render_products.py", line 118, in process
    aov_identifier = self.get_aov_identifier(render_product)
  File "C:\Users\avril3975\AppData\Local\Ynput\AYON\addons\houdini_0.3.15+dev\ayon_houdini\plugins\publish\collect_render_products.py", line 170, in get_aov_identifier
    aov_identifier = render_product.GetAttribute(
AttributeError: 'Product' object has no attribute 'GetAttribute'

The above is the error log, when I tried to publish. I was just wondering where should I add the wrangle?

image

@krishnaavril
Copy link
Contributor

krishnaavril commented Oct 15, 2024

tested again:

DEBUG: *** AYON addons initialization.
DEBUG: Executing [GET] settings?variant=staging&bundle_name=LBS_0096&site_id=tall-onyx-tanuki
DEBUG: http://192.168.168.168:5000 "GET /api/settings?variant=staging&bundle_name=LBS_0096&site_id=tall-onyx-tanuki HTTP/1.1" 200 116099
DEBUG: Response <RestApiResponse [200]>
DEBUG: [X] MRV2 (1.1.0)
DEBUG: [X] aftereffects (0.2.3)
DEBUG: [X] applications (1.0.2)
DEBUG: [X] ayon_ocio (1.1.1)
DEBUG: [X] ayon_third_party (1.1.1)
DEBUG: [X] blender (0.2.4)
DEBUG: [X] colorbleed (0.0.10)
DEBUG: [X] deadline (0.3.2)
DEBUG: [X] djv (1.1.0)
DEBUG: [X] fusion (0.2.1)
DEBUG: [X] houdini (0.3.15+dev)
DEBUG: [X] jobqueue (1.1.0)
DEBUG: [X] launcher_tool (1.0.0)
DEBUG: [X] loader_tool (1.0.0)
DEBUG: [X] max (0.2.4)
DEBUG: [X] maya (0.3.0)
DEBUG: [X] nuke (0.2.5)
DEBUG: [X] openrv (1.0.1-dev.2)
DEBUG: [X] photoshop (0.2.3)
DEBUG: [X] python_interpreter (1.0.0)
DEBUG: [X] resolve (0.3.0)
DEBUG: [X] slack (1.1.2)
DEBUG: [X] substancepainter (0.2.2)
DEBUG: [X] timers_manager (0.2.0)
DEBUG: [X] traypublisher (0.2.7)
DEBUG: [X] unreal (0.2.4)
DEBUG: Has 26 enabled addons.
INFO: Collected project context
Project: LBS_DEV
Folder: /sh_ayonusdpublishtest
Task: fx
DEBUG: collected instance: {'family': 'usdrender', 'name': 'usdrenderbtydcmpublishtest', 'publish': True, 'label': 'usdrenderbtydcmpublishtest', 'folderPath': '/sh_ayonusdpublishtest', 'task': 'fx', 'productName': 'usdrenderbtydcmpublishtest', 'productType': 'usdrender', 'families': ['usdrender'], 'representations': [], 'thumbnailSource': None, 'id': 'pyblish.avalon.instance', 'active': 1, 'creator_identifier': 'io.openpype.creators.houdini.usdrender', 'variant': 'btydcmpublishtest', 'ayon_self_publish': '0', '_tabs41': 0, '_husk_tabs61': 0, 'usdexport_group2': 0, 'extrafiles_group2': 0, 'outputprocessor_group2': 0, 'savetodirectory_group2': 0, 'simplerelativepaths_group2': 0, 'matchoutputextension_group2': 0, 'layermetadata_group2': 0, 'contextoptions_group2': 0, 'instance_id': '/out/usdrenderbtydcmpublishtest', 'instance_node': '/out/usdrenderbtydcmpublishtest', 'creator_attributes': {'review': False, 'render_target': 'local_no_render'}, 'publish_attributes': {'CollectDeadlinePools': {'primaryPool': '', 'secondaryPool': ''}, 'CollectFramesFixDefHou': {'frames_to_fix': ''}, 'CollectAssetHandles': {'use_handles': True}, 'CollectUserProductGroup': {'productGroup': ''}, 'CollectSlackFamilies': {'additional_message': ''}, 'ValidateVersion': {'active': True}, 'ValidateInstanceInContextHoudini': {'active': True}, 'SetVersionStatus': {'status': 'Not ready'}, 'HoudiniSubmitDeadlineUsdRender': {'priority': 75, 'chunk': 1, 'group': 'cg', 'limits': '', 'machine_limit': 0, 'export_priority': 50, 'export_chunk': 1000, 'export_group': '', 'export_limits': '', 'export_machine_limit': 0}, 'ProcessSubmittedJobOnFarm': {'publishJobState': 'Active'}}, 'transientData': {}}
DEBUG: parsing data: OrderedDict([('id', 'pyblish.avalon.instance'), ('productType', 'usdrender'), ('productName', 'usdrenderbtydcmpublishtest'), ('active', 1), ('creator_identifier', 'io.openpype.creators.houdini.usdrender'), ('variant', 'btydcmpublishtest'), ('ayon_self_publish', '0'), ('_tabs41', 0), ('_husk_tabs61', 0), ('usdexport_group2', 0), ('extrafiles_group2', 0), ('outputprocessor_group2', 0), ('savetodirectory_group2', 0), ('simplerelativepaths_group2', 0), ('matchoutputextension_group2', 0), ('layermetadata_group2', 0), ('contextoptions_group2', 0), ('folderPath', '/sh_ayonusdpublishtest'), ('task', 'fx'), ('instance_id', '/out/usdrenderbtydcmpublishtest'), ('instance_node', '/out/usdrenderbtydcmpublishtest'), ('families', []), ('creator_attributes', {'review': False, 'render_target': 'local_no_render'}), ('publish_attributes', {'CollectDeadlinePools': {'primaryPool': '', 'secondaryPool': ''}, 'CollectFramesFixDefHou': {'frames_to_fix': ''}, 'CollectAssetHandles': {'use_handles': True}, 'CollectUserProductGroup': {'productGroup': ''}, 'CollectSlackFamilies': {'additional_message': ''}, 'ValidateVersion': {'active': True}, 'ValidateInstanceInContextHoudini': {'active': True}, 'SetVersionStatus': {'status': 'Not ready'}, 'HoudiniSubmitDeadlineUsdRender': {'priority': 75, 'chunk': 1, 'group': 'cg', 'limits': '', 'machine_limit': 0, 'export_priority': 50, 'export_chunk': 1000, 'export_group': '', 'export_limits': '', 'export_machine_limit': 0}, 'ProcessSubmittedJobOnFarm': {'publishJobState': 'Active'}})])
INFO: Machine name: avril3975
DEBUG: Collecting settings for project: LBS_DEV
DEBUG: Executing [GET] projects/LBS_DEV
DEBUG: http://192.168.168.168:5000 "GET /api/projects/LBS_DEV HTTP/1.1" 200 5414
DEBUG: Response <RestApiResponse [200]>
DEBUG: Anatomy object collected for project "LBS_DEV".
INFO: Current workfile path: //avril/jobs/ads/LBS_DEV/sh_ayonusdpublishtest/work/fx/DEV_sh_ayonusdpublishtest_fx_v024.hip
DEBUG: Executing [GET] projects/LBS_DEV
DEBUG: http://192.168.168.168:5000 "GET /api/projects/LBS_DEV HTTP/1.1" 200 5414
DEBUG: Response <RestApiResponse [200]>
DEBUG: Collected Project "{'name': 'LBS_DEV', 'code': 'DEV', 'library': False, 'folderTypes': [{'name': 'Folder', 'icon': 'folder', 'shortName': ''}, {'name': 'Library', 'icon': 'category', 'shortName': 'lib'}, {'name': 'Asset', 'icon': 'smart_toy', 'shortName': ''}, {'name': 'Episode', 'icon': 'live_tv', 'shortName': 'ep'}, {'name': 'Sequence', 'icon': 'theaters', 'shortName': 'sq'}, {'name': 'Shot', 'icon': 'movie', 'shortName': 'sh'}], 'taskTypes': [{'name': 'Generic', 'icon': 'task_alt', 'shortName': 'gener'}, {'name': 'Art', 'icon': 'palette', 'shortName': 'art'}, {'name': 'Modeling', 'icon': 'language', 'shortName': 'mdl'}, {'name': 'Texture', 'icon': 'brush', 'shortName': 'tex'}, {'name': 'Lookdev', 'icon': 'ev_shadow', 'shortName': 'look'}, {'name': 'Rigging', 'icon': 'construction', 'shortName': 'rig'}, {'name': 'Edit', 'icon': 'imagesearch_roller', 'shortName': 'edit'}, {'name': 'Layout', 'icon': 'nature_people', 'shortName': 'lay'}, {'name': 'Setdress', 'icon': 'scene', 'shortName': 'dress'}, {'name': 'Animation', 'icon': 'directions_run', 'shortName': 'anim'}, {'name': 'FX', 'icon': 'fireplace', 'shortName': 'fx'}, {'name': 'Lighting', 'icon': 'highlight', 'shortName': 'lgt'}, {'name': 'Paint', 'icon': 'video_stable', 'shortName': 'paint'}, {'name': 'Compositing', 'icon': 'layers', 'shortName': 'comp'}, {'name': 'Roto', 'icon': 'gesture', 'shortName': 'roto'}, {'name': 'Matchmove', 'icon': 'switch_video', 'shortName': 'matchmove'}], 'linkTypes': [{'name': 'generative|version|representation', 'linkType': 'generative', 'inputType': 'version', 'outputType': 'representation', 'data': {'color': '#2626e0', 'style': 'solid'}}, {'name': 'breakdown|folder|folder', 'linkType': 'breakdown', 'inputType': 'folder', 'outputType': 'folder', 'data': {'color': '#27792a', 'style': 'solid'}}, {'name': 'reference|version|version', 'linkType': 'reference', 'inputType': 'version', 'outputType': 'version', 'data': {'color': '#d94383', 'style': 'solid'}}, {'name': 'template|folder|folder', 'linkType': 'template', 'inputType': 'folder', 'outputType': 'folder', 'data': {'color': '#d94383', 'style': 'solid'}}, {'name': 'generative|version|version', 'linkType': 'generative', 'inputType': 'version', 'outputType': 'version', 'data': {'style': 'solid'}}], 'statuses': [{'name': 'Not ready', 'icon': 'fiber_new', 'color': '#434a56', 'state': 'not_started', 'shortName': 'NRD'}, {'name': 'Ready to start', 'icon': 'timer', 'color': '#bababa', 'state': 'not_started', 'shortName': 'RDY'}, {'name': 'In progress', 'icon': 'play_arrow', 'color': '#3498db', 'state': 'in_progress', 'shortName': 'PRG'}, {'name': 'Pending review', 'icon': 'visibility', 'color': '#ff9b0a', 'state': 'in_progress', 'shortName': 'RVW'}, {'name': 'Approved', 'icon': 'task_alt', 'color': '#00f0b4', 'state': 'done', 'shortName': 'APP'}, {'name': 'On hold', 'icon': 'back_hand', 'color': '#fa6e46', 'state': 'blocked', 'shortName': 'HLD'}, {'name': 'Omitted', 'icon': 'block', 'color': '#cb1a1a', 'state': 'blocked', 'shortName': 'OMT'}], 'tags': [], 'config': {'roots': {'work': {'linux': '/mnt/share/projects', 'darwin': '/Volumes/projects', 'windows': '\\\\avril\\jobs\\ads'}}, 'templates': {'hero': {'default': {'file': '{project[code]}_{folder[name]}_{task[name]}_hero<_{comment}>.{ext}', 'directory': '{root[work]}/{project[name]}/{hierarchy}/{folder[name]}/publish/{product[type]}/{product[name]}/hero'}}, 'work': {'unreal': {'file': '{project[code]}_{folder[name]}.{ext}', 'directory': '{root[work]}/{project[name]}/unreal/{task[name]}'}, 'default': {'file': '{project[code]}_{folder[name]}_{task[name]}_{@version}<_{comment}>.{ext}', 'directory': '{root[work]}/{project[name]}/{hierarchy}/{folder[name]}/work/{task[name]}'}}, 'common': {'frame': '{frame:0>{@frame_padding}}', 'version': 'v{version:0>{@version_padding}}', 'frame_padding': 4, 'version_padding': 3}, 'publish': {'online': {'file': '{originalBasename}<.{@frame}><_{udim}>.{ext}', 'directory': '{root[work]}/{project[name]}/{hierarchy}/{folder[name]}/publish/{product[type]}/{product[name]}/{@version}'}, 'render': {'file': '{project[code]}_{folder[name]}_{product[name]}_{@version}<_{output}><.{@frame}>.{ext}', 'directory': '{root[work]}/{project[name]}/{hierarchy}/{folder[name]}/publish/{product[type]}/{product[name]}/{@version}'}, 'source': {'file': '{originalBasename}.{ext}', 'directory': '{root[work]}/{originalDirname}'}, 'default': {'file': '{project[code]}_{folder[name]}_{product[name]}_{@version}<_{output}><.{@frame}><_{udim}>.{ext}', 'directory': '{root[work]}/{project[name]}/{hierarchy}/{folder[name]}/publish/{product[type]}/{product[name]}/{@version}'}, 'maya2unreal': {'file': '{product[name]}_{@version}<_{output}><.{@frame}>.{ext}', 'directory': '{root[work]}/{project[name]}/{hierarchy}/{folder[name]}/publish/{product[type]}'}, 'simpleUnrealTexture': {'file': '{originalBasename}_{@version}.{ext}', 'directory': '{root[work]}/{project[name]}/{hierarchy}/{folder[name]}/publish/{product[type]}/{@version}'}, 'simpleUnrealTextureHero': {'file': '{originalBasename}.{ext}', 'directory': '{root[work]}/{project[name]}/{hierarchy}/{folder[name]}/publish/{product[type]}/hero'}}}}, 'attrib': {'progress': 0, 'priority': 'normal', 'fps': 24.0, 'resolutionWidth': 1921, 'resolutionHeight': 1080, 'pixelAspect': 1.0, 'clipIn': 1, 'clipOut': 1, 'frameStart': 1001, 'frameEnd': 1001, 'handleStart': 0, 'handleEnd': 0, 'applications': ['houdini/20.0.547', 'maya/2024', 'nukex/14-0', 'nukex/14-06', 'houdini/20.5.262', 'houdini/20.5.332'], 'tools': []}, 'data': {}, 'active': True, 'ownAttrib': ['fps', 'tools', 'clipIn', 'clipOut', 'frameEnd', 'progress', 'handleEnd', 'frameStart', 'handleStart', 'pixelAspect', 'applications', 'resolutionWidth', 'resolutionHeight'], 'createdAt': '2024-03-22T09:15:00.793482+00:00', 'updatedAt': '2024-09-30T13:07:58.420018+00:00'}"
DEBUG: http://192.168.168.168:5000 "POST /graphql HTTP/1.1" 200 751
DEBUG: Response <RestApiResponse [200]>
DEBUG: Collected Folder "{'attrib': {'startDate': None, 'resolutionHeight': 1080, 'tools': [], 'clipIn': 1, 'sokoPath': None, 'frameEnd': 1005, 'endDate': None, 'progress': None, 'resolutionWidth': 1921, 'pixelAspect': 1.0, 'fps': 24.0, 'sokoId': None, 'priority': 'normal', 'clipOut': 1, 'handleEnd': 0, 'handleStart': 0, 'frameStart': 1001, 'description': None}, 'data': {}, 'tags': [], 'thumbnailId': '899378cc6ab511efa10a0242ac120003', 'label': 'sh_ayonusdpublishtest', 'id': '9484e6906ab411ef8bd9ff98b6f5cd54', 'parentId': None, 'name': 'sh_ayonusdpublishtest', 'status': 'Not ready', 'active': True, 'path': '/sh_ayonusdpublishtest', 'folderType': 'Shot'}"
DEBUG: http://192.168.168.168:5000 "POST /graphql HTTP/1.1" 200 669
DEBUG: Response <RestApiResponse [200]>
DEBUG: Collected Task "{'attrib': {'startDate': None, 'resolutionHeight': 1080, 'tools': [], 'clipIn': 1, 'sokoPath': None, 'frameEnd': 1005, 'endDate': None, 'progress': None, 'resolutionWidth': 1921, 'pixelAspect': 1.0, 'fps': 24.0, 'sokoId': None, 'priority': 'normal', 'clipOut': 1, 'handleEnd': 0, 'handleStart': 0, 'frameStart': 1001, 'description': None}, 'assignees': [], 'data': {}, 'tags': [], 'taskType': 'FX', 'label': 'fx', 'id': 'aa75a9306ab411efac6631a769d36aad', 'name': 'fx', 'folderId': '9484e6906ab411ef8bd9ff98b6f5cd54', 'status': 'Not ready', 'active': True}"
DEBUG: Render on farm is disabled. Skipping farm collecting.
DEBUG: Output node: /stage/karma1
DEBUG: Collected frame_data: {'frameStartHandle': 1001, 'frameEndHandle': 1005, 'byFrameStep': 1.0}
INFO: Workscene FPS: 24.0
DEBUG: Collecting scene version from filename: DEV_sh_ayonusdpublishtest_fx_v024.hip
DEBUG: Collected scene version: 24
DEBUG: Setting job env: AYON_BUNDLE_NAME: LBS_0096
DEBUG: Setting job env: AYON_DEFAULT_SETTINGS_VARIANT: staging
DEBUG: Setting job env: AYON_PROJECT_NAME: LBS_DEV
DEBUG: Setting job env: AYON_FOLDER_PATH: /sh_ayonusdpublishtest
DEBUG: Setting job env: AYON_TASK_NAME: fx
DEBUG: Setting job env: AYON_APP_NAME: houdini/20.0.547
DEBUG: Setting job env: AYON_WORKDIR: \\avril\jobs\ads\LBS_DEV\sh_ayonusdpublishtest\work\fx
DEBUG: Setting job env: AYON_APP_NAME: houdini/20.0.547
DEBUG: Executing [GET] users/me
DEBUG: http://192.168.168.168:5000 "GET /api/users/me HTTP/1.1" 200 660
DEBUG: Response <RestApiResponse [200]>
DEBUG: Collected user "krishnaavril"
DEBUG: Executing [GET] users/me
DEBUG: http://192.168.168.168:5000 "GET /api/users/me HTTP/1.1" 200 660
DEBUG: Response <RestApiResponse [200]>
DEBUG: Global Anatomy Context Data collected:
{
    "studio": {
        "name": "LBSFX",
        "code": "LBSFX"
    },
    "user": "krishnaavril",
    "project": {
        "name": "LBS_DEV",
        "code": "DEV"
    },
    "folder": {
        "name": "sh_ayonusdpublishtest",
        "type": "Shot",
        "path": "/sh_ayonusdpublishtest"
    },
    "asset": "sh_ayonusdpublishtest",
    "hierarchy": "",
    "parent": "LBS_DEV",
    "task": {
        "name": "fx",
        "type": "FX",
        "short": "fx"
    },
    "app": "houdini",
    "d": "15",
    "dd": "15",
    "ddd": "Tue",
    "dddd": "Tuesday",
    "m": "10",
    "mm": "10",
    "mmm": "Oct",
    "mmmm": "October",
    "yy": "24",
    "yyyy": "2024",
    "H": "21",
    "HH": "21",
    "h": "9",
    "hh": "09",
    "ht": "PM",
    "M": "3",
    "MM": "03",
    "S": "48",
    "SS": "48",
    "username": "krishnaavril"
}
DEBUG: Render Product /Render/Products/renderproduct
DEBUG: Product name: //avril/jobs/ads/LBS_DEV//sh_ayonusdpublishtest/work/fx/render/karma1/v1/karma1_v1.####.exr
WARNING: Render product has no rendervars set: UsdRender.Product(Usd.Prim(</Render/Products/dcm>))
ERROR: Multiple render products are identified as the same AOV which means one of the two will not be ingested duringpublishing. AOV: ''
WARNING: Skipping Render Product: UsdRender.Product(Usd.Prim(</Render/Products/dcm>))
DEBUG: Render Product /Render/Products/dcm
DEBUG: Product name: //avril/jobs/ads/LBS_DEV//sh_ayonusdpublishtest/work/fx/render/karma1/v1/DCM/karma1_v1.dcm.####.exr
DEBUG: Looking for matching profile for: task_names: "fx" | task_types: "FX" | host_names: "houdini"
DEBUG: Profile selected: {'host_names': [], 'task_types': [], 'task_names': [], 'type': 'builtin_path', 'builtin_path': '{BUILTIN_OCIO_ROOT}/aces_1.2/config.ocio', 'custom_path': '', 'published_product': {'product_name': '', 'fallback': {'fallback_type': 'builtin_path', 'builtin_path': 'ACES 1.2', 'custom_path': ''}}}
DEBUG: Config data is: `{'path': 'C:\\Users\\avril3975\\AppData\\Local\\Ynput\\AYON\\addons\\ayon_ocio_1.1.1\\ayon_ocio\\configs\\OpenColorIOConfigs\\aces_1.2\\config.ocio', 'template': '{BUILTIN_OCIO_ROOT}/aces_1.2/config.ocio'}`
WARNING: No valid camera node found on review node: None
DEBUG: Houdini `hou.Color.ocio_defaultView()` returned empty value. Falling back to `PyOpenColorIO` to get the default view.
DEBUG: Should not be processed on farm, skipping.
DEBUG: Should not be processed on farm, skipping.
DEBUG: Context label is changed to "Houdini - DEV_sh_ayonusdpublishtest_fx_v024.hip"
DEBUG: Should not be processed on farm, skipping.
DEBUG: Should not be processed on farm, skipping.
DEBUG: Collected inputs: []
DEBUG: No output node found, skipping collecting of inputs..
DEBUG: Collecting anatomy data for all instances.
DEBUG: Querying folder entities for instances.
DEBUG: All instances already had right folder entity.
DEBUG: Querying task entities for instances.
DEBUG: All instances already had right task entity.
DEBUG: Querying latest versions for instances.
DEBUG: http://192.168.168.168:5000 "POST /graphql HTTP/1.1" 200 105
DEBUG: Response <RestApiResponse [200]>
DEBUG: Storing anatomy data to instance data.
DEBUG: Anatomy data for instance usdrenderbtydcmpublishtest (usdrenderbtydcmpublishtest): {
    "studio": {
        "name": "LBSFX",
        "code": "LBSFX"
    },
    "user": "krishnaavril",
    "project": {
        "name": "LBS_DEV",
        "code": "DEV"
    },
    "folder": {
        "name": "sh_ayonusdpublishtest",
        "type": "Shot",
        "path": "/sh_ayonusdpublishtest"
    },
    "asset": "sh_ayonusdpublishtest",
    "hierarchy": "",
    "parent": "LBS_DEV",
    "task": {
        "name": "fx",
        "type": "FX",
        "short": "fx"
    },
    "app": "houdini",
    "d": "15",
    "dd": "15",
    "ddd": "Tue",
    "dddd": "Tuesday",
    "m": "10",
    "mm": "10",
    "mmm": "Oct",
    "mmmm": "October",
    "yy": "24",
    "yyyy": "2024",
    "H": "21",
    "HH": "21",
    "h": "9",
    "hh": "09",
    "ht": "PM",
    "M": "3",
    "MM": "03",
    "S": "48",
    "SS": "48",
    "username": "krishnaavril",
    "family": "usdrender",
    "subset": "usdrenderbtydcmpublishtest",
    "product": {
        "name": "usdrenderbtydcmpublishtest",
        "type": "usdrender"
    },
    "version": 24
}
DEBUG: Anatomy data for instance renderFxUsdrenderbtydcmpublishtest: {
    "studio": {
        "name": "LBSFX",
        "code": "LBSFX"
    },
    "user": "krishnaavril",
    "project": {
        "name": "LBS_DEV",
        "code": "DEV"
    },
    "folder": {
        "name": "sh_ayonusdpublishtest",
        "type": "Shot",
        "path": "/sh_ayonusdpublishtest"
    },
    "asset": "sh_ayonusdpublishtest",
    "hierarchy": "",
    "parent": "LBS_DEV",
    "task": {
        "name": "fx",
        "type": "FX",
        "short": "fx"
    },
    "app": "houdini",
    "d": "15",
    "dd": "15",
    "ddd": "Tue",
    "dddd": "Tuesday",
    "m": "10",
    "mm": "10",
    "mmm": "Oct",
    "mmmm": "October",
    "yy": "24",
    "yyyy": "2024",
    "H": "21",
    "HH": "21",
    "h": "9",
    "hh": "09",
    "ht": "PM",
    "M": "3",
    "MM": "03",
    "S": "48",
    "SS": "48",
    "username": "krishnaavril",
    "family": "render",
    "subset": "renderFxUsdrenderbtydcmpublishtest",
    "product": {
        "name": "renderFxUsdrenderbtydcmpublishtest",
        "type": "render"
    },
    "version": 24,
    "fps": 24.0
}
DEBUG: Anatomy Data collection finished.
DEBUG: publishDir: "\\avril\jobs\ads\LBS_DEV\sh_ayonusdpublishtest\publish\render\renderFxUsdrenderbtydcmpublishtest\v024"
DEBUG: resourcesDir: "\\avril\jobs\ads\LBS_DEV\sh_ayonusdpublishtest\publish\render\renderFxUsdrenderbtydcmpublishtest\v024\resources"
DEBUG: Full Frame range with Handles [1001 - 1005]
INFO: Frame range [1001 - 1005]
DEBUG: Full Frame range with Handles [1001 - 1005]
INFO: Frame range [1001 - 1005]
DEBUG: Not adding custom staging dir for instance with 'usdrender'
DEBUG: Not adding custom staging dir for instance with 'render'
DEBUG: Looking for matching profile for: product_types: "usdrender" | task_names: "fx" | task_types: "FX" | hosts: "houdini" | product_names: "usdrenderbtydcmpublishtest"
DEBUG: Profile selected: {'product_types': [], 'hosts': [], 'task_types': [], 'task_names': [], 'product_names': [], 'review_upload_limit': 50.0, 'channel_messages': []}
INFO: Found profile: {'product_types': [], 'hosts': [], 'task_types': [], 'task_names': [], 'product_names': [], 'review_upload_limit': 50.0, 'channel_messages': []}
DEBUG: Looking for matching profile for: product_types: "render" | task_names: "fx" | task_types: "FX" | hosts: "houdini" | product_names: "renderFxUsdrenderbtydcmpublishtest"
DEBUG: Profile selected: {'product_types': [], 'hosts': [], 'task_types': [], 'task_names': [], 'product_names': [], 'review_upload_limit': 50.0, 'channel_messages': []}
INFO: Found profile: {'product_types': [], 'hosts': [], 'task_types': [], 'task_names': [], 'product_names': [], 'review_upload_limit': 50.0, 'channel_messages': []}
DEBUG: Skipping Validation, no frames to fix.
DEBUG: Skipping Validation, no frames to fix.
DEBUG: Validating for errors: /stage/karma1
DEBUG: Skipping Validation. Rop node /out/usdrenderbtydcmpublishtest is not an OpenGl node.
DEBUG: Skipping Arnold Settings validation because renderer is set to: BRAY_HdKarma
DEBUG: Skipping Validator, Render target is not 'Local machine rendering'
DEBUG: Instance has product group set to: renderFxUsdrenderbtydcmpublishtest
DEBUG: Skipping Validation. Rop node /out/usdrenderbtydcmpublishtest is not an OpenGl node.
DEBUG: Looking for matching profile for: hosts: "houdini" | product_types: "usdrender" | task_names: "fx" | task_types: "FX"
DEBUG: "usdrender" not found in "product_types": ['review', 'render', 'prerender']
DEBUG: "houdini" not found in "hosts": ['standalonepublisher']
DEBUG: "houdini" not found in "hosts": ['maya']
DEBUG: "houdini" not found in "hosts": ['traypublisher']
DEBUG: "houdini" not found in "hosts": ['max']
DEBUG: Profile selected: {'product_types': [], 'hosts': [], 'task_types': [], 'task_names': [], 'template_name': 'default'}
DEBUG: Looking for matching profile for: hosts: "houdini" | product_types: "render" | task_names: "fx" | task_types: "FX"
DEBUG: "houdini" not found in "hosts": ['standalonepublisher']
DEBUG: "houdini" not found in "hosts": ['maya']
DEBUG: "houdini" not found in "hosts": ['traypublisher']
DEBUG: "houdini" not found in "hosts": ['max']
DEBUG: Profile selected: {'product_types': ['review', 'render', 'prerender'], 'hosts': [], 'task_types': [], 'task_names': [], 'template_name': 'render'}
DEBUG: No resources to validate..
DEBUG: No resources to validate..
INFO: Saving current file: //avril/jobs/ads/LBS_DEV/sh_ayonusdpublishtest/work/fx/DEV_sh_ayonusdpublishtest_fx_v024.hip
DEBUG: http://192.168.168.168:5000 "POST /graphql HTTP/1.1" 200 155
DEBUG: Response <RestApiResponse [200]>
DEBUG: http://192.168.168.168:5000 "POST /graphql HTTP/1.1" 200 136
DEBUG: Response <RestApiResponse [200]>
INFO: Running callback on save..
DEBUG: Executing [GET] projects/LBS_DEV
DEBUG: http://192.168.168.168:5000 "GET /api/projects/LBS_DEV HTTP/1.1" 200 5414
DEBUG: Response <RestApiResponse [200]>
DEBUG: http://192.168.168.168:5000 "POST /graphql HTTP/1.1" 200 751
DEBUG: Response <RestApiResponse [200]>
DEBUG: http://192.168.168.168:5000 "POST /graphql HTTP/1.1" 200 669
DEBUG: Response <RestApiResponse [200]>
DEBUG: Executing [GET] users/me
DEBUG: http://192.168.168.168:5000 "GET /api/users/me HTTP/1.1" 200 660
DEBUG: Response <RestApiResponse [200]>
DEBUG: Instance usdrenderbtydcmpublishtest does not have set comment
DEBUG: Instance renderFxUsdrenderbtydcmpublishtest does not have set comment
DEBUG: Publish is not affecting running timers.
DEBUG: Skipping, No frames to fix.
DEBUG: Skipping, No frames to fix.
DEBUG: Skipping OpenGl extraction. Rop node /out/usdrenderbtydcmpublishtest is not an OpenGl node.
DEBUG: Thumbnail source not filled. Skipping.
DEBUG: Processing instance with product name usdrenderbtydcmpublishtest
DEBUG: Thumbnail source not filled. Skipping.
DEBUG: Processing instance with product name renderFxUsdrenderbtydcmpublishtest
DEBUG: Thumbnail source not filled. Skipping.
DEBUG: [{'stagingDir': '//avril/jobs/ads/LBS_DEV//sh_ayonusdpublishtest/work/fx/render/karma1/v1/DCM', 'ext': 'exr', 'name': 'exr', 'tags': [], 'files': ['karma1_v1.dcm.1001.exr', 'karma1_v1.dcm.1002.exr', 'karma1_v1.dcm.1003.exr', 'karma1_v1.dcm.1004.exr', 'karma1_v1.dcm.1005.exr'], 'frameStart': 1001, 'frameEnd': 1005, 'colorspaceData': {'colorspace': 'ACES - ACEScg', 'config': {'path': 'C:\\Users\\avril3975\\AppData\\Local\\Ynput\\AYON\\addons\\ayon_ocio_1.1.1\\ayon_ocio\\configs\\OpenColorIOConfigs\\aces_1.2\\config.ocio', 'template': '{BUILTIN_OCIO_ROOT}/aces_1.2/config.ocio'}}}]
DEBUG: Processing instance "renderFxUsdrenderbtydcmpublishtest [1001 - 1005]"
DEBUG: Host: "houdini"
DEBUG: Product type: "render"
DEBUG: Looking for matching profile for: hosts: "houdini" | product_types: "render"
DEBUG: Profile selected: {'product_types': [], 'hosts': [], 'outputs': [{'name': 'png', 'ext': 'png', 'tags': ['webreview', 'slate-frame'], 'burnins': [], 'ffmpeg_args': {'video_filters': [], 'audio_filters': [], 'input': [], 'output': []}, 'filter': {'families': ['render', 'review', 'ftrack'], 'product_names': [], 'custom_tags': [], 'single_frame_filter': 'single_frame'}, 'overscan_crop': '', 'overscan_color': [0, 0, 0, 0.0], 'width': 1920, 'height': 1080, 'scale_pixel_aspect': True, 'bg_color': [0, 0, 0, 0.0], 'letter_box': {'enabled': False, 'ratio': 0.0, 'fill_color': [0, 0, 0, 1.0], 'line_thickness': 0, 'line_color': [255, 0, 0, 1.0]}}, {'name': 'h264', 'ext': 'mp4', 'tags': ['webreview', 'slate-frame'], 'burnins': [], 'ffmpeg_args': {'video_filters': [], 'audio_filters': [], 'input': ['-apply_trc gamma22'], 'output': ['-pix_fmt yuv420p', '-crf 18', '-intra']}, 'filter': {'families': ['render', 'review', 'ftrack'], 'product_names': [], 'custom_tags': [], 'single_frame_filter': 'multi_frame'}, 'overscan_crop': '', 'overscan_color': [0, 0, 0, 0.0], 'width': 0, 'height': 0, 'scale_pixel_aspect': True, 'bg_color': [0, 0, 0, 0.0], 'letter_box': {'enabled': False, 'ratio': 0.0, 'fill_color': [0, 0, 0, 1.0], 'line_thickness': 0, 'line_color': [255, 0, 0, 1.0]}}]}
DEBUG: Matching profile: "{"product_types": [], "hosts": [], "outputs": [{"name": "png", "ext": "png", "tags": ["webreview", "slate-frame"], "burnins": [], "ffmpeg_args": {"video_filters": [], "audio_filters": [], "input": [], "output": []}, "filter": {"families": ["render", "review", "ftrack"], "product_names": [], "custom_tags": [], "single_frame_filter": "single_frame"}, "overscan_crop": "", "overscan_color": [0, 0, 0, 0.0], "width": 1920, "height": 1080, "scale_pixel_aspect": true, "bg_color": [0, 0, 0, 0.0], "letter_box": {"enabled": false, "ratio": 0.0, "fill_color": [0, 0, 0, 1.0], "line_thickness": 0, "line_color": [255, 0, 0, 1.0]}}, {"name": "h264", "ext": "mp4", "tags": ["webreview", "slate-frame"], "burnins": [], "ffmpeg_args": {"video_filters": [], "audio_filters": [], "input": ["-apply_trc gamma22"], "output": ["-pix_fmt yuv420p", "-crf 18", "-intra"]}, "filter": {"families": ["render", "review", "ftrack"], "product_names": [], "custom_tags": [], "single_frame_filter": "multi_frame"}, "overscan_crop": "", "overscan_color": [0, 0, 0, 0.0], "width": 0, "height": 0, "scale_pixel_aspect": true, "bg_color": [0, 0, 0, 0.0], "letter_box": {"enabled": false, "ratio": 0.0, "fill_color": [0, 0, 0, 1.0], "line_thickness": 0, "line_color": [255, 0, 0, 1.0]}}]}"
DEBUG: Repre: exr - Didn't find "review" in tags. Skipping
DEBUG: No representations at instance : `usdrenderbtydcmpublishtest`
DEBUG: Looking for matching profile for: product_types: "usdrender" | tasks: "fx" | hosts: "houdini" | task_types: "FX"
DEBUG: Profile selected: {'product_types': [], 'hosts': [], 'task_types': [], 'tasks': [], 'template': ''}
DEBUG: Skipping collect product group due to existing value: renderFxUsdrenderbtydcmpublishtest
INFO: Setting status to: Not ready
INFO: Setting status to: Not ready
DEBUG: Instance is marked to skip integrating. Skipping
DEBUG: Establishing staging directory @ //avril/jobs/ads/LBS_DEV//sh_ayonusdpublishtest/work/fx/render/karma1/v1/DCM
DEBUG: Looking for matching profile for: hosts: "houdini" | product_types: "render" | task_names: "fx" | task_types: "FX"
DEBUG: "houdini" not found in "hosts": ['standalonepublisher']
DEBUG: "houdini" not found in "hosts": ['maya']
DEBUG: "houdini" not found in "hosts": ['traypublisher']
DEBUG: "houdini" not found in "hosts": ['max']
DEBUG: Profile selected: {'product_types': ['review', 'render', 'prerender'], 'hosts': [], 'task_types': [], 'task_names': [], 'template_name': 'render'}
DEBUG: Product: renderFxUsdrenderbtydcmpublishtest
DEBUG: http://192.168.168.168:5000 "POST /graphql HTTP/1.1" 200 105
DEBUG: Response <RestApiResponse [200]>
INFO: Product 'renderFxUsdrenderbtydcmpublishtest' not found, creating ...
DEBUG: Prepared product: renderFxUsdrenderbtydcmpublishtest
DEBUG: http://192.168.168.168:5000 "POST /graphql HTTP/1.1" 200 105
DEBUG: Response <RestApiResponse [200]>
DEBUG: Source: {root[work]}/LBS_DEV/sh_ayonusdpublishtest/work/fx/DEV_sh_ayonusdpublishtest_fx_v024.hip
DEBUG: Creating new version ...
DEBUG: Prepared version: v024
DEBUG: http://192.168.168.168:5000 "POST /graphql HTTP/1.1" 200 112
DEBUG: Response <RestApiResponse [200]>
DEBUG: Anatomy template name: render
DEBUG: Template filled: \\avril\jobs\ads/LBS_DEV//sh_ayonusdpublishtest/publish/render/renderFxUsdrenderbtydcmpublishtest/v024/DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1001.exr
DEBUG: Executing [POST] projects/LBS_DEV/operations
DEBUG: http://192.168.168.168:5000 "POST /api/projects/LBS_DEV/operations HTTP/1.1" 200 377
DEBUG: Response <RestApiResponse [200]>
INFO: Product 'renderFxUsdrenderbtydcmpublishtest' version 24 written to database..
DEBUG: Integrating source files to destination ...
DEBUG: Checking file ... \\avril\jobs\ads\LBS_DEV\sh_ayonusdpublishtest\work\fx\render\karma1\v1\DCM\karma1_v1.dcm.1001.exr -> \\avril\jobs\ads\LBS_DEV\sh_ayonusdpublishtest\publish\render\renderFxUsdrenderbtydcmpublishtest\v024\DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1001.exr
DEBUG: Checking file ... \\avril\jobs\ads\LBS_DEV\sh_ayonusdpublishtest\work\fx\render\karma1\v1\DCM\karma1_v1.dcm.1002.exr -> \\avril\jobs\ads\LBS_DEV\sh_ayonusdpublishtest\publish\render\renderFxUsdrenderbtydcmpublishtest\v024\DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1002.exr
DEBUG: Checking file ... \\avril\jobs\ads\LBS_DEV\sh_ayonusdpublishtest\work\fx\render\karma1\v1\DCM\karma1_v1.dcm.1003.exr -> \\avril\jobs\ads\LBS_DEV\sh_ayonusdpublishtest\publish\render\renderFxUsdrenderbtydcmpublishtest\v024\DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1003.exr
DEBUG: Checking file ... \\avril\jobs\ads\LBS_DEV\sh_ayonusdpublishtest\work\fx\render\karma1\v1\DCM\karma1_v1.dcm.1004.exr -> \\avril\jobs\ads\LBS_DEV\sh_ayonusdpublishtest\publish\render\renderFxUsdrenderbtydcmpublishtest\v024\DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1004.exr
DEBUG: Checking file ... \\avril\jobs\ads\LBS_DEV\sh_ayonusdpublishtest\work\fx\render\karma1\v1\DCM\karma1_v1.dcm.1005.exr -> \\avril\jobs\ads\LBS_DEV\sh_ayonusdpublishtest\publish\render\renderFxUsdrenderbtydcmpublishtest\v024\DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1005.exr
DEBUG: Copying file ... \\avril\jobs\ads\LBS_DEV\sh_ayonusdpublishtest\work\fx\render\karma1\v1\DCM\karma1_v1.dcm.1001.exr -> \\avril\jobs\ads\LBS_DEV\sh_ayonusdpublishtest\publish\render\renderFxUsdrenderbtydcmpublishtest\v024\DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1001.exr
DEBUG: Copying file ... \\avril\jobs\ads\LBS_DEV\sh_ayonusdpublishtest\work\fx\render\karma1\v1\DCM\karma1_v1.dcm.1002.exr -> \\avril\jobs\ads\LBS_DEV\sh_ayonusdpublishtest\publish\render\renderFxUsdrenderbtydcmpublishtest\v024\DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1002.exr
DEBUG: Copying file ... \\avril\jobs\ads\LBS_DEV\sh_ayonusdpublishtest\work\fx\render\karma1\v1\DCM\karma1_v1.dcm.1003.exr -> \\avril\jobs\ads\LBS_DEV\sh_ayonusdpublishtest\publish\render\renderFxUsdrenderbtydcmpublishtest\v024\DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1003.exr
DEBUG: Copying file ... \\avril\jobs\ads\LBS_DEV\sh_ayonusdpublishtest\work\fx\render\karma1\v1\DCM\karma1_v1.dcm.1004.exr -> \\avril\jobs\ads\LBS_DEV\sh_ayonusdpublishtest\publish\render\renderFxUsdrenderbtydcmpublishtest\v024\DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1004.exr
DEBUG: Copying file ... \\avril\jobs\ads\LBS_DEV\sh_ayonusdpublishtest\work\fx\render\karma1\v1\DCM\karma1_v1.dcm.1005.exr -> \\avril\jobs\ads\LBS_DEV\sh_ayonusdpublishtest\publish\render\renderFxUsdrenderbtydcmpublishtest\v024\DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1005.exr
DEBUG: Backed up existing files: []
DEBUG: Transferred files: ['\\\\avril\\jobs\\ads\\LBS_DEV\\sh_ayonusdpublishtest\\publish\\render\\renderFxUsdrenderbtydcmpublishtest\\v024\\DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1001.exr', '\\\\avril\\jobs\\ads\\LBS_DEV\\sh_ayonusdpublishtest\\publish\\render\\renderFxUsdrenderbtydcmpublishtest\\v024\\DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1002.exr', '\\\\avril\\jobs\\ads\\LBS_DEV\\sh_ayonusdpublishtest\\publish\\render\\renderFxUsdrenderbtydcmpublishtest\\v024\\DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1003.exr', '\\\\avril\\jobs\\ads\\LBS_DEV\\sh_ayonusdpublishtest\\publish\\render\\renderFxUsdrenderbtydcmpublishtest\\v024\\DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1004.exr', '\\\\avril\\jobs\\ads\\LBS_DEV\\sh_ayonusdpublishtest\\publish\\render\\renderFxUsdrenderbtydcmpublishtest\\v024\\DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1005.exr']
DEBUG: Retrieving Representation Site Sync information ...
DEBUG: [{'id': 'ae99f848-ec8a-4351-b831-f2f62f21badc', 'entity_type': 'representation', 'project_name': 'LBS_DEV', 'operation': 'create', 'data': {'id': 'e037d29f8b0a11efbb3d11fb0cca1dae', 'versionId': 'e02b4dda8b0a11ef874011fb0cca1dae', 'files': [{'id': 'e04f54b88b0a11efacf211fb0cca1dae', 'name': 'DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1001.exr', 'path': '{root[work]}/LBS_DEV//sh_ayonusdpublishtest/publish/render/renderFxUsdrenderbtydcmpublishtest/v024/DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1001.exr', 'size': 1143579, 'hash': 'DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024,1001,exr|1729004505,8581073|1143579', 'hash_type': 'op3'}, {'id': 'e04fc5358b0a11ef9f2711fb0cca1dae', 'name': 'DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1002.exr', 'path': '{root[work]}/LBS_DEV//sh_ayonusdpublishtest/publish/render/renderFxUsdrenderbtydcmpublishtest/v024/DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1002.exr', 'size': 1142601, 'hash': 'DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024,1002,exr|1729004523,970538|1142601', 'hash_type': 'op3'}, {'id': 'e0505dbf8b0a11efa56911fb0cca1dae', 'name': 'DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1003.exr', 'path': '{root[work]}/LBS_DEV//sh_ayonusdpublishtest/publish/render/renderFxUsdrenderbtydcmpublishtest/v024/DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1003.exr', 'size': 1142036, 'hash': 'DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024,1003,exr|1729004544,7239575|1142036', 'hash_type': 'op3'}, {'id': 'e050e8308b0a11efa2bc11fb0cca1dae', 'name': 'DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1004.exr', 'path': '{root[work]}/LBS_DEV//sh_ayonusdpublishtest/publish/render/renderFxUsdrenderbtydcmpublishtest/v024/DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1004.exr', 'size': 1142295, 'hash': 'DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024,1004,exr|1729004562,9572573|1142295', 'hash_type': 'op3'}, {'id': 'e0516f5f8b0a11ef80de11fb0cca1dae', 'name': 'DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1005.exr', 'path': '{root[work]}/LBS_DEV//sh_ayonusdpublishtest/publish/render/renderFxUsdrenderbtydcmpublishtest/v024/DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1005.exr', 'size': 1142582, 'hash': 'DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024,1005,exr|1729004582,261201|1142582', 'hash_type': 'op3'}], 'name': 'exr', 'data': {'context': {'root': {'work': '\\\\avril\\jobs\\ads'}, 'project': {'name': 'LBS_DEV', 'code': 'DEV'}, 'hierarchy': '', 'folder': {'name': 'sh_ayonusdpublishtest', 'type': 'Shot', 'path': '/sh_ayonusdpublishtest'}, 'product': {'name': 'renderFxUsdrenderbtydcmpublishtest', 'type': 'render'}, 'version': 24, 'frame': '1001', 'ext': 'exr', 'task': {'name': 'fx', 'type': 'FX', 'short': 'fx'}, 'representation': 'exr', 'username': 'krishnaavril', 'user': 'krishnaavril', 'asset': 'sh_ayonusdpublishtest', 'subset': 'renderFxUsdrenderbtydcmpublishtest', 'family': 'render'}, 'colorspaceData': {'colorspace': 'ACES - ACEScg', 'config': {'path': 'C:\\Users\\avril3975\\AppData\\Local\\Ynput\\AYON\\addons\\ayon_ocio_1.1.1\\ayon_ocio\\configs\\OpenColorIOConfigs\\aces_1.2\\config.ocio', 'template': '{BUILTIN_OCIO_ROOT}/aces_1.2/config.ocio'}}}, 'attrib': {'path': '\\\\avril\\jobs\\ads/LBS_DEV//sh_ayonusdpublishtest/publish/render/renderFxUsdrenderbtydcmpublishtest/v024/DEV_sh_ayonusdpublishtest_renderFxUsdrenderbtydcmpublishtest_v024.1001.exr', 'template': '{root[work]}/{project[name]}/{hierarchy}/{folder[name]}/publish/{product[type]}/{product[name]}/v{version:0>3}/{project[code]}_{folder[name]}_{product[name]}_v{version:0>3}<_{output}><.{frame:0>4}>.{ext}'}}}]
DEBUG: Executing [POST] projects/LBS_DEV/operations
DEBUG: http://192.168.168.168:5000 "POST /api/projects/LBS_DEV/operations HTTP/1.1" 200 211
DEBUG: Response <RestApiResponse [200]>
INFO: Registered 1 representations: exr
DEBUG: Render on farm is disabled. Skipping deadline submission.
DEBUG: There are no published representations on the instance usdrenderbtydcmpublishtest [1001 - 1005].
DEBUG: There is no representation with name "thumbnail"
DEBUG: Skipping thumbnail integration for instance "renderFxUsdrenderbtydcmpublishtest [1001 - 1005]". Instance and context thumbnail paths are not available.
DEBUG: All instances were filtered. Thumbnail integration skipped.
DEBUG: Instance usdrenderbtydcmpublishtest doesn't have version.
WARNING: No workfile in this publish session.
DEBUG: Skipping local instance.
DEBUG: Skipping local instance.
DEBUG: Skipping instance renderFxUsdrenderbtydcmpublishtest [1001 - 1005] because it does not specify version attributes to set.
DEBUG: There are no version attributes to update
DEBUG: Publish is not affecting running timers.
INFO: New version _v025
DEBUG: http://192.168.168.168:5000 "POST /graphql HTTP/1.1" 200 155
DEBUG: Response <RestApiResponse [200]>
DEBUG: http://192.168.168.168:5000 "POST /graphql HTTP/1.1" 200 136
DEBUG: Response <RestApiResponse [200]>
INFO: Running callback on save..
DEBUG: Executing [GET] projects/LBS_DEV
DEBUG: Resetting dropped connection: 192.168.168.168
DEBUG: http://192.168.168.168:5000 "GET /api/projects/LBS_DEV HTTP/1.1" 200 5414
DEBUG: Response <RestApiResponse [200]>
DEBUG: http://192.168.168.168:5000 "POST /graphql HTTP/1.1" 200 751
DEBUG: Response <RestApiResponse [200]>
DEBUG: http://192.168.168.168:5000 "POST /graphql HTTP/1.1" 200 669
DEBUG: Response <RestApiResponse [200]>
DEBUG: Executing [GET] users/me
DEBUG: http://192.168.168.168:5000 "GET /api/users/me HTTP/1.1" 200 660
DEBUG: Response <RestApiResponse [200]>
DEBUG: Cleaning renders new...
DEBUG: __ transfers_dirs: `set()`
DEBUG: __ self.patterns: `None`
DEBUG: Skipping cleanup. Staging dir not set on instance: usdrenderbtydcmpublishtest.
DEBUG: Cleaning renders new...
DEBUG: __ transfers_dirs: `set()`
DEBUG: __ self.patterns: `None`
DEBUG: Skipping cleanup. Staging directory is not in the temp folder: //avril/jobs/ads/LBS_DEV//sh_ayonusdpublishtest/work/fx/render/karma1/v1/DCM
DEBUG: No full paths to cleanup were collected.
DEBUG: No empty dirs to cleanup were collected.|

It got published successfully, skipping the bty and publishing the dcm alone

@BigRoy
Copy link
Contributor Author

BigRoy commented Oct 15, 2024

@krishnaavril So did it work for your use case? :)

By the way - with this fix you should be able to publish both the render products just fine from one publish instance in one go.

@krishnaavril
Copy link
Contributor

No @BigRoy
I checked the log report
It skipped the beauty and published dcm, it didn't published two layers

The best way I would imagine is
It should publish beauty, and another layer dcm

I also noticed if we keep the log(checkpoint) option enabled in labs karma, ayon publishing checkpoint as new layer, we need same approach for dcm

@BigRoy BigRoy added the community Issues and PRs coming from the community members label Nov 6, 2024
@BigRoy BigRoy requested a review from MustafaJafar November 6, 2024 11:11
@MustafaJafar
Copy link
Contributor

MustafaJafar commented Nov 19, 2024

I also noticed if we keep the log(checkpoint) option enabled in labs karma, ayon publishing checkpoint as new layer, we need same approach for dcm

The thing is that dcm prim is using the same AOV names as the renderproduct prim.
Unlike the checkpoint prim doesn't have any AOVs.

This images shows what I mean. Let me create a quick PR.
Here is it. #178
Tagging @krishnaavril for visibility.
image

@@ -166,6 +166,15 @@ def get_aov_identifier(self, render_product):
str: The AOV identifier

"""
# Allow explicit naming through custom attribute on the render product
aov_identifier = render_product.GetPrim().GetAttribute(
"ayon:aov_identifier").Get()
Copy link
Contributor

@MustafaJafar MustafaJafar Nov 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was returning None on my side because my wrangle was time dependent.
This fixes the issue.

Suggested change
"ayon:aov_identifier").Get()
"ayon:aov_identifier").Get(time=0)

image

Copy link
Contributor

@MustafaJafar MustafaJafar Nov 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: using time 0 may not be recommended although it's being used with render targets here

Anyways, we can use the earliest time.
but keep in mind, we still need to add this 👇 import at the top.

from pxr import Usd
Suggested change
"ayon:aov_identifier").Get()
"ayon:aov_identifier").Get(time=Usd.TimeCode.EarliestTime())

@MustafaJafar MustafaJafar linked an issue Nov 20, 2024 that may be closed by this pull request
2 tasks
@MustafaJafar
Copy link
Contributor

MustafaJafar commented Nov 20, 2024

Here are a test run after applying the suggested fix above.

image
Here's how I setup my scene.
image
image

if aov_identifier:
self.log.debug(
"Using explicit ayon:aov_identifier on render product"
" '{render_product}': {aov_identifier}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a missing f here

Suggested change
" '{render_product}': {aov_identifier}")
f" '{render_product}': {aov_identifier}")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Issues and PRs coming from the community members type: enhancement Improvement of existing functionality or minor addition
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Houdini USD Render Rop publish when DCM is enabled
3 participants