Hi,
[*]Problem
trying out Deadline 3, submitting a DFusion 4 flow, I got an error message:
“…An error occurred in StartJob(): GetFloatPluginInfoEntry: Could not parse value for key Version into a float because Input string was not in a correct format. (Deadline.Plugins.RenderPluginException)…”
Obviously StartJob() expects the Fusion version string to be a float number. The thing is that the call
df:GetAttrs().DFS_Version
in"SubmitToDeadline.dfscript" in my case gets the DFusion version as a string: “4.04e”.[/*]
[*]Solution(?)
I replaced the line
fh:write( "Version=" .. df:GetAttrs().DFS_Version .. "\n" )
with
fh:write( "Version=" .. string.gsub(df:GetAttrs().DFS_Version, "%a", "") .. "\n" )
,cutting away any alphanumeric characters from the version string. Now my DFusion jobs are rendering without errors.
I’m only not sure if I produce errors in other contexts with this modification. Would be good if somebody from the FF team had a look at it.
[/*]