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

husk should abort render when the arnold license is not found and ARNOLD_FORCE_ABORT_ON_LICENSE_FAIL is set #1950

Closed
cpichard opened this issue Jun 26, 2024 · 3 comments · Fixed by #1951
Labels
enhancement New feature or request

Comments

@cpichard
Copy link
Collaborator

Describe the feature you'd like
When ARNOLD_FORCE_ABORT_ON_LICENSE_FAIL is set, the render will abort if the license is not found. However in husk, the render aborts but husk will write black frames and not return any errors. We want to make sure that when the license is not found and ARNOLD_FORCE_ABORT_ON_LICENSE_FAIL is set, husk does not write any frames.

@cpichard cpichard added the enhancement New feature or request label Jun 26, 2024
@autodesk-oss-arnold-bot
Copy link

Issue synced internally to ARNOLD-15220

@xsisupport
Copy link

If I'm batch rendering elsewhere with Arnold (kick, mayabatch, sick), I don't need to set ARNOLD_FORCE_ABORT_ON_LICENSE_FAIL to abort on license fail. Arnold does it automatically for batch renders.

Is ARNOLD_FORCE_ABORT_ON_LICENSE_FAIL required for husk because husk doesn't know whether it's a batch or interactive render?

@cpichard
Copy link
Collaborator Author

Hi, ARNOLD_FORCE_ABORT_ON_LICENSE_FAIL is required for husk as we have to abort before the creation of the render delegate, so before reading any file and the options (abort on licence) in the ass file. We did that to be able to run the hydra tests even if the license isn't found. We could change it if setting ARNOLD_FORCE_ABORT_ON_LICENSE_FAIL turns out to be a burden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
2 participants