tianyikillua / paraview-meshio

Generic mesh reader / writer for ParaView
MIT License
25 stars 5 forks source link

problem with installing on paraview 5.8 #3

Open zeineldin117 opened 4 years ago

zeineldin117 commented 4 years ago

I get this error message when i try to load the plugin to paraivew 5.8


Generic Warning: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/Remoting/ServerManagerPython/vtkPVPythonAlgorithmPlugin.cxx, line 187 Failed to load Python plugin: Failed to call paraview.detail.pythonalgorithm.load_plugin.

Traceback (most recent call last): File "/data/openFOAM/ParaView-5.8.0-MPI-Linux-Python3.7-64bit/lib/python3.7/site-packages/paraview/detail/pythonalgorithm.py", line 509, in load_plugin spec.loader.exec_module(module) File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/data/openFOAM/ParaView-5.8.0-MPI-Linux-Python3.7-64bit/plugins/paraview-meshio-master/meshioPlugin.py", line 1, in import meshio ModuleNotFoundError: No module named 'meshio'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/data/openFOAM/ParaView-5.8.0-MPI-Linux-Python3.7-64bit/lib/python3.7/site-packages/paraview/detail/pythonalgorithm.py", line 513, in load_plugin module = imp.load_source(modulename, filepath) File "/data/openFOAM/ParaView-5.8.0-MPI-Linux-Python3.7-64bit/lib/python3.7/imp.py", line 171, in load_source module = _load(spec) File "", line 696, in _load File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/data/openFOAM/ParaView-5.8.0-MPI-Linux-Python3.7-64bit/plugins/paraview-meshio-master/meshioPlugin.py", line 1, in import meshio ModuleNotFoundError: No module named 'meshio' ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/Remoting/Core/vtkPVPluginLoader.cxx, line 519 vtkPVPluginLoader (0x5bf63f0): /data/openFOAM/ParaView-5.8.0-MPI-Linux-Python3.7-64bit/plugins/paraview-meshio-master/meshioPlugin.py: invalid ELF head

tianyikillua commented 4 years ago

Thanks for reporting. Could you please using the plugin file bundled with meshio?

By the way you need to first install the meshio package. You need to copy it to your ParaView Python directory.