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

Hiero breaks on loading Effect Json #34

Open
1 task done
jrsndl opened this issue Nov 26, 2024 · 0 comments
Open
1 task done

Hiero breaks on loading Effect Json #34

jrsndl opened this issue Nov 26, 2024 · 0 comments
Labels
type: bug Something isn't working

Comments

@jrsndl
Copy link

jrsndl commented Nov 26, 2024

Is there an existing issue for this?

  • I have searched the existing issues and added correct labels.

Description

Current Behavior

After loading published effect to the timeline, Loader and Manager windows are empty

Image

Expected Behavior

Effect loader should work

Steps To Reproduce:

  1. Make fresh Hiero workfile, load several Nuke renders
  2. Load effect
  3. Loader and Manage are now empty, see console for error

Additional context:

Version

server 1.54, core 1.09, Hiero 0.40

What platform were you running when you found the bug?

Windows

WARNING:EventCallback:Failed to execute event callback < EventCallback - _on_folders_selection_change > C:\Users\jiri.sindelar\AppData\Local\Ynput\AYON\addons\core_1.0.9\ayon_core\tools\loader\ui\products_widget.py
Traceback (most recent call last):
  File "C:\Users\jiri.sindelar\AppData\Local\Ynput\AYON\addons\core_1.0.9\ayon_core\lib\events.py", line 332, in process_event
    callback(event)
  File "C:\Users\jiri.sindelar\AppData\Local\Ynput\AYON\addons\core_1.0.9\ayon_core\tools\loader\ui\products_widget.py", line 458, in _on_folders_selection_change
    self._refresh_model()
  File "C:\Users\jiri.sindelar\AppData\Local\Ynput\AYON\addons\core_1.0.9\ayon_core\tools\loader\ui\products_widget.py", line 323, in _refresh_model
    self._products_model.refresh(
  File "C:\Users\jiri.sindelar\AppData\Local\Ynput\AYON\addons\core_1.0.9\ayon_core\tools\loader\ui\products_model.py", line 480, in refresh
    product_items = self._controller.get_product_items(
  File "C:\Users\jiri.sindelar\AppData\Local\Ynput\AYON\addons\core_1.0.9\ayon_core\tools\loader\control.py", line 202, in get_product_items
    return self._products_model.get_product_items(
  File "C:\Users\jiri.sindelar\AppData\Local\Ynput\AYON\addons\core_1.0.9\ayon_core\tools\loader\models\products.py", line 229, in get_product_items
    self._refresh_product_items(
  File "C:\Users\jiri.sindelar\AppData\Local\Ynput\AYON\addons\core_1.0.9\ayon_core\tools\loader\models\products.py", line 617, in _refresh_product_items
    product_items_by_id = self._query_product_items_by_ids(
  File "C:\Users\jiri.sindelar\AppData\Local\Ynput\AYON\addons\core_1.0.9\ayon_core\tools\loader\models\products.py", line 537, in _query_product_items_by_ids
    return self._create_product_items(
  File "C:\Users\jiri.sindelar\AppData\Local\Ynput\AYON\addons\core_1.0.9\ayon_core\tools\loader\models\products.py", line 463, in _create_product_items
    loaded_product_ids = self._controller.get_loaded_product_ids()
  File "C:\Users\jiri.sindelar\AppData\Local\Ynput\AYON\addons\core_1.0.9\ayon_core\tools\loader\control.py", line 374, in get_loaded_product_ids
    for container in containers:
  File "C:\Users\jiri.sindelar\AppData\Local\Ynput\AYON\addons\hiero_0.4.0\ayon_hiero\api\pipeline.py", line 166, in ls
    container_data = parse_container(item)
  File "C:\Users\jiri.sindelar\AppData\Local\Ynput\AYON\addons\hiero_0.4.0\ayon_hiero\api\pipeline.py", line 227, in parse_container
    container = data_to_container(item, obj_data)
  File "C:\Users\jiri.sindelar\AppData\Local\Ynput\AYON\addons\hiero_0.4.0\ayon_hiero\api\pipeline.py", line 197, in data_to_container
    schema.validate(data)
  File "C:\Users\jiri.sindelar\AppData\Local\Ynput\AYON\addons\core_1.0.9\ayon_core\pipeline\schema\__init__.py", line 56, in validate
    jsonschema.validate(data,
  File "C:\Users\jiri.sindelar\AppData\Local\Ynput\AYON\dependency_packages\ayon_2406251801_windows.zip\dependencies\jsonschema\validators.py", line 541, in validate
    cls(schema, *args, **kwargs).validate(instance)
  File "C:\Users\jiri.sindelar\AppData\Local\Ynput\AYON\dependency_packages\ayon_2406251801_windows.zip\dependencies\jsonschema\validators.py", line 130, in validate
    raise error
jsonschema.exceptions.ValidationError: 'ayon:container-2.0' is not one of ['openpype:container-2.0']

Failed validating 'enum' in schema['properties']['schema']:
    {'description': 'Schema identifier for payload',
     'enum': ['openpype:container-2.0'],
     'example': 'openpype:container-2.0',
     'type': 'string'}

On instance['schema']:
    'ayon:container-2.0'

Relevant log output:

@jakubjezek001 jakubjezek001 added the type: bug Something isn't working label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants