ID 273566 - Rendering Error when attempting to render to a file in the current working directory

Follow

Problem summary:

Katana 2.5v1 has introduced a regression in the handling of output files that do not contain slashes in their name (ie. relative filenames, e.g. foo.exr) when attempting to start a Disk Render or when rendering in batch mode.

Steps to reproduce:

  1. Create a new project in a Katana UI session.
  2. In the Node Graph tab, create a CameraCreate node, a RenderOutputDefine node, and a Render node in a straight node chain.
  3. Set the edit flag on the RenderOutputDefine node.
  4. In the Parameters tab, set the locationType parameter to file, and enter foo.exr as the locationSettings.renderLocation.
  5. Back in the Node Graph tab, start a Disk Render from the Render node.

Expected behaviour:

A file named foo.exr is created in the current working directory.

Actual behaviour:

A Rendering Error occurs, with error messages similar to the following:


[INFO python.MainBatch]: Copying rendered image from '/tmp/katana_tmpdir_22679/converted000003_foo.exr' to 'foo.exr'...
[INFO python.MainBatch]: Error copying rendered image from '/tmp/katana_tmpdir_22679/converted000003_foo.exr' to 'foo.exr'
[INFO python.MainBatch]: Cannot create destination directory.
[INFO python.MainBatch]: CommandLineRender Error: Unable to process rendered image: 'foo.exr'. Render failed?
[INFO python.MainBatch]: Reason = Cannot read image file "foo.exr". No such file or directory. Occurred at 187 in file Apps/Katana/IMGLIB/src/IO/EXRInput.cpp
[ERROR python.MainBatch]: Rendering Error: Render failed with a rendering error: An error occurred in preRender....
[ERROR python.MainBatch]:     (Error node: Render)
[ERROR python.MainBatch]:     Exiting with error code: 4294967295

Workaround:

No known workaround.

Reproduced versions/platforms:

  • Katana 2.5v1/Linux
  • Katana 2.5v2/Linux
  • Katana 2.5v3/Linux
  • Katana 2.5v4/Linux
  • Katana 2.5v5/Linux

Customer version/platform:

Katana 2.5v4/Linux

    We're sorry to hear that

    Please tell us why