Update filedriver to work with new catalyst .py state
@utkarsh.ayachit With the recent change of catalyst scripts from zip files to py files, filedriver.py has stopped working.
filedriver.py should be updated to work with the new catalyst scripts.
Steps to reproduce:
- Download and install paraview nightly binary and download filedriver.py
- Create a simple catalyst pipeline or used the attached script test_cdb_static_camera.py
- Run with filedriver
pvbatch -sym filedriver.py $ANY_DATA test_cdb_static_camera.py
I am getting this error with the nightly binary (https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=nightly&type=binary&os=macOS&downloadFile=ParaView-5.9.0-RC1-286-g9093c2ab45-MPI-OSX10.13-Python3.8-64bit.dmg)
Traceback (most recent call last): File "/Users/stam/projects/paraview/src/Examples/Catalyst/SampleScripts/filedriver.py", line 75, in <module> pipeline = vtkPVPythonCatalyst.vtkCPPythonPipeline.CreateAndInitializePipeline(script) ValueError: cannot create object of unknown type "vtkSmartPointer_I19vtkCPPythonPipelineE"