AWS Thinkbox Discussion Forums

FFMpeg plugin error

In Beta 3, my slaves are now able to properly dequeue and execute tasks. However, the FFMpeg job plugin is throwing an exception:

The license file being used will expire in 105 days.

 Scheduler Thread - Synchronizing job files
 Scheduler Thread - Synchronization time for job files: 2.383 ms
 Scheduler Thread - Synchronizing plugin files
 Scheduler Thread - Synchronization time for plugin files: 33.684 ms
Constructor: FFmpeg
0: Task timeout is disabled.
0: Loaded job: mov to tiff test 1 (507c7faca2cb531474547f8b)
0: INFO: StartJob: initializing script plugin FFmpeg
 Scheduler Thread - Render Thread 0 threw an error: 
 Scheduler Thread - An error occurred while initializing the plugin process: Error in InitializeProcess(): AttributeError : 'FFmpegPlugin' object has no attribute 'AddStdoutHandler'
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Exception Details
PythonException -- AttributeError : 'FFmpegPlugin' object has no attribute 'AddStdoutHandler'
PythonException.PyType: 140418408044640
PythonException.PyValue: 56150512
Exception.Source: Python.Runtime
Exception.TargetSite: System.Object TrueDispatch(System.Collections.ArrayList)
Exception.Data: ( )
  Exception.StackTrace: 
['  File "none", line 24, in InitializeProcess\n']

ManagedProcessAbort -- Error in InitializeProcess(): AttributeError : 'FFmpegPlugin' object has no attribute 'AddStdoutHandler'
Exception.Source: franticx
Exception.TargetSite: Void Initialize(FranticX.IO.LogFunctions)
Exception.Data: ( )
  Exception.StackTrace: 
  at FranticX.Processes.ManagedProcess.Initialize (FranticX.IO.LogFunctions logFunctions) [0x00000] in <filename unknown>:0 
  at Deadline.Plugins.ScriptPlugin.StartJob (Deadline.Jobs.Job job) [0x00000] in <filename unknown>:0 

RenderPluginException -- An error occurred while initializing the plugin process: Error in InitializeProcess(): AttributeError : 'FFmpegPlugin' object has no attribute 'AddStdoutHandler'
RenderPluginException.Cause: JobError (2)
RenderPluginException.HasSlaveLog: True
Exception.Source: deadline
Exception.TargetSite: Void StartJob(Deadline.Jobs.Job)
Exception.Data: ( )
  Exception.StackTrace: 
  at Deadline.Plugins.ScriptPlugin.StartJob (Deadline.Jobs.Job job) [0x00000] in <filename unknown>:0 
  at Deadline.Plugins.Plugin.StartJob (Deadline.Jobs.Job job) [0x00000] in <filename unknown>:0 
  at Deadline.Slaves.SlaveRenderThread.a (Deadline.IO.TaskLogWriter A_0) [0x00000] in <filename unknown>:0 

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

-Nathan

Thanks for reporting this! Go to \your\repository\plugins\FFmpeg and open FFmpeg.py in a text editor. Change this line:

self.AddStdoutHandler(".*Error.*",self.HandleStdoutError)

To this:

self.AddStdoutHandlerCallback(".*Error.*").HandleCallback += self.HandleStdoutError

This will be fixed in beta 4.

Cheers,

  • Ryan

Looks like that did it. Thanks Ryan.

Privacy | Site terms | Cookie preferences