# Paraview 5.8.1 Built on Windows 10 Crashes When Clicking 'Load New' Plugin

**URL:** https://discourse.paraview.org/t/paraview-5-8-1-built-on-windows-10-crashes-when-clicking-load-new-plugin/7430
**Category:** ParaView Support
**Created:** [June 16, 2021, 7:08pm UTC](https://discourse.paraview.org/t/paraview-5-8-1-built-on-windows-10-crashes-when-clicking-load-new-plugin/7430 "2021-06-16T19:08:21Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![anthomas](https://discourse.paraview.org/user_avatar/discourse.paraview.org/anthomas/32/7342_2.png) [@anthomas](https://discourse.paraview.org/u/anthomas)
#### Post date: [June 16, 2021, 7:08pm UTC](https://discourse.paraview.org/t/paraview-5-8-1-built-on-windows-10-crashes-when-clicking-load-new-plugin/7430/1 "2021-06-16T19:08:21Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![anthomas](https://discourse.paraview.org/user_avatar/discourse.paraview.org/anthomas/32/7342_2.png) [@anthomas](https://discourse.paraview.org/u/anthomas)
#### Post date: [June 16, 2021, 8:23pm UTC](https://discourse.paraview.org/t/paraview-5-8-1-built-on-windows-10-crashes-when-clicking-load-new-plugin/7430/2 "2021-06-16T20:23:03Z")

</div>

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

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 17, 2021, 7:21am UTC](https://discourse.paraview.org/t/paraview-5-8-1-built-on-windows-10-crashes-when-clicking-load-new-plugin/7430/3 "2021-06-17T07:21:37Z")

</div>

> [@anthomas](#):
>
> I could test a plugin I made on a different operating system.

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 ?

---

<div class="post-metadata">

### Author: ![anthomas](https://discourse.paraview.org/user_avatar/discourse.paraview.org/anthomas/32/7342_2.png) [@anthomas](https://discourse.paraview.org/u/anthomas)
#### Post date: [June 17, 2021, 5:52pm UTC](https://discourse.paraview.org/t/paraview-5-8-1-built-on-windows-10-crashes-when-clicking-load-new-plugin/7430/4 "2021-06-17T17:52:47Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 18, 2021, 7:30am UTC](https://discourse.paraview.org/t/paraview-5-8-1-built-on-windows-10-crashes-when-clicking-load-new-plugin/7430/5 "2021-06-18T07:30:54Z")

</div>

> [@anthomas](#):
>
> Fatal Python error: failed to get the Python codec of the filesystem encoding

No Idea, you should try to understand what this error means, this is likely not a ParaView issue.
