# Error message when running slicerCIP

**URL:** <https://discourse.slicer.org/t/error-message-when-running-slicercip/11897>\
**Category:** Support\
**Created:** [June 6, 2020, 12:02pm UTC](https://discourse.slicer.org/t/error-message-when-running-slicercip/11897 "2020-06-06T12:02:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shahrokh](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/shahrokh/32/1499_2.png) [@shahrokh](https://discourse.slicer.org/u/shahrokh)\
**Post date:** [June 6, 2020, 12:02pm UTC](https://discourse.slicer.org/t/error-message-when-running-slicercip/11897/1 "2020-06-06T12:02:06Z")

</div>

Hello Developers and Users 3DSlicer

I want to run SlicerCIP (SlicerCIP4-10-2) in my computer with the following specifications:

> sn@MP:~$ uname --all  
> Linux MP 5.3.0-53-generic #47~18.04.1-Ubuntu SMP Thu May 7 13:10:50 UTC 2020 x86\_64 x86\_64 x86\_64 GNU/Linux

> sn@MP:~$ python --version  
> Python 2.7.17

> sn@MP:~$ python3 --version  
> Python 3.6.9

When I run SlicerCIP4-10-2, I get the following error message:

> sn@MP:~$ cd ./SlicerCIP4-10-2/

> sn@MP:~/SlicerCIP4-10-2$ ./SlicerCIP4-10-2  
> Error processing line 1 of /home/sn/SlicerCIP4-10-2/lib/Python/lib/python2.7/site-packages/.\_easy-install.pth:
> 
> Traceback (most recent call last):  
> File “/home/sn/SlicerCIP4-10-2/bin/…/lib/Python/lib/python2.7/site.py”, line 156, in addpackage  
> if not dircase in known\_paths and os.path.exists(dir):  
> File “/home/sn/SlicerCIP4-10-2/bin/…/lib/Python/lib/python2.7/genericpath.py”, line 26, in exists  
> os.stat(path)  
> TypeError: stat() argument 1 must be encoded string without null bytes, not str
> 
> Remainder of file ignored  
> Error processing line 1 of /home/sn/SlicerCIP4-10-2/lib/Python/lib/python2.7/site-packages/.\_setuptools.pth:
> 
> Traceback (most recent call last):  
> File “/home/sn/SlicerCIP4-10-2/bin/…/lib/Python/lib/python2.7/site.py”, line 156, in addpackage  
> if not dircase in known\_paths and os.path.exists(dir):  
> File “/home/sn/SlicerCIP4-10-2/bin/…/lib/Python/lib/python2.7/genericpath.py”, line 26, in exists  
> os.stat(path)  
> TypeError: stat() argument 1 must be encoded string without null bytes, not str
> 
> Remainder of file ignored  
> Error(s):  
> Cannot load library /home/sn/SlicerCIP4-10-2/SlicerCIP4-10-2-Extensions/Chest\_Imaging\_Platform/lib/Slicer-4.10/qt-loadable-modules/libqSlicerAirwayInspectorModule.so: (libvtkSlicerAirwayInspectorModuleLogic.so: cannot open shared object file: No such file or directory)  
> Error(s):  
> Cannot load library /home/sn/SlicerCIP4-10-2/SlicerCIP4-10-2-Extensions/Chest\_Imaging\_Platform/lib/Slicer-4.10/qt-loadable-modules/libqSlicerParticlesDisplayModule.so: (libvtkSlicerParticlesDisplayModuleLogic.so: cannot open shared object file: No such file or directory)  
> Error(s):  
> Cannot load library /home/sn/SlicerCIP4-10-2/SlicerCIP4-10-2-Extensions/Chest\_Imaging\_Platform/lib/Slicer-4.10/qt-loadable-modules/libqSlicerRegionTypeModule.so: (libvtkSlicerRegionTypeModuleLogic.so: cannot open shared object file: No such file or directory)  
> Failed to import .\_ **init** : Traceback (most recent call last):  
> File “/home/sn/SlicerCIP4-10-2/lib/Slicer-4.10/qt-scripted-modules/SubjectHierarchyPlugins/ **init**.py”, line 14, in   
> exec(importStr)  
> File “”, line 1, in   
> ImportError: No module named \_ **init**
> 
> Failed to import .\_AbstractScriptedSubjectHierarchyPlugin: Traceback (most recent call last):  
> File “/home/sn/SlicerCIP4-10-2/lib/Slicer-4.10/qt-scripted-modules/SubjectHierarchyPlugins/ **init**.py”, line 14, in   
> exec(importStr)  
> File “”, line 1, in   
> ImportError: No module named \_AbstractScriptedSubjectHierarchyPlugin
> 
> Failed to import .\_AnnotationsSubjectHierarchyPlugin: Traceback (most recent call last):  
> File “/home/sn/SlicerCIP4-10-2/lib/Slicer-4.10/qt-scripted-modules/SubjectHierarchyPlugins/ **init**.py”, line 14, in   
> exec(importStr)  
> File “”, line 1, in   
> ImportError: No module named \_AnnotationsSubjectHierarchyPlugin
> 
> Failed to import .\_SegmentEditorSubjectHierarchyPlugin: Traceback (most recent call last):  
> File “/home/sn/SlicerCIP4-10-2/lib/Slicer-4.10/qt-scripted-modules/SubjectHierarchyPlugins/ **init**.py”, line 14, in   
> exec(importStr)  
> File “”, line 1, in   
> ImportError: No module named \_SegmentEditorSubjectHierarchyPlugin
> 
> Failed to import .\_SegmentStatisticsSubjectHierarchyPlugin: Traceback (most recent call last):  
> File “/home/sn/SlicerCIP4-10-2/lib/Slicer-4.10/qt-scripted-modules/SubjectHierarchyPlugins/ **init**.py”, line 14, in   
> exec(importStr)  
> File “”, line 1, in   
> ImportError: No module named \_SegmentStatisticsSubjectHierarchyPlugin
> 
> Switch to module: “Welcome”  
> Switch to module: “”  
> Switch to module: “”  
> …

Although I get error messages mentioned above, but Slicer is opened.  
Why do I get the error? Do these errors affect performance of “Chest Imaging Platform” module in 3DSlicer? What can I do to avoid/solve this error?

Please help me.  
Thanks a lot.  
Shahrokh

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [June 6, 2020, 9:52pm UTC](https://discourse.slicer.org/t/error-message-when-running-slicercip/11897/2 "2020-06-06T21:52:01Z")

</div>

Hmm, looks like an issue with the packaging of the customized app. I tried it and most things seem to work anyway.

I’d suggest using the nightly, but unfortunately the extension is broken. I’ve submitted a pull request.

> <https://github.com/acil-bwh/ChestImagingPlatform/pull/31>

---

<div class="post-metadata">

**Author:** ![shahrokh](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/shahrokh/32/1499_2.png) [@shahrokh](https://discourse.slicer.org/u/shahrokh)\
**Post date:** [June 7, 2020, 4:34am UTC](https://discourse.slicer.org/t/error-message-when-running-slicercip/11897/3 "2020-06-07T04:34:46Z")

</div>

Dear Steve  
At now, I install Chest\_Imaging\_Platform extension in Slicer-4.8.1. I do not get any error message.

Thanks a lot.  
Shahrokh

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [June 13, 2020, 2:21pm UTC](https://discourse.slicer.org/t/error-message-when-running-slicercip/11897/4 "2020-06-13T14:21:15Z")

</div>

@pieper’s fix went through and so CIP is available in most recent Slicer-4.11. Please use this version, as it would help us discover and fix any potential issues before the new release.
