ParaView 5.5.2 / Visualizer


(Sebastien Jourdain) #1

ParaView 5.5.2 is bundling Visualizer 3.1.4 which is not fully compatible with the core of ParaView 5.5.2.

Therefore a small edit will be required in order to make them work together.
That issue does not exist with ParaView/master and Visualizer 3.1.4.
For more information, please refer to the compatibility table.

In order to patch your ParaView 5.5.2 so it can work with the bundled Visualizer you will have to edit line 195 of the pvw-visualizer.py file which can be found below for each platform:

  • Windows:
    • ParaView-5.5.2-Qt5-Windows-64bit\share\paraview-5.5\web\visualizer\server\pvw-visualizer.py
  • Linux:
    • ParaView-5.5.2-Qt5-MPI-Linux-64bit/share/paraview-5.5/web/visualizer/server/pvw-visualizer.py
  • macOS:
    • ParaView-5.5.2.app/Contents/Resources/web/visualizer/server/pvw-visualizer.py

Replace Line 195

self.registerVtkWebProtocol(pv_protocols.ParaViewWebColorManager(pathToColorMaps=_VisualizerServer.colorPalette, showBuiltin=_VisualizerServer.showBuiltin))

with

self.registerVtkWebProtocol(pv_protocols.ParaViewWebColorManager(pathToColorMaps=_VisualizerServer.colorPalette))

Basically the extra showBuiltin argument needs to be removed as the server does not know how to handle it.

Sorry for the inconvenience,

Sebastien Jourdain