Reset session in trace, when run batch, appears bad
Here's a weird one. We have a trace, and when we run it in Paraview (View/ Python View/ Run Script), all is well. When we run it in batch mode, it dies. I will attached a sanitized version. You will need to add correct directories in the script. Search for "edit".
- 5.6.0, Linux, builtin server AND 5.6.0, Linux, pvbatch.
- Run the script. It will die in batch mode with the following error. This happens AFTER the Reset Session, where it runs the same code again.
Traceback (most recent call last): File "/ snip /camera-C-composite-batch.py", line 444, in layout1.SplitHorizontal(0, 0.5) AttributeError: 'NoneType' object has no attribute 'SplitHorizontal'
This is a showstopper for the 5.7 release. We need to run pvbatch in a for loop dozens of times. (Note update comment below.)