ID 463780 - [Katana Queue] Batch rendering removes custom paths after renderboot is started

Follow

Problem summary:

When batch rendering, paths to sys.path in our sitecustomize module which is automatically imported during the initialization of Katana's Python interpreter, $KATANA_ROOT/bin/python2.7/lib/python2.7/sitecustomize.py, are removed after renderboot is started

Steps to reproduce:

 1. Create a small Python script called sitecustomize.py:


import sys
import warnings

if '/tmp' in sys.path:
    warnings.warn("We don\'t expect '/tmp' here!")
else:
    sys.path.append('/tmp')

    2. Add the parent directory of that script to your PYTHONPATH

    3. Launch Katana

    4. Make sure you have a Render Log tab

    5. Queue a Katana Render using the Katana Queue (right-click menu)

    6. Observe the Render Log tab

Expected behaviour:

Paths are removed after renderboot is started

Actual behaviour:

Paths should not be removed after renderboot is started

Workaround:

No known workaround.

Tested versions/platforms:

  • 4.0v1 - Unaffected
  • 4.0v2 - Affected

Customer version/platform:

Not supplied

    We're sorry to hear that

    Please tell us why