<div dir="ltr"><div><div><div><div>Hi,<br><br></div>Did you use the same version of ParaView to generate the script and for your Catalyst build? If not, you'll want to do that. Also, you may want to try generating the script in the PV GUI with a version of ParaView that's using the OpenGL and NOT OpenGL2 rendering backend.<br><br></div>If none of that fixes things, can you share your generated Python script and the steps you used to generate it?<br><br></div>Cheers,<br></div>Andy<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 26, 2016 at 12:49 AM, Deij-van Rijswijk, Menno <span dir="ltr"><<a href="mailto:M.Deij@marin.nl" target="_blank">M.Deij@marin.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
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.<br>
<br>
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.<br>
<br>
I get the following errors during the evaluation of the pipeline, and no images are saved:<br>
<br>
>>><br>
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.<br>
<<<<br>
<br>
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.<br>
<br>
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?<br>
<br>
Thanks and best wishes,<br>
<br>
<br>
Menno Deij – van Rijswijk<br>
<br>
<br>
<br>
dr. ir. Menno A. Deij-van Rijswijk  | Researcher / Software Engineer | Maritime Simulation & Software Group<br>
MARIN | T <a href="tel:%2B31%20317%2049%2035%2006" value="+31317493506">+31 317 49 35 06</a> | mailto:<a href="mailto:M.Deij@marin.nl">M.Deij@marin.nl</a> | <a href="http://www.marin.nl" rel="noreferrer" target="_blank">http://www.marin.nl</a><br>
<br>
MARIN news: <a href="http://www.marin.nl/web/News/News-items/MARIN-Report-117-Maintenance-and-life-time-extensions.htm" rel="noreferrer" target="_blank">http://www.marin.nl/web/News/News-items/MARIN-Report-117-Maintenance-and-life-time-extensions.htm</a><br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
</blockquote></div><br></div>