Skip to content

Ensure Nuke host get installed in none-GUI / terminal mode #188

@rdelillo

Description

@rdelillo

Is there an existing issue for this?

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

Description

Current Behavior

At Nuke start-up we call menu.py that is responsible for installing the AYON Nuke host.
This is important as this part is responsible for:

  • menu creation
  • colorspace setup
  • write callbacks for new version....

However this code is never called in terminal mode.

This issue is also related to:
#174

Expected Behavior

We need to ensure the same code get called in terminal mode.

From Nuke documentation Nuke relies on menu.py and init.py as start-up script(s):
https://support.foundry.com/hc/en-us/articles/360003811839-Q100490-What-are-the-init-py-and-menu-py-startup-script-files

We configure everything through menu.py right now which is wrong as it is not called in none-GUI mode.
The code should be reworked so the host install happens in an init.py instead. Which hopefully should fix it all.

Steps To Reproduce:

No response

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:

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions