DICOM Images not loading

I have issue loading my DICOM files to the Slicer software.
I have uploaded these files successfully on my desktop but I am getting the following error when I try on my laptop.

Application logs
[DEBUG][Qt] 14.01.2019 14:23:23 [] (unknown:0) - Session start time .......: 2019-01-14 14:23:23
[DEBUG][Qt] 14.01.2019 14:23:23 [] (unknown:0) - Slicer version ...........: 4.10.0 (revision 27501) win-amd64 - installed release
[DEBUG][Qt] 14.01.2019 14:23:24 [] (unknown:0) - Operating system .........: Windows /  Professional /  (Build 9200) - 64-bit
[DEBUG][Qt] 14.01.2019 14:23:24 [] (unknown:0) - Memory ...................: 16264 MB physical, 19208 MB virtual
[DEBUG][Qt] 14.01.2019 14:23:24 [] (unknown:0) - CPU ......................: GenuineIntel , 8 cores, 8 logical processors
[DEBUG][Qt] 14.01.2019 14:23:24 [] (unknown:0) - VTK configuration ........: OpenGL2 rendering, TBB threading
[DEBUG][Qt] 14.01.2019 14:23:24 [] (unknown:0) - Developer mode enabled ...: no
[DEBUG][Qt] 14.01.2019 14:23:24 [] (unknown:0) - Prefer executable CLI ....: yes
[DEBUG][Qt] 14.01.2019 14:23:24 [] (unknown:0) - Additional module paths ..: C:/Users/CormacClarke/AppData/Roaming/NA-MIC/Extensions-27501/SlicerHeart/lib/Slicer-4.10/qt-loadable-modules, C:/Users/CormacClarke/AppData/Roaming/NA-MIC/Extensions-27501/SlicerHeart/lib/Slicer-4.10/qt-scripted-modules, C:/Users/CormacClarke/AppData/Roaming/NA-MIC/Extensions-27501/Sequences/lib/Slicer-4.10/qt-loadable-modules, C:/Users/CormacClarke/AppData/Roaming/NA-MIC/Extensions-27501/Sequences/lib/Slicer-4.10/qt-scripted-modules
[DEBUG][Python] 14.01.2019 14:23:30 [Python] (C:\Program Files\Slicer 4.10.0\lib\Python\Lib\site-packages\git\cmd.py:719) - Popen(['git', 'version'], cwd=C:\Program Files\Slicer 4.10.0, universal_newlines=False, shell=None)
[DEBUG][Python] 14.01.2019 14:23:30 [Python] (C:\Program Files\Slicer 4.10.0\lib\Python\Lib\site-packages\git\cmd.py:719) - Popen(['git', 'version'], cwd=C:\Program Files\Slicer 4.10.0, universal_newlines=False, shell=None)
[DEBUG][Python] 14.01.2019 14:23:33 [Python] (C:\Program Files\Slicer 4.10.0\lib\Slicer-4.10\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: Annotations
[DEBUG][Python] 14.01.2019 14:23:34 [Python] (C:\Program Files\Slicer 4.10.0\lib\Slicer-4.10\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentEditor
[DEBUG][Python] 14.01.2019 14:23:34 [Python] (C:\Program Files\Slicer 4.10.0\lib\Slicer-4.10\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentStatistics
[DEBUG][Qt] 14.01.2019 14:23:34 [] (unknown:0) - Switch to module:  "Welcome"
[DEBUG][Qt] 14.01.2019 14:23:52 [] (unknown:0) - Switch to module:  "DICOM"
[CRITICAL][Stream] 14.01.2019 14:23:52 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 14.01.2019 14:23:52 [] (unknown:0) -   File "C:/Program Files/Slicer 4.10.0/bin/../lib/Slicer-4.10/qt-scripted-modules/DICOM.py", line 332, in setup
[CRITICAL][Stream] 14.01.2019 14:23:52 [] (unknown:0) -     self.detailsPopup = self.getSavedDICOMDetailsWidgetType()()
[CRITICAL][Stream] 14.01.2019 14:23:52 [] (unknown:0) -   File "C:\Program Files\Slicer 4.10.0\lib\Slicer-4.10\qt-scripted-modules\DICOMLib\DICOMWidgets.py", line 1015, in __init__
[CRITICAL][Stream] 14.01.2019 14:23:52 [] (unknown:0) -     super(DICOMDetailsWindow, self).__init__(dicomBrowser, parent)
[CRITICAL][Stream] 14.01.2019 14:23:52 [] (unknown:0) -   File "C:\Program Files\Slicer 4.10.0\lib\Slicer-4.10\qt-scripted-modules\DICOMLib\DICOMWidgets.py", line 984, in __init__
[CRITICAL][Stream] 14.01.2019 14:23:52 [] (unknown:0) -     DICOMDetailsBase.__init__(self, dicomBrowser)
[CRITICAL][Stream] 14.01.2019 14:23:52 [] (unknown:0) -   File "C:\Program Files\Slicer 4.10.0\lib\Slicer-4.10\qt-scripted-modules\DICOMLib\DICOMWidgets.py", line 93, in __init__
[CRITICAL][Stream] 14.01.2019 14:23:52 [] (unknown:0) -     self.promptForDatabaseDirectory()
[CRITICAL][Stream] 14.01.2019 14:23:52 [] (unknown:0) -   File "C:\Program Files\Slicer 4.10.0\lib\Slicer-4.10\qt-scripted-modules\DICOMLib\DICOMWidgets.py", line 540, in promptForDatabaseDirectory
[CRITICAL][Stream] 14.01.2019 14:23:52 [] (unknown:0) -     os.makedirs(databaseDirectory)
[CRITICAL][Stream] 14.01.2019 14:23:52 [] (unknown:0) -   File "C:/Program Files/Slicer 4.10.0/bin/../lib/Python/Lib\os.py", line 157, in makedirs
[CRITICAL][Stream] 14.01.2019 14:23:52 [] (unknown:0) -     mkdir(name, mode)
[CRITICAL][Stream] 14.01.2019 14:23:52 [] (unknown:0) - WindowsError: [Error 2] The system cannot find the file specified: u'C:/Users/CormacClarke/Documents\\SlicerDICOMDatabase'
[CRITICAL][Stream] 14.01.2019 14:23:52 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 14.01.2019 14:23:52 [] (unknown:0) -   File "C:/Program Files/Slicer 4.10.0/bin/../lib/Slicer-4.10/qt-scripted-modules/DICOM.py", line 273, in enter
[CRITICAL][Stream] 14.01.2019 14:23:52 [] (unknown:0) -     self.onOpenDetailsPopup()
[CRITICAL][Stream] 14.01.2019 14:23:52 [] (unknown:0) -   File "C:/Program Files/Slicer 4.10.0/bin/../lib/Slicer-4.10/qt-scripted-modules/DICOM.py", line 373, in onOpenDetailsPopup
[CRITICAL][Stream] 14.01.2019 14:23:52 [] (unknown:0) -     if not isinstance(self.detailsPopup, self.getSavedDICOMDetailsWidgetType()):
[CRITICAL][Stream] 14.01.2019 14:23:52 [] (unknown:0) - AttributeError: DICOMWidget instance has no attribute 'detailsPopup'
[CRITICAL][Stream] 14.01.2019 14:23:52 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 14.01.2019 14:23:52 [] (unknown:0) -   File "C:/Program Files/Slicer 4.10.0/bin/../lib/Slicer-4.10/qt-scripted-modules/DICOM.py", line 206, in dropEvent
[CRITICAL][Stream] 14.01.2019 14:23:52 [] (unknown:0) -     dicomWidget.detailsPopup.dicomBrowser.importDirectories(self.directoriesToAdd)
[CRITICAL][Stream] 14.01.2019 14:23:52 [] (unknown:0) - AttributeError: DICOMWidget instance has no attribute 'detailsPopup'

Looks like it can’t create this directory. Do you have a Documents folder there?

C:/Users/CormacClarke/Documents\SlicerDICOMDatabase’

Thanks for your reply Steve
No there isn’t any docs folder in that location

Does creating C:/Users/CormacClarke/Documents fix the problem?

Hi Steve,

Got it fixed.
I set up the folder SlicerDICOMDatabase in the folder.
Also had to make slicerapp-real.exe an approved app.

Thanks for your help

1 Like