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

Bug: Deadline Openpype cannot find compatible version #474

Closed
ClementHector opened this issue Jun 23, 2023 · 3 comments
Closed

Bug: Deadline Openpype cannot find compatible version #474

ClementHector opened this issue Jun 23, 2023 · 3 comments
Assignees
Labels
bug Something isn't working module: deadline

Comments

@ClementHector
Copy link

Before posting a new ticket, have you looked through the documentation to find an answer?

Yes I have

Have you looked through the existing tickets to find any related issues ?

Yes I have

Author of the bug

No response

Version

3.15.11-nightly.2

What platform you are running OpenPype on?

Linux / Centos

Current Behavior:

The job deadline fails with this error:

RuntimeError: Cannot find compatible version available for version 3.15.11-nightly.3 requested by the job. Please add it through plugin configuration in Deadline or install it to configured directory.

Expected Behavior:

The job must be calculated

What type of bug is it ?

Happens everytime with different configurations

Which project / workfile / asset / ...

TEST_OP2_PUB_23_7 / Assets / can / model

Steps To Reproduce:

  1. Open Maya scene
  2. Publish
  3. See the job in deadline

Relevant log output:

No response

Additional context:

No response

@ClementHector ClementHector added bug Something isn't working module: deadline labels Jun 23, 2023
@ccaillot ccaillot self-assigned this Jun 23, 2023
@ccaillot
Copy link

ccaillot commented Jun 23, 2023

In order to resolve this issue, I conducted some research and discovered that it's not exactly a bug, but rather a folder hierarchy issue.

Based on my search, there are two solutions available:

  • The first solution is simpler but requires creating another Deadline Custom PreJob Plugin. As mentioned in the Openpype documentation (https://openpype.io/docs/dev_deadline/), deleting the OPENPYPE_VERSION environment variable will force the studio settings version and prevent the error message from appearing.

  • The second solution is based on this pull request (Deadline: Build version resolving ynput/OpenPype#4115), which explains how the Deadline plugins work. It seems that the way we set the parent nomenclature is incorrect. Currently, we only manage major and minor versions in our release directory (which is setted in the Deadline OpenPype Plugin). To address this, I created a symlink in the same folder to manage the patch, and this approach resolved the issue.

@ClementHector
Copy link
Author

ClementHector commented Jun 23, 2023

If I understood the problem will come from the deployment on zip, if I add a 3.15.* folder in the /prod/softprod/apps/openpype/REPOSITORY/

@ccaillot
Copy link

After discussion, the problem has been solved by renaming /prod/softprod/apps/openpype/LINUX/3.15/ to /prod/softprod/apps/openpype/LINUX/3.15.0/, the 3.14 version and path to shortcuts has been updated too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working module: deadline
Projects
None yet
Development

No branches or pull requests

2 participants