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

CreatePreviewJobFromTasks.py - PythonNetException: DeadlineSubmissionException : could not find Auxiliary submission file: 6f03647cc5d01164.json #52

Open
Kornosky opened this issue Apr 26, 2022 · 1 comment

Comments

@Kornosky
Copy link

Hello! I'm trying to use this awesome script, but keep getting the error:
PythonNetException: DeadlineSubmissionException : could not find Auxiliary submission file: 6f03647cc5d01164.json

This doesn't make sense to me because the Aux files are very much there, is there something that needs to be added to the script for it to correctly find the Aux file?
Additionally, I would like to have it consider job dependencies, but that's a later issue.

Repository Version: 10.1.12.1 (f21639b8f)
Integration Version: 10.1.12.1 (f21639b8f)
3PL Settings Version: 27/11/2020

Thanks in advance!

Context:
https://github.com/ThinkboxSoftware/Deadline/blob/master/Custom/scripts/Tasks/CreatePreviewJobFromTasks.py

@RandomInsano
Copy link
Contributor

RandomInsano commented Jul 12, 2023

Thanks for reporting this @Kornosky! I bet the problem is that we're not builidng the full path to the job's aux files here:
https://github.com/ThinkboxSoftware/Deadline/blob/master/Custom/scripts/Tasks/CreatePreviewJobFromTasks.py#L58C32-L58C63

I think the way around that is going to be to resubmit the job as suspended using ResubmitJob, then make modifications to that, then unsuspend it. This avoids the need to read and write the aux files via Python and we can just let the core Deadline API do the right thing for us.

I can't commit to when this might happen, but it does look like we'll need to do that to support any jobs with auxiliary files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants