ynput / ayon-nuke

Nuke addon for AYON
Apache License 2.0
4 stars 11 forks source link

AY-5776_Nuke: knob settings override error #26

Open ynbot opened 1 month ago

ynbot commented 1 month ago

Please describe the issue you have encountered?

When trying to set an expression or a Format from template on a nuke knob override in project_settings/nuke/imageio/nodes/overrideNodes/0/knobs/3/template I get this error:

Traceback (most recent call last):
  File "<string>", line 4, in <module>
  File "/mnt/share/lo13basu/dev/.packages/nuke_code/main/source/python/nuke_code/matchmove_template.py", line 194, in fill
    write_instances = _create_openpype_write_instances()
  File "/mnt/share/lo13basu/dev/.packages/nuke_code/main/source/python/nuke_code/matchmove_template.py", line 46, in _create_openpype_write_instances
    op_write_instance = create_context.create(
  File "/home/ldapusers/lo13basu/.local/share/openpype/3.18/openpype-v3.18.7-orca.1.0.13/openpype/pipeline/create/context.py", line 2049, in create
    return creator.create(
  File "/home/ldapusers/lo13basu/.local/share/openpype/3.18/openpype-v3.18.7-orca.1.0.13/openpype/hosts/nuke/plugins/create/create_write_render.py", line 94, in create
    instance_node = self.create_instance_node(
  File "/home/ldapusers/lo13basu/.local/share/openpype/3.18/openpype-v3.18.7-orca.1.0.13/openpype/hosts/nuke/plugins/create/create_write_render.py", line 63, in create_instance_node
    created_node = napi.create_write_node(
  File "/home/ldapusers/lo13basu/.local/share/openpype/3.18/openpype-v3.18.7-orca.1.0.13/openpype/hosts/nuke/api/lib.py", line 1316, in create_write_node
    imageio_writes = get_imageio_node_setting(
  File "/home/ldapusers/lo13basu/.local/share/openpype/3.18/openpype-v3.18.7-orca.1.0.13/openpype/hosts/nuke/api/lib.py", line 817, in get_imageio_node_setting
    get_imageio_node_override_setting(
  File "/home/ldapusers/lo13basu/.local/share/openpype/3.18/openpype-v3.18.7-orca.1.0.13/openpype/hosts/nuke/api/lib.py", line 873, in get_imageio_node_override_setting
    if not oknob["value"]:
KeyError: 'value'

@Ondrej Samohel (ynput) @Jakub Jeza Jezek (ynput) @Murphy (ynput)

How to replicate the issue?

No response

Additional context:

link to discussion on Discord (might be a private channel)

This issue was automatically created from Clickup ticket AY-5776

m-u-r-p-h-y commented 1 month ago

@jakubjezek001 is it still relevant for AYON?

jakubjezek001 commented 1 month ago

I am just quessing that it could but it needst to be tested