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

.gizmo files are not synce'd #144

Open
andymanaws opened this issue May 15, 2024 · 0 comments
Open

.gizmo files are not synce'd #144

andymanaws opened this issue May 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@andymanaws
Copy link

Expected Behaviour

.gizmo files ( that could be expressed an environment packages) should also be available to be sync'd via the job attachments scheme.

At present they are not.

A workaround is to attach a path variable setup in the Queue Environment, to perform an additional path sync ( the user points the path to a gizmo folder) and then this path is inserted into the NUKE_PATH:

{
                "specificationVersion": "environment-2023-09",
                "parameterDefinitions": [
                                {
                                                "name": "gizmodir",
                                                "type": "PATH",
                                                "default": "",
                                                "dataFlow": "IN",
                                                "objectType": "DIRECTORY"
                                }
                ],
                "environment": {
                                "name": "nukePath",
                                "script": {
                                                "actions": {
                                                                "onEnter": {
                                                                                "command": "{{Env.File.Enter}}"
                                                                }
                                                },
                                                "embeddedFiles": [
                                                                {
                                                                                "name": "Enter",
                                                                                "type": "TEXT",
                                                                                "runnable": true,
                                                                                "data": "#!/bin/bash\necho 'openjd_env: NUKE_PATH=$NUKE_PATH:{{Param.gizmodir}}'"
                                                                }
                                                ]
                                }
                }
}

Current Behaviour

No gizmos are sync'd.

Reproduction Steps

create a gizmo.
use it in the graph.
submit a job - Nuke will fail to find the gizmo and error on scene load.

Code Snippet

we need to add more code...

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

No branches or pull requests

1 participant