Today’s 2018-10-15 Windows nightly build shows a bunch of errors after launch because it is unable to import VTK in python. This hasn’t been an issue for recent nightly builds so I assume it is something to do with a recent VTK commit as the Slicer release is getting prepped. The Windows build didn’t appear to show build errors indicating that there would be a problem with this nightly. Can anyone replicate this?
[CRITICAL][Stream] 15.10.2018 13:03:33 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 15.10.2018 13:03:33 [] (unknown:0) - File "<string>", line 1, in <module>
[CRITICAL][Stream] 15.10.2018 13:03:33 [] (unknown:0) - NameError: name 'getSlicerRCFileName' is not defined
[CRITICAL][Stream] 15.10.2018 13:03:33 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 15.10.2018 13:03:33 [] (unknown:0) - File "<string>", line 1, in <module>
[CRITICAL][Stream] 15.10.2018 13:03:33 [] (unknown:0) - File "C:/Program Files/Slicer 4.9.0-2018-10-15/bin/../lib/Slicer-4.9/qt-scripted-modules/AddManyMarkupsFiducialTest.py", line 4, in <module>
[CRITICAL][Stream] 15.10.2018 13:03:33 [] (unknown:0) - import vtk, qt, ctk, slicer
[CRITICAL][Stream] 15.10.2018 13:03:33 [] (unknown:0) - ImportError: No module named vtk
[CRITICAL][Qt] 15.10.2018 13:03:33 [] (unknown:0) - loadSourceAsModule - Failed to load file "C:/Program Files/Slicer 4.9.0-2018-10-15/bin/../lib/Slicer-4.9/qt-scripted-modules/AddManyMarkupsFiducialTest.py" as module "AddManyMarkupsFiducialTest" !
[CRITICAL][Qt] 15.10.2018 13:03:33 [] (unknown:0) - Fail to instantiate module "AddManyMarkupsFiducialTest"
[CRITICAL][Stream] 15.10.2018 13:03:33 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 15.10.2018 13:03:33 [] (unknown:0) - File "<string>", line 1, in <module>
[CRITICAL][Stream] 15.10.2018 13:03:33 [] (unknown:0) - File "C:/Program Files/Slicer 4.9.0-2018-10-15/bin/../lib/Slicer-4.9/qt-scripted-modules/AddStorableDataAfterSceneViewTest.py", line 3, in <module>
[CRITICAL][Stream] 15.10.2018 13:03:33 [] (unknown:0) - import vtk, qt, ctk, slicer
[CRITICAL][Stream] 15.10.2018 13:03:33 [] (unknown:0) - ImportError: No module named vtk
[CRITICAL][Qt] 15.10.2018 13:03:33 [] (unknown:0) - loadSourceAsModule - Failed to load file "C:/Program Files/Slicer 4.9.0-2018-10-15/bin/../lib/Slicer-4.9/qt-scripted-modules/AddStorableDataAfterSceneViewTest.py" as module "AddStorableDataAfterSceneViewTest" !
[CRITICAL][Qt] 15.10.2018 13:03:33 [] (unknown:0) - Fail to instantiate module "AddStorableDataAfterSceneViewTest"
[CRITICAL][Stream] 15.10.2018 13:03:33 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 15.10.2018 13:03:33 [] (unknown:0) - File "<string>", line 1, in <module>
[CRITICAL][Stream] 15.10.2018 13:03:33 [] (unknown:0) - File "C:/Program Files/Slicer 4.9.0-2018-10-15/bin/../lib/Slicer-4.9/qt-scripted-modules/AtlasTests.py", line 3, in <module>
[CRITICAL][Stream] 15.10.2018 13:03:33 [] (unknown:0) - import vtk, qt, ctk, slicer
[CRITICAL][Stream] 15.10.2018 13:03:33 [] (unknown:0) - ImportError: No module named vtk
[CRITICAL][Qt] 15.10.2018 13:03:33 [] (unknown:0) - loadSourceAsModule - Failed to load file "C:/Program Files/Slicer 4.9.0-2018-10-15/bin/../lib/Slicer-4.9/qt-scripted-modules/AtlasTests.py" as module "AtlasTests" !
[CRITICAL][Qt] 15.10.2018 13:03:33 [] (unknown:0) - Fail to instantiate module "AtlasTests"
...[Other messages hidden]
[CRITICAL][Stream] 15.10.2018 13:03:36 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 15.10.2018 13:03:36 [] (unknown:0) - File "<string>", line 1, in <module>
[CRITICAL][Stream] 15.10.2018 13:03:36 [] (unknown:0) - File "C:\Program Files\Slicer 4.9.0-2018-10-15\bin\Python\slicer\util.py", line 100, in importVTKClassesFromDirectory
[CRITICAL][Stream] 15.10.2018 13:03:36 [] (unknown:0) - from vtk import vtkObjectBase
[CRITICAL][Stream] 15.10.2018 13:03:36 [] (unknown:0) - ImportError: No module named vtk
[CRITICAL][Stream] 15.10.2018 13:03:36 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 15.10.2018 13:03:36 [] (unknown:0) - File "<string>", line 1, in <module>
[CRITICAL][Stream] 15.10.2018 13:03:36 [] (unknown:0) - File "C:\Program Files\Slicer 4.9.0-2018-10-15\bin\Python\slicer\util.py", line 100, in importVTKClassesFromDirectory
[CRITICAL][Stream] 15.10.2018 13:03:36 [] (unknown:0) - from vtk import vtkObjectBase
[CRITICAL][Stream] 15.10.2018 13:03:36 [] (unknown:0) - ImportError: No module named vtk
[DEBUG][Qt] 15.10.2018 13:03:37 [] (unknown:0) - Switch to module: "Welcome"
[CRITICAL][Stream] 15.10.2018 13:03:38 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 15.10.2018 13:03:38 [] (unknown:0) - File "<string>", line 1, in <module>
[CRITICAL][Stream] 15.10.2018 13:03:38 [] (unknown:0) - NameError: name 'loadSlicerRCFile' is not defined