<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi All,<br><br></div><div class="gmail_default" 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 class="gmail_default" style="font-size:small">However this script fails with my mesa compiled pvpython.<br><br></div><div class="gmail_default" style="font-size:small">=============error logs===============<br></div><div class="gmail_default" 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/PARAVIEW/PV_Vignesh/bd_build_mesa/lib/site-packages/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="gmail_signature"><div dir="ltr"><div class="gmail_default" style="font-size:small"><div class="gmail_default" 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_LIBRARY
-DPYTHON_INCLUDE_DIR=$PYTHON_INCLUDE_DIR -DPARAVIEW_USE_MPI=ON
-DMPI_HEADER_PATH=$MPI_HEADER_PATH
-DCMAKE_INSTALL_PREFIX=$BD_INSTALL_PATH -DPARAVIEW_BUILD_QT_GUI=OFF
-DVTK_USE_X=OFF -DOPENGL_INCLUDE_DIR=$BD_INSTALL_PATH/include
-DOPENGL_gl_LIBRARY=$BD_INSTALL_PATH/lib/libOSMesa.so
-DOPENGL_glu_LIBRARY=$BD_INSTALL_PATH/lib/libGLU.so
-DVTK_OPENGL_HAS_OSMESA=ON -DOSMESA_INCLUDE_DIR=$BD_INSTALL_PATH/include
-DOSMESA_LIBRARY=$BD_INSTALL_PATH/lib/libOSMesa.so<br></div><div class="gmail_default" 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 style="font-size:small" class="gmail_default">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>