The original V-Ray output for that was:
[2017/Apr/12|20:22:52] V-Ray error: Cannot write output image file "//1.2.3.4/prod/proj197/maya/images/scene4/slices/scene4_slice31_VeloSpacePro3b_renderCam.0001.exr": "error writing file"
…where 1.2.3.4 is our file server’s IP address.
A Python wrapper script initiates the render and filter each line outputted during render. In this case, it detected the string “error writing file” in that line and generated a message which was both printed to stdout and sent into a special errors channel in Slack so that the artist got notified about the problem. Never mind the “
” part, it’s just an emoji added to the Slack message which doesn’t translate into anything when printed to stdout.
To answer the Windows/Linux questions; the log is from Linux. Just like bigbossfr guessed/noticed, we are using UNC paths on Windows and mounting the file server’s shares in a root folder (named “1.2.3.4”) on the Linux machines which essentially makes the same path accessible cross-platform. Yup, it’s a trick that helps a lot here and there.
Linux just throws away the extra slash and uses “/1.2.3.4” while Windows understands the double slash as a UNC path.
A bit of an update on the original issue:
During a re-render of the same job, we did not see this issue at all. I’m considering network issues on our end. However, if I could just request one future improvement; it would be useful to further get any additional information on the reason why the file could not be written. I can see the following reasons:
- Permission denied
- Path not found (not accessible)
- Some unknown error not being the two errors above