# Only part of segmention is visible when I load the segmentation first time

**URL:** <https://discourse.slicer.org/t/only-part-of-segmention-is-visible-when-i-load-the-segmentation-first-time/17218>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [April 20, 2021, 8:53pm UTC](https://discourse.slicer.org/t/only-part-of-segmention-is-visible-when-i-load-the-segmentation-first-time/17218 "2021-04-20T20:53:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ge\_Tang](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ge_tang/32/9935_2.png) [@Ge\_Tang](https://discourse.slicer.org/u/Ge_Tang)\
**Post date:** [April 20, 2021, 8:53pm UTC](https://discourse.slicer.org/t/only-part-of-segmention-is-visible-when-i-load-the-segmentation-first-time/17218/1 "2021-04-20T20:53:40Z")

</div>

Operating system:Windows 10  
Slicer version:4.11  
Expected behavior: All the segmentation should be visible

Hi, all,

I changed my script to have some logging information during looping over all the subjects. After this change, each time when I using loadsegmentation, the segmentations are not visible. I need to select each of them manually. I do not know what happens.

I also check the slicer.ini and the log files. Could you help me with this?

> [DEBUG][Qt] 20.04.2021 22:41:40 (unknown:0) - Session start time …: 2021-04-20 22:41:40  
> [DEBUG][Qt] 20.04.2021 22:41:40 (unknown:0) - Slicer version …: 4.11.20210226 (revision 29738 / 7a593c8) win-amd64 - installed release  
> [DEBUG][Qt] 20.04.2021 22:41:40 (unknown:0) - Operating system …: Windows / Professional / (Build 19042, Code Page 65001) - 64-bit  
> [DEBUG][Qt] 20.04.2021 22:41:40 (unknown:0) - Memory …: 130939 MB physical, 217805 MB virtual  
> [DEBUG][Qt] 20.04.2021 22:41:40 (unknown:0) - CPU …: GenuineIntel , 24 cores, 24 logical processors  
> [DEBUG][Qt] 20.04.2021 22:41:40 (unknown:0) - VTK configuration …: OpenGL2 rendering, TBB threading  
> [DEBUG][Qt] 20.04.2021 22:41:40 (unknown:0) - Qt configuration …: version 5.15.1, with SSL, requested OpenGL 3.2 (compatibility profile)  
> [DEBUG][Qt] 20.04.2021 22:41:40 (unknown:0) - Developer mode enabled …: no  
> [DEBUG][Qt] 20.04.2021 22:41:40 (unknown:0) - Prefer executable CLI …: yes  
> [DEBUG][Qt] 20.04.2021 22:41:40 (unknown:0) - Application path …: D:/GeTang/Slicer 4.11.20210226/bin  
> [DEBUG][Qt] 20.04.2021 22:41:40 (unknown:0) - Additional module paths …: NA-MIC/Extensions-29738/SlicerVMTK/lib/Slicer-4.11/qt-loadable-modules, NA-MIC/Extensions-29738/SlicerVMTK/lib/Slicer-4.11/qt-scripted-modules  
> [DEBUG][Python] 20.04.2021 22:41:42 [Python] (D:\GeTang\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][Qt] 20.04.2021 22:41:42 (unknown:0) - Error(s):  
> CLI executable: D:/GeTang/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] 20.04.2021 22:41:42 (unknown:0) - Fail to instantiate module “vtkvmtk”  
> [CRITICAL][Qt] 20.04.2021 22:41:42 (unknown:0) - The following modules failed to be instantiated:  
> [CRITICAL][Qt] 20.04.2021 22:41:42 (unknown:0) - vtkvmtk  
> [DEBUG][Python] 20.04.2021 22:41:42 [Python] (D:\GeTang\Slicer 4.11.20210226\lib\Slicer-4.11\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: Annotations  
> [DEBUG][Python] 20.04.2021 22:41:43 [Python] (D:\GeTang\Slicer 4.11.20210226\lib\Slicer-4.11\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentEditor  
> [DEBUG][Python] 20.04.2021 22:41:43 [Python] (D:\GeTang\Slicer 4.11.20210226\lib\Slicer-4.11\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentStatistics  
> [DEBUG][Qt] 20.04.2021 22:41:43 (unknown:0) - Switch to module: “Welcome”  
> [INFO][VTK] 20.04.2021 22:41:43 [vtkMRMLVolumeArchetypeStorageNode (00000230BE9D09A0)] (D:\D\S\Slicer-1\Libs\MRML\Core\vtkMRMLVolumeArchetypeStorageNode.cxx:509) - Loaded volume from file: D:/GeTang/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.  
> [INFO][Stream] 20.04.2021 22:41:44 (unknown:0) - Loading Slicer RC file [C:/Users/Ge Tang/.slicerrc.py]  
> [DEBUG][Qt] 20.04.2021 22:42:07 (unknown:0) - Python console user input: loadNodeFromFile(‘D:/GeTang/SANS/Segmented\_data/Seg\_Cosmo02mm.seg.nrrd’, ‘SegmentationFile’, {}, returnNode=False)  
> [ERROR][VTK] 20.04.2021 22:42:14 [vtkSegmentationConverter (00000230BE389920)] (D:\D\S\Slicer-1\Libs\vtkSegmentationCore\vtkSegmentationConverter.cxx:267) - SetConversionParameter: Conversion parameter ‘Default slice thickness’ not found in converter rules!  
> [ERROR][VTK] 20.04.2021 22:42:14 [vtkSegmentationConverter (00000230BE389920)] (D:\D\S\Slicer-1\Libs\vtkSegmentationCore\vtkSegmentationConverter.cxx:267) - SetConversionParameter: Conversion parameter ‘End capping’ not found in converter rules!  
> [DEBUG][Qt] 20.04.2021 22:42:15 (unknown:0) - “Segmentation” Reader has successfully read the file “D:/GeTang/SANS/Segmented\_data/Seg\_Cosmo02mm.seg.nrrd” “[8.77s]”  
> [INFO][Stream] 20.04.2021 22:42:16 (unknown:0) - (MRMLCorePython.vtkMRMLSegmentationNode)00000230C3023648

---

<div class="post-metadata">

**Author:** ![Ge\_Tang](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ge_tang/32/9935_2.png) [@Ge\_Tang](https://discourse.slicer.org/u/Ge_Tang)\
**Post date:** [April 21, 2021, 10:36am UTC](https://discourse.slicer.org/t/only-part-of-segmention-is-visible-when-i-load-the-segmentation-first-time/17218/2 "2021-04-21T10:36:53Z")

</div>

Is it the problem with vtk configuration? where could I find this configuration and how could I change it? thank you! 🙂
