Skip to content

USD Resolver lakefs path override - key error #102

@antirotor

Description

@antirotor

Is there an existing issue for this?

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

Description

Current Behavior

When ayon+settings://usd/distribution/lake_fs_overrides is set, launching application will result in error posted below.

Expected Behavior

Override should work as expected

Steps To Reproduce:

Create override here ayon+settings://usd/distribution/lake_fs_overrides - something like

Image

Additional context:

Version

aoyn-usd 0.1.4

What platform were you running when you found the bug?

Linux - Rocky9

Relevant log output:

Traceback (most recent call last):
  File "/home/ynput/CODE/__YNPUT/ayon-applications/client/ayon_applications/addon.py", line 281, in launch_application
    app_manager.launch(app_name, **data)
  File "/home/ynput/CODE/__YNPUT/ayon-applications/client/ayon_applications/manager.py", line 193, in launch
    return self.launch_with_context(context)
  File "/home/ynput/CODE/__YNPUT/ayon-applications/client/ayon_applications/manager.py", line 169, in launch_with_context
    return launch_context.launch()
  File "/home/ynput/CODE/__YNPUT/ayon-applications/client/ayon_applications/manager.py", line 707, in launch
    self.run_prelaunch_hooks()
  File "/home/ynput/CODE/__YNPUT/ayon-applications/client/ayon_applications/manager.py", line 690, in run_prelaunch_hooks
    hook.execute()
  File "/home/ynput/.local/share/AYON/addons/usd_0.1.4/ayon_usd/hooks/pre_resolver_init.py", line 28, in execute
    resolver_lake_fs_path = utils.get_resolver_to_download(
  File "/home/ynput/.local/share/AYON/addons/usd_0.1.4/ayon_usd/utils.py", line 135, in get_resolver_to_download
    return resolver_overwrite["lake_fs_path"]
KeyError: 'lake_fs_path'

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions