Hi All
I’m using 8.1 and when I try and remote desktop a slave from monitor deadline only looks for the script in the custom folder and I get the error below. Solved for now by copying ConnectWithRemoteDesktop.py to \custom\scripts\General\ConnectWithRemoteDesktop.py
2016-12-13 22:33:53: Running script ConnectWithRemoteDesktop (T:/scripts\Slaves\ConnectWithRemoteDesktop.py)
2016-12-13 22:33:53: Traceback (most recent call last):
2016-12-13 22:33:53: File "DeadlineUI/Commands/ScriptCommands.py", line 105, in InnerExecute
2016-12-13 22:33:53: PythonNetException: FileNotFoundException : Could not find file 'T:\custom\scripts\General\ConnectWithRemoteDesktop.py'.
2016-12-13 22:33:53: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
2016-12-13 22:33:53: at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
2016-12-13 22:33:53: at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
2016-12-13 22:33:53: at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
2016-12-13 22:33:53: at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)
2016-12-13 22:33:53: at FranticX.Scripting.PythonNetScriptEngine.ExecuteFile(String scriptFile, String moduleName, Boolean optimizeCode)
2016-12-13 22:33:53: at Deadline.Scripting.DeadlineScriptManager.CreateModuleFromFile(String scriptFilePath, String moduleName, Boolean addGlobalFunctions)
2016-12-13 22:33:53: at Deadline.Scripting.ClientUtils.ExecuteScript(String scriptFilename, Object args)
2016-12-13 22:33:53: File "T:/scripts\Slaves\ConnectWithRemoteDesktop.py", line 24, in __main__
2016-12-13 22:33:53: ClientUtils.ExecuteScript(generalScript, nameList)