Nightly Buildly Install- Dicom Importer Window not opening

Problem report for Slicer 4.11.0-2019-04-17 macosx-amd64: [please describe expected and actual behavior]

dicom widget has no attribute

Application log
[DEBUG][Qt] 26.04.2019 10:15:05 [] (unknown:0) - Session start time .......: 2019-04-26 10:15:05
[DEBUG][Qt] 26.04.2019 10:15:05 [] (unknown:0) - Slicer version ...........: 4.11.0-2019-04-17 (revision 28152) macosx-amd64 - installed release
[DEBUG][Qt] 26.04.2019 10:15:05 [] (unknown:0) - Operating system .........: Mac OS X / 10.12.6 / 16G1918 - 64-bit
[DEBUG][Qt] 26.04.2019 10:15:05 [] (unknown:0) - Memory ...................: 65536 MB physical, 0 MB virtual
[DEBUG][Qt] 26.04.2019 10:15:05 [] (unknown:0) - CPU ......................: GenuineIntel Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz, 6 cores, 12 logical processors
[DEBUG][Qt] 26.04.2019 10:15:05 [] (unknown:0) - VTK configuration ........: OpenGL2 rendering, Sequential threading
[DEBUG][Qt] 26.04.2019 10:15:05 [] (unknown:0) - Developer mode enabled ...: yes
[DEBUG][Qt] 26.04.2019 10:15:05 [] (unknown:0) - Prefer executable CLI ....: no
[DEBUG][Qt] 26.04.2019 10:15:05 [] (unknown:0) - Additional module paths ..: /Applications/Slicer.app/Contents/Extensions-28152/SegmentEditorExtraEffects/lib/Slicer-4.11/qt-scripted-modules, /Applications/Slicer.app/Contents/Extensions-28152/MarkupsToModel/lib/Slicer-4.11/qt-loadable-modules, /Applications/Slicer.app/Contents/Extensions-28152/OpenCAD/lib/Slicer-4.11/qt-scripted-modules, /Applications/Slicer.app/Contents/Extensions-28152/IntensitySegmenter/lib/Slicer-4.11/cli-modules, /Applications/Slicer.app/Contents/Extensions-28152/SwissSkullStripper/lib/Slicer-4.11/cli-modules, /Applications/Slicer.app/Contents/Extensions-28152/SwissSkullStripper/lib/Slicer-4.11/qt-scripted-modules, /Applications/Slicer.app/Contents/Extensions-28152/SegmentationWizard/lib/Slicer-4.11/qt-scripted-modules, /Applications/Slicer.app/Contents/Extensions-28152/SegmentMesher/lib/Slicer-4.11/qt-scripted-modules, /Applications/Slicer.app/Contents/Extensions-28152/Autoscroll/lib/Slicer-4.11/qt-scripted-modules, /Applications/Slicer.app/Contents/Extensions-28152/DCMQI/lib/Slicer-4.11/cli-modules, /Applications/Slicer.app/Contents/Extensions-28152/ShapePopulationViewer/lib/Slicer-4.11/qt-loadable-modules, /Applications/Slicer.app/Contents/Extensions-28152/ShapeQuantifier/lib/Slicer-4.11/qt-scripted-modules, /Applications/Slicer.app/Contents/Extensions-28152/ModelToModelDistance/lib/Slicer-4.11/cli-modules, /Applications/Slicer.app/Contents/Extensions-28152/CMFreg/lib/Slicer-4.11/cli-modules, /Applications/Slicer.app/Contents/Extensions-28152/CMFreg/lib/Slicer-4.11/qt-scripted-modules
[DEBUG][Python] 26.04.2019 10:15:07 [Python] (/Applications/Slicer.app/Contents/lib/Slicer-4.11/qt-scripted-modules/SubjectHierarchyPlugins/AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: Annotations
[DEBUG][Python] 26.04.2019 10:15:11 [Python] (/Applications/Slicer.app/Contents/lib/Slicer-4.11/qt-scripted-modules/SubjectHierarchyPlugins/AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentEditor
[DEBUG][Python] 26.04.2019 10:15:11 [Python] (/Applications/Slicer.app/Contents/lib/Slicer-4.11/qt-scripted-modules/SubjectHierarchyPlugins/AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentStatistics
[DEBUG][Qt] 26.04.2019 10:15:13 [] (unknown:0) - Switch to module:  "Welcome"
[CRITICAL][Stream] 26.04.2019 10:15:13 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 26.04.2019 10:15:13 [] (unknown:0) -   File "/Applications/Slicer.app/Contents/lib/Slicer-4.11/qt-scripted-modules/DICOM.py", line 72, in performPostModuleDiscoveryTasks
[CRITICAL][Stream] 26.04.2019 10:15:13 [] (unknown:0) -     self.startListener()
[CRITICAL][Stream] 26.04.2019 10:15:13 [] (unknown:0) -   File "/Applications/Slicer.app/Contents/lib/Slicer-4.11/qt-scripted-modules/DICOM.py", line 94, in startListener
[CRITICAL][Stream] 26.04.2019 10:15:13 [] (unknown:0) -     slicer.dicomListener.start()
[CRITICAL][Stream] 26.04.2019 10:15:13 [] (unknown:0) -   File "/Applications/Slicer.app/Contents/lib/Slicer-4.11/qt-scripted-modules/DICOMLib/DICOMProcesses.py", line 159, in start
[CRITICAL][Stream] 26.04.2019 10:15:13 [] (unknown:0) -     if self.killStoreSCPProcesses():
[CRITICAL][Stream] 26.04.2019 10:15:13 [] (unknown:0) -   File "/Applications/Slicer.app/Contents/lib/Slicer-4.11/qt-scripted-modules/DICOMLib/DICOMProcesses.py", line 175, in killStoreSCPProcesses
[CRITICAL][Stream] 26.04.2019 10:15:13 [] (unknown:0) -     uniqueListener = self.killStoreSCPProcessesPosix(uniqueListener)
[CRITICAL][Stream] 26.04.2019 10:15:13 [] (unknown:0) -   File "/Applications/Slicer.app/Contents/lib/Slicer-4.11/qt-scripted-modules/DICOMLib/DICOMProcesses.py", line 182, in killStoreSCPProcessesPosix
[CRITICAL][Stream] 26.04.2019 10:15:13 [] (unknown:0) -     if self.STORESCP_PROCESS_FILE_NAME in line:
[CRITICAL][Stream] 26.04.2019 10:15:13 [] (unknown:0) - TypeError: a bytes-like object is required, not 'str'
[DEBUG][Qt] 26.04.2019 10:15:56 [] (unknown:0) - Switch to module:  "DICOM"
[CRITICAL][Stream] 26.04.2019 10:15:56 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 26.04.2019 10:15:56 [] (unknown:0) -   File "/Applications/Slicer.app/Contents/lib/Slicer-4.11/qt-scripted-modules/DICOM.py", line 357, in setup
[CRITICAL][Stream] 26.04.2019 10:15:56 [] (unknown:0) -     slicer.dicomListener.process.connect('stateChanged(QProcess::ProcessState)',self.onListenerStateChanged)
[CRITICAL][Stream] 26.04.2019 10:15:56 [] (unknown:0) - AttributeError: 'NoneType' object has no attribute 'connect'
[CRITICAL][Stream] 26.04.2019 10:15:56 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 26.04.2019 10:15:56 [] (unknown:0) -   File "/Applications/Slicer.app/Contents/lib/Slicer-4.11/qt-scripted-modules/DICOM.py", line 315, in enter
[CRITICAL][Stream] 26.04.2019 10:15:56 [] (unknown:0) -     self.onOpenDetailsPopup()
[CRITICAL][Stream] 26.04.2019 10:15:56 [] (unknown:0) -   File "/Applications/Slicer.app/Contents/lib/Slicer-4.11/qt-scripted-modules/DICOM.py", line 415, in onOpenDetailsPopup
[CRITICAL][Stream] 26.04.2019 10:15:56 [] (unknown:0) -     if not isinstance(self.detailsPopup, self.getSavedDICOMDetailsWidgetType()):
[CRITICAL][Stream] 26.04.2019 10:15:56 [] (unknown:0) - AttributeError: 'DICOMWidget' object has no attribute 'detailsPopup'
[CRITICAL][Stream] 26.04.2019 10:18:15 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 26.04.2019 10:18:15 [] (unknown:0) -   File "/Applications/Slicer.app/Contents/lib/Slicer-4.11/qt-scripted-modules/DICOM.py", line 248, in dropEvent
[CRITICAL][Stream] 26.04.2019 10:18:15 [] (unknown:0) -     dicomWidget.detailsPopup.dicomBrowser.importDirectories(self.directoriesToAdd)
[CRITICAL][Stream] 26.04.2019 10:18:15 [] (unknown:0) - AttributeError: 'DICOMWidget' object has no attribute 'detailsPopup'
[DEBUG][Qt] 26.04.2019 10:18:18 [] (unknown:0) - Switch to module:  "Volumes"
[CRITICAL][Stream] 26.04.2019 10:18:18 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 26.04.2019 10:18:18 [] (unknown:0) -   File "/Applications/Slicer.app/Contents/lib/Slicer-4.11/qt-scripted-modules/DICOM.py", line 318, in exit
[CRITICAL][Stream] 26.04.2019 10:18:18 [] (unknown:0) -     if not self.detailsPopup.browserPersistent:
[CRITICAL][Stream] 26.04.2019 10:18:18 [] (unknown:0) - AttributeError: 'DICOMWidget' object has no attribute 'detailsPopup'
[DEBUG][Qt] 26.04.2019 10:18:25 [] (unknown:0) - Switch to module:  "ViewControllers"
[DEBUG][Qt] 26.04.2019 10:34:02 [] (unknown:0) - Switch to module:  "DICOM"
[CRITICAL][Stream] 26.04.2019 10:34:02 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 26.04.2019 10:34:02 [] (unknown:0) -   File "/Applications/Slicer.app/Contents/lib/Slicer-4.11/qt-scripted-modules/DICOM.py", line 315, in enter
[CRITICAL][Stream] 26.04.2019 10:34:02 [] (unknown:0) -     self.onOpenDetailsPopup()
[CRITICAL][Stream] 26.04.2019 10:34:02 [] (unknown:0) -   File "/Applications/Slicer.app/Contents/lib/Slicer-4.11/qt-scripted-modules/DICOM.py", line 415, in onOpenDetailsPopup
[CRITICAL][Stream] 26.04.2019 10:34:02 [] (unknown:0) -     if not isinstance(self.detailsPopup, self.getSavedDICOMDetailsWidgetType()):
[CRITICAL][Stream] 26.04.2019 10:34:02 [] (unknown:0) - AttributeError: 'DICOMWidget' object has no attribute 'detailsPopup'

It seems that the DICOM listener broke due to the recent switch to Python3.

For now, you need to disable the DICOM listener by copy-pasting this to the Python console:

slicer.app.settings().setValue("DICOM/RunListenerAtStart", False)

After you restart Slicer, everything should work well.

We are doing large refactoring work in Slicer nightly builds, so unless you rely on a recent fix or improvement in the nightly builds, it may be better to use the latest stable version for a few more months.

Thanks for reporting :+1:

Should be fixed in the next nightly.

1 Like

It might be useful to post a similar message to the download page as well…

I fully agree. We are waiting on @mhalle to give us write access to the download page.

@pieper @jcfr

1 Like

Agreed - let me try again.