AWS Thinkbox Discussion Forums

Error in Maya 2020 Submit in Deadline 10.4.0.8

When I submit a MayaBatch to Farm using the Default MayaSubmit in Deadline 10.4.0.8, the following error occurs and the submission does not take place.

↑Even if the error shown above occurs, a TextFile for Submit is created, so a similar error occurs when using the SystemCommand in the following Mel to perform Submit.

When I submit with Maya2024 using the same Submitter, the error does not occur and the job is submitted successfully.

Is this due to the Python2 environment?
Are there any other comrades who are experiencing similar errors?


test mel Code

string $deadlineCommand = "C:/Program Files/Thinkbox/Deadline10/bin/deadlinecommand.exe";
string $submissionFile = "C:/Users/<USER>/AppData/Local/Thinkbox/Deadline10/temp/maya_submission_379b93bf16.txt";
string $deadlineCommandString = "\"" + $deadlineCommand + "\" " + $submissionFile;
print($deadlineCommandString + "\n");
$result = system( $deadlineCommandString );
print($result + "\n");

Error Code

Deadline Command 10.4 [v10.4.0.8 Release (48b7b8ab1)]
Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at Python.Runtime.Runtime.PyObject_CallObject(Python.Runtime.BorrowedReference, Python.Runtime.BorrowedReference)
   at Python.Runtime.ImportHook.SetupImportHook()
   at Python.Runtime.ImportHook.Initialize()
   at Python.Runtime.Runtime.Initialize(Boolean)
   at Python.Runtime.PythonEngine.Initialize(System.Collections.Generic.IEnumerable`1<System.String>, Boolean, Boolean)
   at Python.Runtime.PythonEngine.Initialize(Boolean, Boolean)
   at Python.Runtime.PythonEngine.Initialize()
   at FranticX.Scripting.PythonNetScriptEngine.Initialize(Boolean, System.String, System.String)
   at FranticX.Scripting.PythonNetScriptEngine..ctor(Boolean, Boolean, System.String, System.String)
   at Deadline.Scripting.DeadlineScriptManager.a()
   at Deadline.Scripting.DeadlineScriptManager..ctor(Deadline.Controllers.DataController, Boolean, Boolean)
   at Deadline.Scripting.DeadlineScriptManager.GetInstance(Deadline.Controllers.DataController, Boolean, Boolean)
   at Deadline.Events.DeadlineEventPlugin.Initialize(Boolean)
   at Deadline.Events.DeadlineEventManager.d(Deadline.Controllers.DataController)
   at Deadline.Events.DeadlineEventManager.b(Deadline.Controllers.DataController)
   at Deadline.Events.DeadlineEventManager..ctor(Deadline.Controllers.DataController)
   at Deadline.Applications.DeadlineApplicationManager.TryCreateEventManager()
   at Deadline.Applications.DeadlineApplicationManager.GetEventManager()
   at Deadline.Applications.Consoles.DeadlineRepositoryCommand.InitializeEventManager()
   at Deadline.Applications.Consoles.SubmitJob.Invoke(System.String[])
   at Deadline.Submission.Submit.Perform(System.String[])
   at DeadlineCommand.DeadlineCommandApp.a(System.String[])
   at DeadlineCommand.DeadlineCommandAppStartup.Main(System.String[])

Privacy | Site terms | Cookie preferences