Deadline n00b issue | Submit Command Script Job

Hello All you guys,

Im new into Deadline environment nevertheless I tried to configure Deadline with two slaves. Deadline Repository is locate on the X machine and the same slave is running on the X machine, X is a Mac OS 10.8.3 and im trying to submint a simple Command Script Job inserting “ping google.com” into the Command Script Options into a Y machine. Y machine is a Windows 7 Machine, which correctly connects to the Deadline Repository.

The think is that DeadLine Monitor is reporting that the following:

xception Details
FileNotFoundException – No se pudo encontrar el archivo ‘\192.168.1.66\DeadlineRepository\jobs\999_001_999_6abcc49c\taskProgress\0%_Starting_63505393835.0’.
FileNotFoundException.FileName: \192.168.1.66\DeadlineRepository\jobs\999_001_999_6abcc49c\taskProgress[b]0%_Starting_63505393835.0[/b]
Exception.Data: ( )
Exception.TargetSite: Void WinIOError(Int32, System.String)
Exception.Source: mscorlib
Exception.StackTrace:
en System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
en 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)
en System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
en System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
en FranticX.IO.File2.CreateEmptyFile(String path)
en Deadline.Jobs.TaskProgress.SaveProgressFile(String jobDirectory, Int32 taskId, String progress, String status, String taskStartTime)

2013-05-29 20:10:24:
Exception Details

and then…

2013-05-29 20:10:31: 0: INFO: Checking line:ping google.com
2013-05-29 20:10:31: 0: INFO: Executable found: ping
2013-05-29 20:10:31: 0: INFO: Arguments found: google.com
2013-05-29 20:10:31: 0: INFO: Stdout Handling Enabled: False
2013-05-29 20:10:31: 0: INFO: Popup Handling Enabled: False
2013-05-29 20:10:31: 0: INFO: Using Process Tree: True
2013-05-29 20:10:31: 0: INFO: Hiding DOS Window: True
2013-05-29 20:10:31: 0: INFO: Creating New Console: False
2013-05-29 20:10:31: 0: INFO: Render Executable: “ping”
2013-05-29 20:10:31: 0: INFO: Render Argument: google.com
2013-05-29 20:10:31: 0: INFO: Startup Directory: “”
2013-05-29 20:10:32: Scheduler Thread - Render Thread 0 threw an error:
2013-05-29 20:10:32: Scheduler Thread - Exception during render: An error occurred in RenderTasks(): Render executable returned from RenderExecutable(), “ping”, does not exist.
en Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage)
2013-05-29 20:10:33: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2013-05-29 20:10:33:
Exception Details
RenderPluginException – Exception during render: An error occurred in RenderTasks(): Render executable returned from RenderExecutable(), “ping”, does not exist.
en Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage)
RenderPluginException.Cause: JobError (2)
RenderPluginException.HasSlaveLog: True
Exception.Data: ( )
Exception.TargetSite: Void RenderTask(System.String, Int32, Int32)
Exception.Source: deadline
Exception.StackTrace:
en Deadline.Plugins.Plugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame)
en Deadline.Slaves.SlaveRenderThread.RenderCurrentTask(TaskLogWriter tlw)

############

I believe that “ping” is a universal bin OS command that should be there so that make as the 1000000 $$$ question… what im doing wrong? :open_mouth:

I will thank you so much !

Hmm, not sure what would cause issue 1, but for issue 2, the problem is that you’re not specifying a full path to ‘ping’ (ie: /sbin/ping). In Deadline 5 and earlier, absolute paths are required for executables, so if you change it to the full path, it should work.

In Deadline 6, relative paths and executables in your PATH env var will be supported.

Cheers,

  • Ryan

Hello rrussell,

Indeed, the first issue is solved, need to specify on windows the correct command.
C:\WINDOWS\system32\ping.exe www.google.com and is reflecting the output…

thanks…