Mapped Paths

Having trouble getting path mapping to work. Wondering what I am doing wrong. Need to get Mac clients to submit to Windows slaves.

Attached my mapping but still get the following error:

aerender Error: After Effects error: Error in output for render queue item 1, output module 1. Directory does not exist: \Volumes\staff_folders\JoelH\render tests.
at Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)

Am I missing something?

Try turning off regular expressions to see if that helps. If that doesn’t help, can you send us the full error report for the job when this error occurs?

Thanks!

  • Ryan

Turned off regular expressions and got a different error:

=======================================================
Error

Error in PreRenderTasks: parsing “\Volumes\staff_folders” - Illegal \ at end of pattern. (System.ArgumentException)
at System.Text.RegularExpressions.RegexParser.ScanBackslash()
at System.Text.RegularExpressions.RegexParser.ScanRegex()
at System.Text.RegularExpressions.RegexParser.Parse(String re, RegexOptions op)
at System.Text.RegularExpressions.Regex…ctor(String pattern, RegexOptions options, Boolean useCache)
at FranticX.IO.MappedOSPath.GetMapping(String path, String& newPath)
at Deadline.IO.PathMappingUtils.CheckPathMapping(String path, DataController dataController, GenericDelegate1`1 logFunction)
at Deadline.Scripting.RepositoryUtils.CheckPathMapping(String path)
at Python.Runtime.Dispatcher.TrueDispatch(ArrayList args)
at Python.Runtime.Dispatcher.Dispatch(ArrayList args)
at FranticX.Processes.ManagedProcess.PreRenderTasks()
at FranticX.Processes.ManagedProcess.Execute(Boolean waitForExit)
at Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)

=======================================================
Type

RenderPluginException

=======================================================
Stack Trace

at Deadline.Plugins.Plugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame)
at Deadline.Slaves.SlaveRenderThread.a(TaskLogWriter A_0)

=======================================================
Full Log

0: Task timeout is disabled.
0: Loaded job: ShadowFight_03.aep - ShadowFight_Assembly_01 (multi-machine rendering frames 0-5319) (51ddec3a8de795313cb6c908)
0: INFO: Executing plugin script C:\Users\ace\AppData\Local\Thinkbox\Deadline6\slave\RENDER3\plugins\AfterEffects.py
0: INFO: About: After Effects Plugin for Deadline
0: INFO: The current environment will be used for rendering
0: Plugin rendering frame(s): 3

=======================================================
Details

Date: 07/11/2013 16:58:44
Frames: 3
Elapsed Time: 00:00:00:02
Job Submit Date: 07/10/2013 16:15:52
Job User: joelh
Average RAM Usage: 3418951680 (14%)
Peak RAM Usage: 3418951680 (14%)
Average CPU Usage: 0%
Peak CPU Usage: 0%
Slave Name: RENDER3
Slave Version: v6.0.0.51561 R

Looks like it thinks there shouldnt be a “” a the end of the ‘path to replace’. I tried to remove the offending “” and got the same error.

It can take the slave a few minutes before it recognizes the mapped path changes you made. By now, they should all be seeing the new mapped path settings. Can you try again? If you still get the same error, let us know.

Thanks!

  • Ryan

tried it again this morning and got the following two different errors:

ERROR 1

=======================================================
Error

aerender Error: After Effects error: Error in output for render queue item 1, output module 1. Directory does not exist: \Volumes\staff_folders\JoelH\render tests.
at Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)

=======================================================
Type

RenderPluginException

=======================================================
Stack Trace

at Deadline.Plugins.Plugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame)
at Deadline.Slaves.SlaveRenderThread.a(TaskLogWriter A_0)

=======================================================
Full Log

0: Task timeout is disabled.
0: Loaded job: AE Test from Mac (multi-machine rendering frames 0-5319) (51ddec3a8de795313cb6c908)
0: INFO: Executing plugin script C:\Users\ace\AppData\Local\Thinkbox\Deadline6\slave\RENDER3\plugins\AfterEffects.py
0: INFO: About: After Effects Plugin for Deadline
0: INFO: The current environment will be used for rendering
0: Plugin rendering frame(s): 1
0: INFO: Performing path mapping on aepx project file
0: INFO: Stdout Handling Enabled: True
0: INFO: Popup Handling Enabled: True
0: INFO: Using Process Tree: True
0: INFO: Hiding DOS Window: True
0: INFO: Creating New Console: False
0: INFO: Render Executable: “C:\Program Files\Adobe\Adobe After Effects CS6\Support Files\aerender.exe”
0: INFO: Multi Machine Mode enabled
0: INFO: Render Argument: -project “C:\Users\ace\AppData\Local\Temp\ShadowFight_03_thread0.aepx” -comp “ShadowFight_Assembly_01” -output “\Volumes\staff_folders\JoelH\render tests\ShadowFight_Assembly_01_[#####].png” -mp
0: INFO: Startup Directory: “C:\Program Files\Adobe\Adobe After Effects CS6\Support Files”
0: INFO: Process Priority: BelowNormal
0: INFO: Process Affinity: default
0: INFO: Process is now running
0: STDOUT: aerender version 11.0x378
0: STDOUT: has video RAM(MB): 0
0: STDOUT: aerender Error: After Effects error: Error in output for render queue item 1, output module 1. Directory does not exist: \Volumes\staff_folders\JoelH\render tests.
0: STDOUT: LoadLibrary “n” failed!
0: STDOUT: LoadLibrary “n” failed!

=======================================================
Details

Date: 07/12/2013 09:54:20
Frames: 1
Elapsed Time: 00:00:00:14
Job Submit Date: 07/10/2013 16:15:52
Job User: joelh
Average RAM Usage: 8474083328 (33%)
Peak RAM Usage: 12555616256 (49%)
Average CPU Usage: 21%
Peak CPU Usage: 30%
Slave Name: RENDER3
Slave Version: v6.0.0.51561 R

ERROR 2

=======================================================
Error

aerender Error: After Effects error: Unable to call openFast because of parameter 1. File can not be opened. Try checking access permissions. Path: C:\Users\ace\AppData\Local\Temp\ShadowFight_03_thread0.aepx.
at Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)

=======================================================
Type

RenderPluginException

=======================================================
Stack Trace

at Deadline.Plugins.Plugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame)
at Deadline.Slaves.SlaveRenderThread.a(TaskLogWriter A_0)

=======================================================
Full Log

0: Task timeout is disabled.
0: Loaded job: AE Test from Mac (multi-machine rendering frames 0-5319) (51ddec3a8de795313cb6c908)
0: INFO: Executing plugin script C:\Users\ace\AppData\Local\Thinkbox\Deadline6\slave\RENDER3-b\plugins\AfterEffects.py
0: INFO: About: After Effects Plugin for Deadline
0: INFO: The current environment will be used for rendering
0: Plugin rendering frame(s): 1
0: INFO: Performing path mapping on aepx project file
0: INFO: Stdout Handling Enabled: True
0: INFO: Popup Handling Enabled: True
0: INFO: Using Process Tree: True
0: INFO: Hiding DOS Window: True
0: INFO: Creating New Console: False
0: INFO: Render Executable: “C:\Program Files\Adobe\Adobe After Effects CS6\Support Files\aerender.exe”
0: INFO: Multi Machine Mode enabled
0: INFO: Render Argument: -project “C:\Users\ace\AppData\Local\Temp\ShadowFight_03_thread0.aepx” -comp “ShadowFight_Assembly_01” -output “\Volumes\staff_folders\JoelH\render tests\ShadowFight_Assembly_01_[#####].png” -mp
0: INFO: Startup Directory: “C:\Program Files\Adobe\Adobe After Effects CS6\Support Files”
0: INFO: Process Priority: BelowNormal
0: INFO: Process Affinity: default
0: INFO: Process is now running
0: STDOUT: aerender version 11.0x378
0: STDOUT: has video RAM(MB): 0
0: STDOUT: aerender Error: After Effects error: Unable to call openFast because of parameter 1. File can not be opened. Try checking access permissions. Path: C:\Users\ace\AppData\Local\Temp\ShadowFight_03_thread0.aepx.
0: STDOUT: LoadLibrary “n” failed!
0: STDOUT: LoadLibrary “n” failed!

=======================================================
Details

Date: 07/12/2013 09:54:30
Frames: 1
Elapsed Time: 00:00:00:08
Job Submit Date: 07/10/2013 16:15:52
Job User: joelh
Average RAM Usage: 3672383488 (15%)
Peak RAM Usage: 3757592576 (15%)
Average CPU Usage: 5%
Peak CPU Usage: 10%
Slave Name: RENDER3-b
Slave Version: v6.0.0.51561 R

Dont know if they are related or not.

Oh, I think I know what the problem might be for the first one. Try changing your path mapping so that it only starts with one slash. For example:

/Volumes/staff_folders/

Typically, mac paths never start with two slashes, and that’s why the path mapping doesn’t occur. In the log, it shows up as having two slashes because Deadline adds the extra one on Windows because Window paths typically never start with one slash.

The second error is unrelated, and is probably a licensing error from one of the plugins that AE is using.

Cheers,

  • Ryan

That did it!!! “…and there was much rejoicing…”

Thread jacking, can Deadline learn which OS system users use so when it sends email notification it uses the appropriate mapping?

D

Hey Dave,

Unfortunately we don’t currently tie Deadline users to OSes in any way, so we can’t do path mapping on this stuff. I’ll log it as a feature request; there’s been some talk about revamping some of this stuff, but it probably won’t happen before 7.0, though.

Cheers,

  • Jon