Skip to content

CollectRenderFiles expects a specific root renders #209

@MustafaJafar

Description

@MustafaJafar

Is there an existing issue for this?

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

Description

Current Behavior

CollectRenderFiles expects a specific root renders

Expected Behavior

I expected either one of two things:

  1. to use a default root work that we are almost sure it exists.
  2. OR exposing the used root in addon settings to inform admins about this requirment.
  3. Support staging directories with a fallback in complaince to 130 ay 6965 default output paths and support custom staging directories. ayon-houdini#200

Steps To Reproduce:

  1. Use default anaotmy preset with work
  2. setup unreal to work with AYON
  3. Try to publish a render

Additional context:

Version

Version of the server, ayon-core and the addon that's affected

What platform were you running when you found the bug?

Windows
Linux - Rocky9
Linux - Ubuntu
MacOS

You can also provide any additional information relevant to the issue.

Relevant log output:

Traceback (most recent call last):
  File "E:\Ynput\ayon-unreal\client\ayon_unreal\plugins\publish\collect_render_files.py", line 93, in process
    root = anatomy.roots['renders']
           ~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'renders'

The above exception was the direct cause of the following exception:

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