AWS Thinkbox Discussion Forums

Start DeadlineSlave

Hello,

I have a problem starting DeadlineSlave.
When I ran DeadlineSlave using -console it prints this information:

Qt: Untested Windows version 10.0 detected!
Auto Configuration: No auto configuration for Repository Path could be detected, using local configuration
Info Thread - Created.
CheckPathMapping: Swapped “P:.sys\python\Python37\Lib\site-packages” with “\aurora\projects.sys\python\Python37\Lib\site-packages”
CheckPathMapping: Swapped “P:.sys\python\Python37\Lib\site-packages” with “\aurora\projects.sys\python\Python37\Lib\site-packages”

Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
_ at Deadline.Configuration.Plugins.VersionTracker.b.c(IntPtr cdt)_
_ at Deadline.Configuration.Plugins.VersionTracker.LoadVersion()_
_ at Deadline.Configuration.Plugins.PluginManager.l(VersionTracker cct)_
_ at Deadline.Configuration.Plugins.PluginManager.a()_
_ at Deadline.Configuration.Plugins.PluginManager.b()_
_ at Deadline.Configuration.Plugins.PluginManager.j(VersionTracker ccq, Boolean ccr, Boolean ccs)_
_ at Deadline.Configuration.Plugins.PluginManager.g(Boolean ccn)_
_ at Deadline.Configuration.Plugins.PluginManager.f(Boolean ccl, Boolean ccm)_
_ at Deadline.Configuration.Plugins.PluginManager.ConfirmPlugin(Boolean timerStart)_
_ at Deadline.Slaves.SlaveManager.Connect(RepositoryConnectionSettings connectionSettings, Boolean updateScriptManager)_
_ at Deadline.Applications.DeadlineApplicationManager.Connect(Boolean updateScriptManager)_
_ at Deadline.Applications.DeadlineApplicationManager.Connect()_
_ — End of inner exception stack trace —_
_ at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)_
_ at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)_
_ at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)_
_ at Python.Runtime.MethodBinder.Invoke(IntPtr inst, IntPtr args, IntPtr kw, MethodBase info, MethodInfo[] methodinfo)_
_ at Python.Runtime.MethodObject.Invoke(IntPtr target, IntPtr args, IntPtr kw, MethodBase info)_
_ at Python.Runtime.MethodBinding.tp_call(IntPtr ob, IntPtr args, IntPtr kw)_
_ at Python.Runtime.Runtime.PyImport_ExecCodeModule(String name, IntPtr code)_
_ at Python.Runtime.PythonEngine.ModuleFromString(String name, String code, String fileName, Boolean optimizeCode)_
_ at FranticX.Scripting.PythonNetScriptEngine.ExecuteFile(String scriptFile, String moduleName, Boolean optimizeCode)_
_ at Deadline.Scripting.DeadlineScriptManager.CreateModuleFromFile(String scriptFilePath, String moduleName, Boolean addGlobalFunctions)_
_ at Deadline.Scripting.DeadlineScriptManager.CreateModuleFromFile(String scriptFilePath, String moduleName)_
_ at DeadlineSlave.DeadlineSlaveApp.Main(String[] args)_

Does anyone have a solution?

Check you pythonpath for the current host, you may need to remove the python 3.7 paths as they will conflict with the 2.7 libraries that deadline needs to use.

1 Like

I can’t suggest much past what @kwatts suggested!

That “Qt: Untested Windows version 10.0 detected!” is just it complaining that something might work, so we don’t need to worry about it yet.

Thank you for your reactions so far.
According to the difference between what normally runs on other PCs and on this machine, this is as follows:
“Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. -> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.”

Privacy | Site terms | Cookie preferences