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

Submit Nuke to Deadline fails when using local render #72

Closed
1 task done
jrsndl opened this issue Dec 4, 2024 · 2 comments
Closed
1 task done

Submit Nuke to Deadline fails when using local render #72

jrsndl opened this issue Dec 4, 2024 · 2 comments
Assignees
Labels
sponsored This is directly sponsored by a client or community member

Comments

@jrsndl
Copy link

jrsndl commented Dec 4, 2024

Is there an existing issue for this?

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

Description

Current Behavior

Local machine rendering from Nuke is failing on not finding tghe instance.data["deadline"]["url"].

Expected Behavior

Dedadline is not required for local publish, should be skipped

Steps To Reproduce:

  1. publish render from Nuke with Local machine rendering option

Additional context:

Version

Server 1.5.4, core 1.0.10, deadline 0.5.0, nuke 0.2.6

What platform were you running when you found the bug?

Windows 10

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

Skipping the submit_nuke_deadline seems to help:

    def process(self, instance):
        """Plugin entry point."""
        self._instance = instance

        if not instance.data.get("farm"):
            self.log.debug("Should not be processed on farm, skipping.")
            return

        context = instance.context
        self._deadline_url = instance.data["deadline"]["url"]
        assert self._deadline_url, "Requires Deadline Webservice URL"

Relevant log output:

Traceback (most recent call last):
  File "C:\Users\jiri.sindelar\AppData\Local\Ynput\AYON\dependency_packages\ayon_2406251801_windows.zip\dependencies\pyblish\plugin.py", line 528, in __explicit_process
    runner(*args)
  File "C:\Users\jiri.sindelar\AppData\Local\Ynput\AYON\addons\deadline_0.5.0\ayon_deadline\plugins\publish\nuke\submit_nuke_deadline.py", line 51, in process
    self._deadline_url = instance.data["deadline"]["url"]
KeyError: 'deadline'
@tatiana-ynput tatiana-ynput added the sponsored This is directly sponsored by a client or community member label Dec 4, 2024
@kalisp
Copy link
Member

kalisp commented Dec 4, 2024

Will be resolved by #74

@kalisp
Copy link
Member

kalisp commented Dec 9, 2024

Resolved by #74 , should be present in 0.5.1 release

@kalisp kalisp closed this as completed Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sponsored This is directly sponsored by a client or community member
Projects
None yet
Development

No branches or pull requests

3 participants