Hi,
I had same problem as you and i was commenting out those lines to get
working. Anyway, i did not find any other solution for the problem and
there could be a bug in the co-processing.
--ufuk
On 26/04/16 10:49, Deij-van Rijswijk, Menno wrote:
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:[email protected] | http://www.marin.nl
MARIN news:
http://www.marin.nl/web/News/News-items/MARIN-Report-117-Maintenance-and-life-time-extensions.htm
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview