Error: could not find Auxiliary submission file (Deadline.Submission.DeadlineSubmissionException)

Hello,

I’m working on a custom submitter for 3ds Max using the Python API (through the Web Service).

I’m having a bit of trouble with the submit function:

If I use the Web Service I get an error when submitting the scene file with the SubmitJobFiles():

connection.Jobs.SubmitJobFiles(jobInfoFilepath, pluginInfoFilepath, auxiliaryFiles)

where connection = Connect(SERVER_NAME, SERVER_PORT, True, CERTIFICATE_PATH, False)

the error is Error: could not find Auxiliary submission file: [path to 3ds Max file] (Deadline.Submission.DeadlineSubmissionException)

The problem is that the file is actually there (in my download folder C:\Users\username\Downloads\Scene.max)

But, if I use the command subprocess.call([DEADLINE_COMMAND, jobInfoFilepath, pluginInfoFilepath, sceneFilepath], shell=True) it works!

Is this a bug or am I setting something the wrong way?

Thank you,

Enrico Lapponi

Nevermind, I found a solution!

Instead of using the C:\Users\username\...
I used \\machine-name\c$\Users\username\...
and it worked!

I imagine this is because the Web Service can’t actually access the C:\ drive on my computer unless I set network path as input, right?

Yep, in the non-working option you’re asking the web service to go to C:\Users\username\Downloads\Scene.max, which doesn’t exist on that machine, where the UNC path goes to the proper spot in your downloads folder.

1 Like