[Paraview] ParaView Catalyst - AttributeError when pipeline is evaluated

Deij-van Rijswijk, Menno M.Deij at marin.nl
Tue Apr 26 03:49:07 EDT 2016


Hi,

I’m using a Catalyst interface to our in-house CFD simulation (distributed by MPI) and I’m running into problems when the pipeline is evaluated. The ParaView libraries, linked to our simulation code, have been built with OSMesa, MPI, Python. I built the full ParaView, not a Catalyst Edition.

The analysis pipeline that has to run during the simulation has been built with PV 5.0.1 and was saved using the CoProcessing Generator Script plug-in. As far as I can see, this plug-in wraps what is normally in the python state file into the co-processing script: the _CreatePipeline function is 1-to-1 the same as when I write the Python state file.

I get the following errors during the evaluation of the pipeline, and no images are saved:

>>>
AttributeError: Attribute ScalarOpacityUnitDistance does not exist.  This class does not allow addition of new attributes to avoid mistakes due to typos. Use add_attribute() if you really want to add this attribute.
<<<

And similar attribute errors for SetScaleArray, OpacityArray, ScaleTransferFunction and OpacityTransferFunction. If I want to get it working, I have to comment out all calls to these attributes.

Any clues on why this is happening? I have searched the PV codebase for these but could not find anything to go on, except that some of these attributes seem to relate to volume rendering, even though I have Module_vtkRenderingVolumeOpenGL=ON. Maybe there is some other switch in the CMake configuration that I have to set to get rid of the errors?

Thanks and best wishes,


Menno Deij – van Rijswijk



dr. ir. Menno A. Deij-van Rijswijk  | Researcher / Software Engineer | Maritime Simulation & Software Group
MARIN | T +31 317 49 35 06 | mailto:M.Deij at marin.nl | http://www.marin.nl

MARIN news: http://www.marin.nl/web/News/News-items/MARIN-Report-117-Maintenance-and-life-time-extensions.htm



More information about the ParaView mailing list