Slicer crash without any message when try to run my own module

Problem report for Slicer 4.11.20210226 win-amd64: [please describe expected and actual behavior]

Me and a colleague of mine have write a new module for slicer, but since he sent me last version it crash when i press the first bottom to make it start.

I leave as attach the log file:

Thansk in advance,
Lorenzo

[DEBUG][Qt] 22.04.2023 15:36:49 (unknown:0) - Session start time …: 2023-04-22 15:36:49
[DEBUG][Qt] 22.04.2023 15:36:49 (unknown:0) - Slicer version …: 4.11.20210226 (revision 29738 / 7a593c8) win-amd64 - installed release
[DEBUG][Qt] 22.04.2023 15:36:50 (unknown:0) - Operating system …: Windows / Personal / (Build 22621, Code Page 65001) - 64-bit
[DEBUG][Qt] 22.04.2023 15:36:50 (unknown:0) - Memory …: 16086 MB physical, 18518 MB virtual
[DEBUG][Qt] 22.04.2023 15:36:50 (unknown:0) - CPU …: GenuineIntel , 8 cores, 8 logical processors
[DEBUG][Qt] 22.04.2023 15:36:50 (unknown:0) - VTK configuration …: OpenGL2 rendering, TBB threading
[DEBUG][Qt] 22.04.2023 15:36:50 (unknown:0) - Qt configuration …: version 5.15.1, with SSL, requested OpenGL 3.2 (compatibility profile)
[DEBUG][Qt] 22.04.2023 15:36:50 (unknown:0) - Developer mode enabled …: yes
[DEBUG][Qt] 22.04.2023 15:36:50 (unknown:0) - Prefer executable CLI …: yes
[DEBUG][Qt] 22.04.2023 15:36:50 (unknown:0) - Application path …: C:/ProgramData/NA-MIC/Slicer 4.11.20210226/bin
[DEBUG][Qt] 22.04.2023 15:36:50 (unknown:0) - Additional module paths …: NA-MIC/Extensions-29738/SlicerRadiomics/lib/Slicer-4.11/cli-modules, NA-MIC/Extensions-29738/SlicerRadiomics/lib/Slicer-4.11/qt-scripted-modules, NA-MIC/Extensions-29738/MarkupsToModel/lib/Slicer-4.11/qt-loadable-modules, NA-MIC/Extensions-29738/SegmentEditorExtraEffects/lib/Slicer-4.11/qt-scripted-modules, C:/Users/lasa_/Documents/Firenze/Universita/Covid/slicer_guglielmo/Estensioni\Features_seg\Features_seg, NA-MIC/Extensions-29738/SlicerVMTK/lib/Slicer-4.11/qt-loadable-modules, NA-MIC/Extensions-29738/SlicerVMTK/lib/Slicer-4.11/qt-scripted-modules, NA-MIC/Extensions-29738/SlicerRT/lib/Slicer-4.11/cli-modules, NA-MIC/Extensions-29738/SlicerRT/lib/Slicer-4.11/qt-loadable-modules, NA-MIC/Extensions-29738/SlicerRT/lib/Slicer-4.11/qt-scripted-modules, NA-MIC/Extensions-29738/QuantitativeReporting/lib/Slicer-4.11/qt-scripted-modules, NA-MIC/Extensions-29738/PETDICOMExtension/lib/Slicer-4.11/cli-modules, NA-MIC/Extensions-29738/PETDICOMExtension/lib/Slicer-4.11/qt-scripted-modules, NA-MIC/Extensions-29738/SlicerDevelopmentToolbox/lib/Slicer-4.11/qt-scripted-modules, NA-MIC/Extensions-29738/DCMQI/lib/Slicer-4.11/cli-modules, C:/Users/lasa_/Documents/Firenze/Universita/Covid/slicer_guglielmo/Estensioni/Diap_SX\Diap_SX, NA-MIC/Extensions-29738/SlicerJupyter/lib/Slicer-4.11/qt-loadable-modules, NA-MIC/Extensions-29738/SlicerJupyter/lib/Slicer-4.11/qt-scripted-modules, C:/Users/lasa_/Documents/Firenze/Universita/Covid/slicer_guglielmo/Estensioni/Diap_DX\Diap_DX, NA-MIC/Extensions-29738/SlicerProstate/lib/Slicer-4.11/cli-modules, NA-MIC/Extensions-29738/SlicerProstate/lib/Slicer-4.11/qt-scripted-modules, C:/Users/lasa_/Documents/Firenze/Universita/Covid/slicer_guglielmo/Estensioni/Covid19LungLesion4\Covid19LungLesion4
[DEBUG][Python] 22.04.2023 15:36:51 [Python] (C:\ProgramData\NA-MIC\Slicer 4.11.20210226\lib\Python\Lib\site-packages\pydicom\datadict.py:432) - Reversing DICOM dictionary so can look up tag from a keyword…
[CRITICAL][Stream] 22.04.2023 15:36:51 (unknown:0) - RuntimeError: qSlicerScriptedLoadableModule::setPythonSource - Failed to load scripted loadable module: class Diap_DX was not found in file C:/Users/lasa_/Documents/Firenze/Universita/Covid/slicer_guglielmo/Estensioni/Diap_DX/Diap_DX/Diap_DX.py
[CRITICAL][Qt] 22.04.2023 15:36:51 (unknown:0) - Fail to instantiate module “Diap_DX”
[CRITICAL][Stream] 22.04.2023 15:36:52 (unknown:0) - RuntimeError: qSlicerScriptedLoadableModule::setPythonSource - Failed to load scripted loadable module: class VesselsRemovalimport was not found in file C:/Users/lasa_/Documents/Firenze/Universita/Covid/slicer_guglielmo/Estensioni/Covid19LungLesion4/Covid19LungLesion4/VesselsRemovalimport.py
[CRITICAL][Qt] 22.04.2023 15:36:52 (unknown:0) - Fail to instantiate module “VesselsRemovalimport”
[CRITICAL][Qt] 22.04.2023 15:36:52 (unknown:0) - Error(s):
CLI executable: C:/Users/lasa_/Documents/Firenze/Universita/Covid/slicer_guglielmo/Estensioni/Covid19LungLesion4/Covid19LungLesion4/myfunctions.py
The process failed to start. Either the invoked program is missing, or you may have insufficient permissions to invoke the program.
[CRITICAL][Qt] 22.04.2023 15:36:52 (unknown:0) - Fail to instantiate module “myfunctions”
[CRITICAL][Qt] 22.04.2023 15:36:52 (unknown:0) - Error(s):
CLI executable: C:/ProgramData/NA-MIC/Slicer 4.11.20210226/NA-MIC/Extensions-29738/SlicerVMTK/lib/Slicer-4.11/qt-loadable-modules/vtkvmtk.py
The process failed to start. Either the invoked program is missing, or you may have insufficient permissions to invoke the program.
[CRITICAL][Qt] 22.04.2023 15:36:52 (unknown:0) - Fail to instantiate module “vtkvmtk”
[CRITICAL][Qt] 22.04.2023 15:36:52 (unknown:0) - The following modules failed to be instantiated:
[CRITICAL][Qt] 22.04.2023 15:36:52 (unknown:0) - VesselsRemovalimport
[CRITICAL][Qt] 22.04.2023 15:36:52 (unknown:0) - Diap_DX
[CRITICAL][Qt] 22.04.2023 15:36:52 (unknown:0) - myfunctions
[CRITICAL][Qt] 22.04.2023 15:36:52 (unknown:0) - vtkvmtk
[DEBUG][Python] 22.04.2023 15:36:52 [Python] (C:\ProgramData\NA-MIC\Slicer 4.11.20210226\lib\Slicer-4.11\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: Annotations
[DEBUG][Python] 22.04.2023 15:36:53 [Python] (C:\ProgramData\NA-MIC\Slicer 4.11.20210226\lib\Slicer-4.11\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentEditor
[DEBUG][Python] 22.04.2023 15:36:53 [Python] (C:\ProgramData\NA-MIC\Slicer 4.11.20210226\lib\Slicer-4.11\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentStatistics
[DEBUG][Qt] 22.04.2023 15:36:53 (unknown:0) - Switch to module: “Welcome”
[INFO][VTK] 22.04.2023 15:36:53 [vtkMRMLVolumeArchetypeStorageNode (0000019B073F5B80)] (D:\D\S\Slicer-1\Libs\MRML\Core\vtkMRMLVolumeArchetypeStorageNode.cxx:509) - Loaded volume from file: C:/ProgramData/NA-MIC/Slicer 4.11.20210226/NA-MIC/Extensions-29738/SlicerVMTK/lib/Slicer-4.11/qt-scripted-modules/Resources/Vesselness.png. Dimensions: 65x50x1. Number of components: 3. Pixel type: unsigned char.
[DEBUG][Qt] 22.04.2023 15:37:02 (unknown:0) - Python console user input: import os
[DEBUG][Qt] 22.04.2023 15:37:02 (unknown:0) - Python console user input: os.chdir(‘C:/Users/lasa_/Documents/Firenze/Universita/Covid/slicer_guglielmo/Estensioni/Covid19LungLesion4/Covid19LungLesion4/’)
[DEBUG][Qt] 22.04.2023 15:37:02 (unknown:0) - Python console user input: import VesselsRemovalimport
[DEBUG][Qt] 22.04.2023 15:37:10 (unknown:0) - Switch to module: “DICOM”
[DEBUG][Python] 22.04.2023 15:37:15 [Python] (C:\ProgramData\NA-MIC\Slicer 4.11.20210226\NA-MIC\Extensions-29738\QuantitativeReporting\lib\Slicer-4.11\qt-scripted-modules\base\DICOMPluginBase.py:52) - DICOMParametricMapPluginClass : Caching files
[DEBUG][Python] 22.04.2023 15:37:15 [Python] (C:\ProgramData\NA-MIC\Slicer 4.11.20210226\NA-MIC\Extensions-29738\QuantitativeReporting\lib\Slicer-4.11\qt-scripted-modules\base\DICOMPluginBase.py:49) - DICOMParametricMapPluginClass : Using cached files
[DEBUG][Python] 22.04.2023 15:37:15 [Python] (C:\ProgramData\NA-MIC\Slicer 4.11.20210226\NA-MIC\Extensions-29738\QuantitativeReporting\lib\Slicer-4.11\qt-scripted-modules\base\DICOMPluginBase.py:52) - DICOMSegmentationPluginClass : Caching files
[DEBUG][Python] 22.04.2023 15:37:15 [Python] (C:\ProgramData\NA-MIC\Slicer 4.11.20210226\NA-MIC\Extensions-29738\QuantitativeReporting\lib\Slicer-4.11\qt-scripted-modules\base\DICOMPluginBase.py:49) - DICOMSegmentationPluginClass : Using cached files
[DEBUG][Python] 22.04.2023 15:37:15 [Python] (C:\ProgramData\NA-MIC\Slicer 4.11.20210226\NA-MIC\Extensions-29738\QuantitativeReporting\lib\Slicer-4.11\qt-scripted-modules\base\DICOMPluginBase.py:52) - DICOMTID1500PluginClass : Caching files
[DEBUG][Python] 22.04.2023 15:37:15 [Python] (C:\ProgramData\NA-MIC\Slicer 4.11.20210226\NA-MIC\Extensions-29738\QuantitativeReporting\lib\Slicer-4.11\qt-scripted-modules\base\DICOMPluginBase.py:49) - DICOMTID1500PluginClass : Using cached files
[INFO][Python] 22.04.2023 15:37:16 [Python] (C:/ProgramData/NA-MIC/Slicer 4.11.20210226/bin/…/lib/Slicer-4.11/qt-scripted-modules/DICOMScalarVolumePlugin.py:384) - Loading with imageIOName: GDCM
[INFO][Stream] 22.04.2023 15:37:16 (unknown:0) - Loading with imageIOName: GDCM
[DEBUG][Qt] 22.04.2023 15:37:29 (unknown:0) - Switch to module: “Data”
[DEBUG][Qt] 22.04.2023 15:37:33 (unknown:0) - “Markups” Reader has successfully read the file “C:/Users/lasa_/Desktop/F.mrk.json” “[0.02s]”
[DEBUG][Qt] 22.04.2023 15:37:37 (unknown:0) - Switch to module: “Covid19LungLesion4”
[INFO][Stream] 22.04.2023 15:37:38 (unknown:0) -
[INFO][Stream] 22.04.2023 15:37:38 (unknown:0) -
[INFO][Stream] 22.04.2023 15:37:38 (unknown:0) -
[INFO][Stream] 22.04.2023 15:37:38 (unknown:0) - ------------------------------
[INFO][Stream] 22.04.2023 15:37:38 (unknown:0) - Reloading module: Covid19LungLesion4
[INFO][Stream] 22.04.2023 15:37:38 (unknown:0) - ------------------------------
[INFO][Stream] 22.04.2023 15:37:38 (unknown:0) -
[INFO][Stream] 22.04.2023 15:37:38 (unknown:0) -
[INFO][Stream] 22.04.2023 15:37:38 (unknown:0) -