3ds max (2015) + FumeFX Wavelet Turbulence issue

Hi, I can’t sim Wavelent Turbulence Inside max 2015 on Deadline 6.2, the standard sim work great, but for WT ot crash quickly on the first frame (sometime it sim few first frames but suddently stop).
Here’s what the slave tell me on the crash :

“Exception Details
RenderPluginException – Error in RenderTasks: TypeError : coercing to Unicode: need string or buffer, int found (Python.Runtime.PythonException)
[’ File “none”, line 2495, in HandleFumeFXProgress\n’]
à Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)
RenderPluginException.Cause: JobError (2)
RenderPluginException.Level: Major (1)
RenderPluginException.HasSlaveLog: True
Exception.Data: ( )
Exception.TargetSite: Void RenderTask(System.String, Int32, Int32)
Exception.Source: deadline
Exception.HResult: -2146233088
Exception.StackTrace:
à Deadline.Plugins.Plugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame)
à Deadline.Slaves.SlaveRenderThread.RenderCurrentTask(TaskLogWriter tlw)”

How to fix this?

This is a bug that shipped with Deadline v6.2 and is already fixed in upcoming Deadline v6.2.1 and in Deadline v7.0 (in private beta currently).
It should be easy enough to fix yourself. Open the “3dsmax.py” python plugin file: “…/your_repo/plugins/3dsmax/3dsmax.py” and search for the line towards the bottom:

(Backup this file first, just in case!)

msg = "FumeFX: (" + self.FumeFXCurrFrame + " to " + self.FumeFXEndFrame + ") - Mem: " + self.FumeFXMemUsed + " - LastTime: " + self.FumeFXFrameTime + " - ETA: " + self.FumeFXEstTime

and replace it with this line instead:

msg = "FumeFX: (" + str(self.FumeFXCurrFrame) + " to " + str(self.FumeFXEndFrame) + ") - Mem: " + str(self.FumeFXMemUsed) + " - LastTime: " + str(self.FumeFXFrameTime) + " - ETA: " + str(self.FumeFXEstTime)

Make sure you save the file and try re-running the previously failing job.

Regards,
Mike

Work perfectly, great & thanks… :slight_smile: