State:Closed|icon_bug|icon_katana|database:public|Resolution:Fixed|TargetRelease:4.0v3|BugID:463780|
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:
Customer version/platform:
Not supplied
We're sorry to hear that
Please tell us why