<div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_quote"><div dir="ltr"><div style="font-size:small"><div class="gmail_default" style="font-size:small;display:inline">Dear </div>All,<br><br></div><div style="font-size:small">I have compiled Paraview 5.0.1 on ubuntu with mesa libs to run it on CPU. Also I generated a simple pvpython script from Paraview 5.0.1 GUI on my windows machine (attached) and the script runs fine there.<br></div><div style="font-size:small">However this script fails with my mesa compiled pvpython.<br><br></div><div style="font-size:small">=============error logs===============<br></div><div style="font-size:small">Traceback (most recent call last):<br> File "cone_clip.py", line 19, in <module><br> cone1Display.SetScaleArray = [None, '']<br> File "/home/bd/gohan_mount/bdutta/<wbr>PARAVIEW/PV_Vignesh/bd_build_<wbr>mesa/lib/site-packages/<wbr>paraview/servermanager.py", line 307, in __setattr__<br> "to add this attribute.")<br>AttributeError: Attribute SetScaleArray 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 clear="all"></div><div><div class="m_-3176796302161195217gmail_signature"><div dir="ltr"><div style="font-size:small"><div style="font-size:small">I have built the Paraview with the following options (CMakeCache.txt attached):<br>cmake
../ -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=Release
-DPARAVIEW_ENABLE_CATALYST=ON -DPARAVIEW_ENABLE_PYTHON=ON
-DPYTHON_LIBRARY=$PYTHON_<wbr>LIBRARY
-DPYTHON_INCLUDE_DIR=$PYTHON_<wbr>INCLUDE_DIR -DPARAVIEW_USE_MPI=ON
-DMPI_HEADER_PATH=$MPI_HEADER_<wbr>PATH
-DCMAKE_INSTALL_PREFIX=$BD_<wbr>INSTALL_PATH -DPARAVIEW_BUILD_QT_GUI=OFF
-DVTK_USE_X=OFF -DOPENGL_INCLUDE_DIR=$BD_<wbr>INSTALL_PATH/include
-DOPENGL_gl_LIBRARY=$BD_<wbr>INSTALL_PATH/lib/libOSMesa.so
-DOPENGL_glu_LIBRARY=$BD_<wbr>INSTALL_PATH/lib/libGLU.so
-DVTK_OPENGL_HAS_OSMESA=ON -DOSMESA_INCLUDE_DIR=$BD_<wbr>INSTALL_PATH/include
-DOSMESA_LIBRARY=$BD_INSTALL_<wbr>PATH/lib/libOSMesa.so<br></div><div style="font-size:small"><br></div>Do I need to pass some extra parameters while building and if so what are they? All my GUI generated scripts seem to fail with similar errors.<br></div><br><div>Thanks in advance for guidance. <br></div><br>BR,<div>Bishwajit (Bish) Dutta</div><div>CpE - Grad Student</div><div>Virginia Tech</div></div></div></div>
</div>
</div><br></div>