Mapped Paths not working between Windows and Linux

I have a network drive in Windows that is also mounted in Linux. The paths I specify aren’t getting placed.

On windows we have a Z drive. On Linux, it is seen as /shows

For the mapped paths, I put Z: to be replaced and /shows which is to replace it.

The mapped paths are being replaced, but the \ are not being replaced with /.

Deadline is just doing string replacement, which means that the path separators are only replaced for the part of the path that is getting replaced. The remaining part of the path is left as is. Normally, this isn’t a problem, as some applications can handle inconsistent path mappings, and for those that we are aware of that don’t, their Deadline plugins will handle it.

So to start, I’ll need to ask some questions:

  1. Which version of Deadline are you using?
  2. Which software are you rendering with (Maya, Nuke, etc)?
  3. Can you post an error report from a job that failed due to the inconsistent path separators?

Thanks!

  • Ryan
  1. Deadline 5.1
  2. Nuke

Also please ignore the weird Nuke file name without the .nk extension. It all renders in Nuke alone just fine.

[code]=======================================================
Error Message

Exception during render: An error occurred in RenderTasks(): Error in PreRenderTasks(): Could not find file “/shows\temp_BYU\projects\StarWars\dev\7UDdJv-xRFkaGNe7D6T6wNVcpq7XXLh9RlR73Eh4_Z-Ls5i2Da2wA_qYwvxh8xG73c1xNYGAXdRjf8OIiCcufQ”.
at Deadline.Plugins.ScriptPlugin.RenderTasks (System.String taskId, Int32 startFrame, Int32 endFrame, System.String& outMessage) [0x00000] in :0

=======================================================
Slave Log

0: Task timeout is disabled.
0: Loaded job: Untitled (999_050_999_1a321c99)
0: INFO: StartJob: initializing script plugin Nuke
0: INFO: About: Nuke Plugin for Deadline
0: INFO: Scrubbing the LD and DYLD LIBRARY paths
0: INFO: Prepping OFX cache
0: INFO: Checking Nuke temp path: /var/tmp/nuke-u0
0: INFO: Path already exists
0: INFO: OFX cache prepped
0: Plugin rendering frame(s): 1
0: INFO: Any stdout that matches the regular expression “READY FOR INPUT” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “.ERROR:.” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “.Error:.” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “.*Frame [0-9]+ (([0-9]+) of ([0-9]+))” will be handled as appropriate
0: INFO: CheckPathMapping: Swapped “Z:\temp_BYU\projects\StarWars\dev\7UDdJv-xRFkaGNe7D6T6wNVcpq7XXLh9RlR73Eh4_Z-Ls5i2Da2wA_qYwvxh8xG73c1xNYGAXdRjf8OIiCcufQ” with “/shows\temp_BYU\projects\StarWars\dev\7UDdJv-xRFkaGNe7D6T6wNVcpq7XXLh9RlR73Eh4_Z-Ls5i2Da2wA_qYwvxh8xG73c1xNYGAXdRjf8OIiCcufQ”

=======================================================
Error Type

RenderPluginException

=======================================================
Error Stack Trace

at Deadline.Plugins.Plugin.RenderTask (System.String taskId, Int32 startFrame, Int32 endFrame) [0x00000] in :0
at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask (Deadline.IO.TaskLogWriter tlw) [0x00000] in :0
[/code]

Also when submitting via the command line, it won’t fix the mapped paths either.

Try this updated Nuke plugin script. I think the problem is that we weren’t fixing the separator for the original scene file path.

To install, first go to \your\repository\plugins\Nuke and backup the original Nuke.py file. Then unzip the attached file to the same folder. Submit the job again and let us know if it helps. If it doesn’t, please post the new error message and we’ll keep digging!

Cheers,

I just reran the job that failed and it completed successfully. Thanks again for your help Ryan.

Awesome! Thanks for confirming the fix worked.