PvBatch is failing when ViewSize is not set.
PvBatch is failing in really confusing ways if the renderView.ViewSize is not set. This needs to be fixed. Here is how to replicate:
-
Linux, 5.4.1, local server.
-
Start Trace.
-
Open Can.exo. Apply.
-
Save Animation. Save as .avi.
-
Stop Trace.
-
Save the python. (I am attaching mine.)
-
Delete the animation you created above.
-
pvbatch --use-offscreen-rendering --mesa-llvm yourPythonScriptHere.py
-
The resulting .avi will be bad.
Either we need to give an error and stop, or better yet, create a reasonable sized .avi (such as 300x300 or 1024x768).