# Error loading SlicerMorphRC.py

**URL:** <https://discourse.slicer.org/t/error-loading-slicermorphrc-py/43536>\
**Category:** Support\
**Created:** [June 29, 2025, 7:40am UTC](https://discourse.slicer.org/t/error-loading-slicermorphrc-py/43536 "2025-06-29T07:40:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AriD](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@AriD](https://discourse.slicer.org/u/AriD)\
**Post date:** [June 29, 2025, 7:40am UTC](https://discourse.slicer.org/t/error-loading-slicermorphrc-py/43536/1 "2025-06-29T07:40:45Z")

</div>

Hello,  
I’m using 3D Slicer version 5.8.1 and have been working with the SlicerMorph extension for some time. Recently, I started receiving the following error:  
“error loading SlicerMorphRC.py  
module ‘slicer’ has no attribute ‘vtkMRMLVolumePropertyNode’  
see Python console for stack trace”

I have tried the following steps without success:

- Uninstalling and reinstalling the SlicerMorph extension
- Uninstalling and reinstalling 3D Slicer itself

I would appreciate any help resolving this issue.

Thank you!

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [June 29, 2025, 6:12pm UTC](https://discourse.slicer.org/t/error-loading-slicermorphrc-py/43536/2 "2025-06-29T18:12:32Z")

</div>

I can’t replicate this on my Mac. When I enable SlicerMorphRC.py, there is no error. What platform are you seeing this, and did you make any changes to the resource file (like editing and deleting things).

Also, if you can copy and paste the python console as the error suggest, it might be useful.

---

<div class="post-metadata">

**Author:** ![AriD](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@AriD](https://discourse.slicer.org/u/AriD)\
**Post date:** [June 30, 2025, 7:33am UTC](https://discourse.slicer.org/t/error-loading-slicermorphrc-py/43536/3 "2025-06-30T07:33:07Z")

</div>

Hello,  
Thank you for your quick response.  
I don’t know if this is related, but this started happening after installing **SlicerIGT** extension, and I have tried deleting and reinstalling this as well - but no change.  
The following is the python script when I open slicer:

Python 3.9.10 (main, Mar 2 2025, 20:55:00) [MSC v.1942 64 bit (AMD64)] on win32

> > >

Traceback (most recent call last):  
File “”, line 1, in   
File “C:\Users\BEM-LAB-PC\AppData\Local\slicer.org\Slicer 5.8.1\lib\Python\Lib\imp.py”, line 169, in load\_source  
module = \_exec(spec, sys.modules[name])  
File “”, line 613, in \_exec  
File “”, line 850, in exec\_module  
File “”, line 228, in _call\_with\_frames\_removed  
File “C:/Users/BEM-LAB-PC/AppData/Local/slicer.org/Slicer 5.8.1/slicer.org/Extensions-33241/Sandbox/lib/Slicer-5.8/qt-scripted-modules/ColorizeVolume.py”, line 16, in   
from slicer import vtkMRMLScalarVolumeNode, vtkMRMLSegmentationNode, vtkMRMLSequenceBrowserNode, vtkMRMLVectorVolumeNode  
ImportError: cannot import name ‘vtkMRMLSequenceBrowserNode’ from ‘slicer’ (C:\Users\BEM-LAB-PC\AppData\Local\slicer.org\Slicer 5.8.1\bin\Python\slicer\_init_.py)  
[Qt] loadSourceAsModule - Failed to load file “C:/Users/BEM-LAB-PC/AppData/Local/slicer.org/Slicer 5.8.1/slicer.org/Extensions-33241/Sandbox/lib/Slicer-5.8/qt-scripted-modules/ColorizeVolume.py” as module “ColorizeVolume” !  
[Qt] Fail to instantiate module “ColorizeVolume”  
[Qt] libpng warning: iCCP: profile ‘ICC Profile’: ‘CMYK’: invalid ICC profile color space  
[Qt] libpng warning: iCCP: known incorrect sRGB profile  
[Qt] libpng warning: iCCP: known incorrect sRGB profile  
[Qt] The following modules failed to be instantiated:  
[Qt] ColorizeVolume  
Traceback (most recent call last):  
File “C:/Users/BEM-LAB-PC/AppData/Local/slicer.org/Slicer 5.8.1/bin/../lib/Slicer-5.8/qt-scripted-modules/DataProbe.py”, line 60, in addView  
self.infoWidget = DataProbeInfoWidget(parent)  
File “C:/Users/BEM-LAB-PC/AppData/Local/slicer.org/Slicer 5.8.1/bin/../lib/Slicer-5.8/qt-scripted-modules/DataProbe.py”, line 98, in **init**  
self.\_createSmall()  
File “C:/Users/BEM-LAB-PC/AppData/Local/slicer.org/Slicer 5.8.1/bin/../lib/Slicer-5.8/qt-scripted-modules/DataProbe.py”, line 406, in \_createSmall  
self.sliceAnnotations = DataProbeLib.SliceAnnotations()  
File “C:\Users\BEM-LAB-PC\AppData\Local\slicer.org\Slicer 5.8.1\lib\Slicer-5.8\qt-scripted-modules\DataProbeLib\SliceViewAnnotations.py”, line 109, in **init**  
self.parameterNode = self.dataProbeUtil.getParameterNode()  
File “C:\Users\BEM-LAB-PC\AppData\Local\slicer.org\Slicer 5.8.1\lib\Slicer-5.8\qt-scripted-modules\DataProbeLib\DataProbeUtil.py”, line 24, in getParameterNode  
node = self.\_createParameterNode()  
File “C:\Users\BEM-LAB-PC\AppData\Local\slicer.org\Slicer 5.8.1\lib\Slicer-5.8\qt-scripted-modules\DataProbeLib\DataProbeUtil.py”, line 45, in \_createParameterNode  
slicer.mrmlScene.AddNode(node)  
TypeError: AddNode argument 1: method requires a VTK object  
Traceback (most recent call last):  
File “C:/Users/BEM-LAB-PC/AppData/Local/slicer.org/Slicer 5.8.1/slicer.org/Extensions-33241/SlicerMorph/lib/Slicer-5.8/qt-scripted-modules/MorphPreferences.py”, line 62, in loadPresetFile  
exec(open(vrPresetPath).read(), globals())  
File “”, line 11, in   
AttributeError: module ‘slicer’ has no attribute ‘vtkMRMLVolumePropertyNode’  
[Python] Error loading SlicerMorphRC.py  
[Python] module ‘slicer’ has no attribute ‘vtkMRMLVolumePropertyNode’  
[Python] See Python Console for Stack Trace  
Traceback (most recent call last):  
File “C:/Users/BEM-LAB-PC/AppData/Local/slicer.org/Slicer 5.8.1/slicer.org/Extensions-33241/Sandbox/lib/Slicer-5.8/qt-scripted-modules/UserStatistics.py”, line 66, in setup  
self.logic = UserStatisticsLogic()  
File “C:/Users/BEM-LAB-PC/AppData/Local/slicer.org/Slicer 5.8.1/slicer.org/Extensions-33241/Sandbox/lib/Slicer-5.8/qt-scripted-modules/UserStatistics.py”, line 271, in **init**  
self.addObserver(slicer.mrmlScene, slicer.mrmlScene.NodeAddedEvent, self.onNodeAdded)  
File “C:\Users\BEM-LAB-PC\AppData\Local\slicer.org\Slicer 5.8.1\bin\Python\slicer\util.py”, line 2822, in addObserver  
tag = obj.AddObserver(event, method, priority)  
AttributeError: ‘MRMLCorePython.vtkMRMLScene’ object has no attribute ‘AddObserver’  
Traceback (most recent call last):  
File “C:/Users/BEM-LAB-PC/AppData/Local/slicer.org/Slicer 5.8.1/slicer.org/Extensions-33241/Sandbox/lib/Slicer-5.8/qt-scripted-modules/UserStatistics.py”, line 42, in showUserConfirmationDialog  
logic = slicer.modules.userstatistics.widgetRepresentation().self().logic  
AttributeError: ‘UserStatisticsWidget’ object has no attribute ‘logic’  
[Qt] libpng warning: iCCP: known incorrect sRGB profile  
[Qt] Property ‘verbose’’ of object ‘qSlicerWebPythonProxy’ has no notify signal and is not constant, value updates in HTML will be broken!  
[Qt] Property ‘verbose’’ of object ‘qSlicerWebPythonProxy’ has no notify signal and is not constant, value updates in HTML will be broken!  
[Qt] Mixed Content: The page at ‘[@KitwareMedical/slicer-extensions-webapp](https://extensions.slicer.org/catalog/All/33241/win)’ was loaded over HTTPS, but requested an insecure image ‘[http://wiki.slicer.org/slicerWiki/images/f/f6/IntensitySegmenterIcon.png](http://wiki.slicer.org/slicerWiki/images/f/f6/IntensitySegmenterIcon.png)’. This content should also be served over HTTPS.  
[Qt] A cookie associated with a cross-site resource at [http://www.nitrc.org/](http://www.nitrc.org/) was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application\>Storage\>Cookies and see more details at [Chrome Platform Status](https://www.chromestatus.com/feature/5088147346030592) and [Chrome Platform Status](https://www.chromestatus.com/feature/5633521622188032).  
[Qt] libpng warning: iCCP: known incorrect sRGB profile  
[Qt] Property ‘verbose’’ of object ‘qSlicerWebPythonProxy’ has no notify signal and is not constant, value updates in HTML will be broken!  
[Qt] Property ‘verbose’’ of object ‘qSlicerWebPythonProxy’ has no notify signal and is not constant, value updates in HTML will be broken!
