Operating system: Windows 10
Slicer version: 4.7.0-2010-10-10
Expected behavior: Install and open build; open DICOM file.
Actual behavior: Install and open build with some errors; cannot open DICOM file.
Full console output is here:
Console Log
Number of registered modules: 140
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:/Users/peter/Desktop/debug/Slicer-build/lib/Slicer-4.7/qt-scripted-modules/DICOM.py", line 11, in <module>
import DICOMLib
File "C:\Users\peter\Desktop\debug\Slicer-build\lib\Slicer-4.7\qt-scripted-modules\DICOMLib\__init__.py", line 4, in <module>
from DICOMWidgets import *
File "C:\Users\peter\Desktop\debug\Slicer-build\lib\Slicer-4.7\qt-scripted-modules\DICOMLib\DICOMWidgets.py", line 8, in <module>
from ctk import ctkDICOMObjectListWidget, ctkDICOMDatabase, ctkDICOMIndexer, ctkDICOMBrowser, ctkPopupWidget, ctkExpandButton
ImportError: cannot import name ctkPopupWidget
loadSourceAsModule - Failed to load file "C:/Users/peter/Desktop/debug/Slicer-build/lib/Slicer-4.7/qt-scripted-modules/DICOM.py" as module "DICOM" !
Fail to instantiate module "DICOM"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:/Users/peter/Desktop/debug/Slicer-build/lib/Slicer-4.7/qt-scripted-modules/DICOMScalarVolumePlugin.py", line 4, in <module>
from DICOMLib import DICOMPlugin
File "C:\Users\peter\Desktop\debug\Slicer-build\lib\Slicer-4.7\qt-scripted-modules\DICOMLib\__init__.py", line 4, in <module>
from DICOMWidgets import *
File "C:\Users\peter\Desktop\debug\Slicer-build\lib\Slicer-4.7\qt-scripted-modules\DICOMLib\DICOMWidgets.py", line 8, in <module>
from ctk import ctkDICOMObjectListWidget, ctkDICOMDatabase, ctkDICOMIndexer, ctkDICOMBrowser, ctkPopupWidget, ctkExpandButton
ImportError: cannot import name ctkPopupWidget
loadSourceAsModule - Failed to load file "C:/Users/peter/Desktop/debug/Slicer-build/lib/Slicer-4.7/qt-scripted-modules/DICOMScalarVolumePlugin.py" as module "DICOMScalarVolumePlugin" !
Fail to instantiate module "DICOMScalarVolumePlugin"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:/Users/peter/Desktop/debug/Slicer-build/lib/Slicer-4.7/qt-scripted-modules/DICOMSlicerDataBundlePlugin.py", line 3, in <module>
from DICOMLib import DICOMPlugin
File "C:\Users\peter\Desktop\debug\Slicer-build\lib\Slicer-4.7\qt-scripted-modules\DICOMLib\__init__.py", line 4, in <module>
from DICOMWidgets import *
File "C:\Users\peter\Desktop\debug\Slicer-build\lib\Slicer-4.7\qt-scripted-modules\DICOMLib\DICOMWidgets.py", line 8, in <module>
from ctk import ctkDICOMObjectListWidget, ctkDICOMDatabase, ctkDICOMIndexer, ctkDICOMBrowser, ctkPopupWidget, ctkExpandButton
ImportError: cannot import name ctkPopupWidget
loadSourceAsModule - Failed to load file "C:/Users/peter/Desktop/debug/Slicer-build/lib/Slicer-4.7/qt-scripted-modules/DICOMSlicerDataBundlePlugin.py" as module "DICOMSlicerDataBundlePlugin" !
Fail to instantiate module "DICOMSlicerDataBundlePlugin"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:/Users/peter/Desktop/debug/Slicer-build/lib/Slicer-4.7/qt-scripted-modules/ExtensionWizard.py", line 12, in <module>
from ExtensionWizardLib import *
File "C:\Users\peter\Desktop\debug\Slicer-build\lib\Slicer-4.7\qt-scripted-modules\ExtensionWizardLib\__init__.py", line 9, in <module>
from SettingsPanel import SettingsPanel
File "C:\Users\peter\Desktop\debug\Slicer-build\lib\Slicer-4.7\qt-scripted-modules\ExtensionWizardLib\SettingsPanel.py", line 49, in <module>
class SettingsPanel(ctk.ctkSettingsPanel):
AttributeError: 'module' object has no attribute 'ctkSettingsPanel'
loadSourceAsModule - Failed to load file "C:/Users/peter/Desktop/debug/Slicer-build/lib/Slicer-4.7/qt-scripted-modules/ExtensionWizard.py" as module "ExtensionWizard" !
Fail to instantiate module "ExtensionWizard"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:/Users/peter/Desktop/debug/Slicer-build/lib/Slicer-4.7/qt-scripted-modules/JRC2013Vis.py", line 4, in <module>
from DICOMLib import DICOMUtils
File "C:\Users\peter\Desktop\debug\Slicer-build\lib\Slicer-4.7\qt-scripted-modules\DICOMLib\__init__.py", line 4, in <module>
from DICOMWidgets import *
File "C:\Users\peter\Desktop\debug\Slicer-build\lib\Slicer-4.7\qt-scripted-modules\DICOMLib\DICOMWidgets.py", line 8, in <module>
from ctk import ctkDICOMObjectListWidget, ctkDICOMDatabase, ctkDICOMIndexer, ctkDICOMBrowser, ctkPopupWidget, ctkExpandButton
ImportError: cannot import name ctkPopupWidget
loadSourceAsModule - Failed to load file "C:/Users/peter/Desktop/debug/Slicer-build/lib/Slicer-4.7/qt-scripted-modules/JRC2013Vis.py" as module "JRC2013Vis" !
Fail to instantiate module "JRC2013Vis"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:/Users/peter/Desktop/debug/Slicer-build/lib/Slicer-4.7/qt-scripted-modules/MultiVolumeImporterPlugin.py", line 5, in <module>
import DICOMLib
File "C:\Users\peter\Desktop\debug\Slicer-build\lib\Slicer-4.7\qt-scripted-modules\DICOMLib\__init__.py", line 4, in <module>
from DICOMWidgets import *
File "C:\Users\peter\Desktop\debug\Slicer-build\lib\Slicer-4.7\qt-scripted-modules\DICOMLib\DICOMWidgets.py", line 8, in <module>
from ctk import ctkDICOMObjectListWidget, ctkDICOMDatabase, ctkDICOMIndexer, ctkDICOMBrowser, ctkPopupWidget, ctkExpandButton
ImportError: cannot import name ctkPopupWidget
loadSourceAsModule - Failed to load file "C:/Users/peter/Desktop/debug/Slicer-build/lib/Slicer-4.7/qt-scripted-modules/MultiVolumeImporterPlugin.py" as module "MultiVolumeImporterPlugin" !
Fail to instantiate module "MultiVolumeImporterPlugin"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:/Users/peter/Desktop/debug/Slicer-build/lib/Slicer-4.7/qt-scripted-modules/RSNAVisTutorial.py", line 4, in <module>
from DICOMLib import DICOMUtils
File "C:\Users\peter\Desktop\debug\Slicer-build\lib\Slicer-4.7\qt-scripted-modules\DICOMLib\__init__.py", line 4, in <module>
from DICOMWidgets import *
File "C:\Users\peter\Desktop\debug\Slicer-build\lib\Slicer-4.7\qt-scripted-modules\DICOMLib\DICOMWidgets.py", line 8, in <module>
from ctk import ctkDICOMObjectListWidget, ctkDICOMDatabase, ctkDICOMIndexer, ctkDICOMBrowser, ctkPopupWidget, ctkExpandButton
ImportError: cannot import name ctkPopupWidget
loadSourceAsModule - Failed to load file "C:/Users/peter/Desktop/debug/Slicer-build/lib/Slicer-4.7/qt-scripted-modules/RSNAVisTutorial.py" as module "RSNAVisTutorial" !
Fail to instantiate module "RSNAVisTutorial"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:/Users/peter/Desktop/debug/Slicer-build/lib/Slicer-4.7/qt-scripted-modules/SubjectHierarchyGenericSelfTest.py", line 5, in <module>
from DICOMLib import DICOMUtils
File "C:\Users\peter\Desktop\debug\Slicer-build\lib\Slicer-4.7\qt-scripted-modules\DICOMLib\__init__.py", line 4, in <module>
from DICOMWidgets import *
File "C:\Users\peter\Desktop\debug\Slicer-build\lib\Slicer-4.7\qt-scripted-modules\DICOMLib\DICOMWidgets.py", line 8, in <module>
from ctk import ctkDICOMObjectListWidget, ctkDICOMDatabase, ctkDICOMIndexer, ctkDICOMBrowser, ctkPopupWidget, ctkExpandButton
ImportError: cannot import name ctkPopupWidget
loadSourceAsModule - Failed to load file "C:/Users/peter/Desktop/debug/Slicer-build/lib/Slicer-4.7/qt-scripted-modules/SubjectHierarchyGenericSelfTest.py" as module "SubjectHierarchyGenericSelfTest" !
Fail to instantiate module "SubjectHierarchyGenericSelfTest"
Number of instantiated modules: 132
Traceback (most recent call last):
File "C:/Users/peter/Desktop/debug/Slicer-build/bin/Python/slicer/slicerqt.py", line 54, in emit
self.pythonToCtkLevelConverter[record.levelno], self.origin, context, record.msg)
AttributeError: 'SlicerApplicationLogHandler' object has no attribute 'pythonToCtkLevelConverter'
Logged from file AbstractScriptedSubjectHierarchyPlugin.py, line 36
When loading module "DICOMPatcher" , the dependency "DICOM" failed to be loaded.
Traceback (most recent call last):
File "C:/Users/peter/Desktop/debug/Slicer-build/bin/Python/slicer/slicerqt.py", line 54, in emit
self.pythonToCtkLevelConverter[record.levelno], self.origin, context, record.msg)
AttributeError: 'SlicerApplicationLogHandler' object has no attribute 'pythonToCtkLevelConverter'
Logged from file AbstractScriptedSubjectHierarchyPlugin.py, line 36
Traceback (most recent call last):
File "C:/Users/peter/Desktop/debug/Slicer-build/bin/Python/slicer/slicerqt.py", line 54, in emit
self.pythonToCtkLevelConverter[record.levelno], self.origin, context, record.msg)
AttributeError: 'SlicerApplicationLogHandler' object has no attribute 'pythonToCtkLevelConverter'
Logged from file AbstractScriptedSubjectHierarchyPlugin.py, line 36
Number of loaded modules: 131
Build errors from Visual Studio are here:
Build errors
Description File Line Column Project
Error 1 error MSB6006: "cmd.exe" exited with code 1. [C:\Users\peter\Desktop\debug\CTK-build\CTK-build\Libs\Widgets\CTKWidgetsPythonQt.vcxproj] [C:\Users\peter\Desktop\debug\CTK-build\CTK.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 170 5 CTK
Error 2 error MSB6006: "cmd.exe" exited with code 1. [C:\Users\peter\Desktop\debug\CTK-build\CTK-build\Libs\Widgets\CTKWidgetsPythonQt.vcxproj] [C:\Users\peter\Desktop\debug\CTK-build\CTK.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 170 5 CTK
Error 3 error MSB6006: "cmd.exe" exited with code 1. [C:\Users\peter\Desktop\debug\CTK-build\CTK-build\Libs\Widgets\CTKWidgetsPythonQt.vcxproj] [C:\Users\peter\Desktop\debug\CTK-build\CTK.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 170 5 CTK
Error 4 error MSB6006: "cmd.exe" exited with code 1. [C:\Users\peter\Desktop\debug\CTK-build\CTK-build\Libs\Widgets\CTKWidgetsPythonQt.vcxproj] [C:\Users\peter\Desktop\debug\CTK-build\CTK.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 170 5 CTK
Any suggestions?