Operating system: macOS
Slicer version: 4.5
Expected behavior:
Actual behavior:
Hello again,
Trying to use the VMTK module which I recently downloaded. When I select the vessel filtering option I get a “failure to load VMTK libraries” error message. The other options seem to work fine.
I’ve tried with 4.8 and the latest 4.9 version - same behavior.
When I use the Segmentation module, the options load but the ‘Start’ button
is disabled. I add all the details I can as well as seeding the vascular
tree on the image but it remains greyed out…
Does the Mac version generally have more problems than the windows version?
Could you please copy here a screenshot (make sure no patient name and ID is displayed in slice views) and check if there are any error messages printed in the Python console (Ctrl+3)?
I just tried the vmtk extension on mac with Slicer 4.8 and confirmed it isn’t working.
There’s an issue with the python library:
>>> import vtkvmtkSegmentationPython as vtkvmtkSegmentation
Traceback (most recent call last):
File "<console>", line 1, in <module>
ImportError: dlopen(/Applications/Slicer-4.8.0.app/Contents/Extensions-26489/SlicerVMTK/lib/Slicer-4.8/qt-loadable-modules/Python/vtkvmtkSegmentationPython.so, 2): Library not loaded: libvtkvmtkSegmentationPythonD.dylib
Referenced from: /Applications/Slicer-4.8.0.app/Contents/Extensions-26489/SlicerVMTK/lib/Slicer-4.8/qt-loadable-modules/Python/vtkvmtkSegmentationPython.so
Reason: image not found
@pieper confirmed this is a building/packaging error on MacOS. We are working on releasing a new stable version, so most likely we cannot fix this issue in the next 2 weeks. You can track its status by watching this issue: https://github.com/vmtk/SlicerExtension-VMTK/issues/11
Until the problem is fixed, you can run a Windows version of Slicer (using Parallels) or try to use VMTK directly, using command-line tools (see http://www.vmtk.org/).
I update the git hash in VMTK extension to use the last working version until we fix the VMTK master. So, VMTK should be available in the nightly build again from tomorrow.