I recently built Paraview 5.8.1 on windows 10 so that I could test a plugin I made on a different operating system. The windows shared library for the plugin builds, and Paraview built successfully after some trial and error using cmake and visual studio. When I run Paraview, the program crashes immediately after clicking “load new …” in the plugin menu.
Running in debug mode gives several exceptions related to memory locations but this fatal error:
Fatal Python error: failed to get the Python codec of the filesystem encoding
Was the plugin also build locally ?
using cmake and visual studio
I strongly suggest using ninja instead of visual studio on windows.
Fatal Python error: failed to get the Python codec of the filesystem encoding
Strange error. Can your try disabling python in ParaView build ?
Yes the plugin was built locally. Disabling paraview python did the trick thank you. Is there any way around disabling if I wanted to use python related plugins in the future?
No Idea, you should try to understand what this error means, this is likely not a ParaView issue.