An unhandled win32 exception occured in Slicer App-real.exe

Operating system: windows 7 professional
Slicer version: 4.11.20200930

Hello everyone,

Everytime that I try to run my own python module the 3D Slicer shows this message and it stops working.

image
image

Anyone can help me?
Thank you in advance.

It seems that your Python module does something that makes Slicer crash. Since debugging crashes coming from Python is not trivial (even if you build Slicer and debug the crash that happens in the C++ core, you won’t exactly see the Python line that caused it), I suggest commenting out parts of your code and see which one is the culprit.