Nuke and relative path

Hello,

on a specific workflow, we’d like to use relative path for Write and Read node in Nuke.

I was under the impression that if we kept the “Submit Nuke Script File With Job” unchecked, the nodes would load the script right from the actual location (from a server). However, it gives errors on reading the assets:

Error: >>> [19:30.27] ERROR: Read2: C:/Users/mofa/AppData/Local/Thinkbox/Deadline8/slave/RF-PC-022/jobsData/57b4f02c74073a1d1c436241/thread1_tempxu08o0/Assets/Footage/TOP/SIN_pera_TF020.0201.exr: Read error: No such file or directory

Clearly, the node RF-PC-022 try to read the relative path of the Nuke script, but starting from a local copy that Deadline created, instead of reading it right from the server, which fail.

How do I force the node to load the Nuke script from the server when rendering?

Thxs

Found it.

In the nuke.param…

Label=Enable Path Mapping
Default=true
Description=If enabled, a temporary Nuke file will be created locally on the slave for rendering because Deadline does the path mapping directly in the Nuke file. This feature can be turned off if there are no Path Mapping entries defined in the Repository Options.

So the Repositery Path Mapping option was copying the Nuke script anyway to do the Path Mapping on the local copy.

1 Like

Correct, if path mapping is enabled, even if no path mapping is set up, the file will be copied over to the slave.

Just ran into this issue where we are using relative output paths from the scene file. Turning the path mapping off works.

Would it be possible to have the path mapping enabled/disabled on a per job basis?