USD Publish Pinning issue

Hey there,

I’m testing the USD publishing from Maya and going into Solaris.

When publishing I’m coming across an error in the “Integrate data into USD pinning file” stage. The JSON sidecar files on disk all only show a timestamp and nothing else.

The error I get is:

Traceback (most recent call last):
  File "C:\Users\danwn\AppData\Local\Ynput\AYON\dependency_packages\ayon_2410161709_windows.zip\dependencies\pyblish\plugin.py", line 528, in __explicit_process
    runner(*args)
  File "C:\Users\danwn\AppData\Local\Ynput\AYON\addons\usd_0.1.2\ayon_usd\plugins\publish\integrate_pinning_file.py", line 81, in process
    ayon_api.get_project_roots_by_site_id(get_current_project_name()),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'ayon_api' has no attribute 'get_project_roots_by_site_id'

Any idea what this could be?

Thanks

You seem to be using an older ayon-python-api version, which means you’re likely using a somewhat older “dependency package” in your AYON bundle. You can likely fix that by either:

  • Using “pipeline update” or bootstrap on the web frontend to get a latest launcher and dependency package that we provide out of the box. And of course apply those to your new bundle.
  • Build the dependency package manually with the ayon-dependencies-tool but I’d only really do that if you have custom built addons with their own dependencies added.

However, what features of the ayon-usd addon are you using? Technically you could also disable that addon for now if you’re just doing some early testing and are not using the AYON USD Asset Resolver - because aside of that the ayon-usd addon for now doesn’t do all that much yet, most of the logic for USD features still lives in their ayon-core and the respective host integrations.

I did try a full update under the dev mode but it didnt seem to fix the issue, I’ve disabled the USD bundle for now and its working as expected.

Will check further into this before the next production. Thanks mate