New extensions can not work on Slicer 5.4.0 on MacOS

Hello, I have just updated Slicer VMTK to 144582e (2023-08-22). It showed the following error:

dlopen(/Applications/Slicer 5.4.0.app/Contents/Extensions-31938/SlicerVMTK/lib/Slicer-5.4/qt-loadable-modules/qSlicerBranchClipperModuleWidgetsPythonQt.so, 0x0002): Library not loaded: /Users/svc-dashboard/D/S/A/ITK-build/lib/libitkgdcmjpeg8-5.3.1.dylib
  Referenced from: <8228E9E9-AE1B-31B6-BEEB-4F916BF21B91> /Applications/Slicer 5.4.0.app/Contents/Extensions-31938/SlicerVMTK/lib/Slicer-5.4/libitkgdcmMSFF-5.3.1.dylib
  Reason: tried: '/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkgdcmjpeg8-5.3.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkgdcmjpeg8-5.3.1.dylib' (no such file), '/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkgdcmjpeg8-5.3.1.dylib' (no such file), '/usr/lib/libitkgdcmjpeg8-5.3.1.dylib' (no such file, not in dyld cache)

This version of Slicer VMTK works well on Slicer 5.4.0 on Windows PC.
The old version of Slicer VMTK also works well on Slicer 5.4.0 on MacOS.
Other extensions like SlicerIGT also has the same problem.

Do you know how to install old version of the extensions of Slicer?
Thank you.

Just reporting that there are no such issues with Slicer 5.4.0 on Linux.

Thanks for the reports. I’m able to replicate the issue - there appears to be an issue fixing up the shared libraries for the VMTK extension on mac.

I guess it needs something like this: COMP: Fix extension packaging on macOS accounting for synthetic firmlink · Slicer/Slicer@858c195 · GitHub

Probably something similar or more extensive is needed for VMTK due to its structure. It would be great if someone has a chance to dig in to this.

For now maybe use older slicer or build from source.

To follow up on this issue as well as the one discussed in Fiducial Registration Wizard Module not loading - #5 by Jayme_Goodrum, the root cause of the problem has been identified and fixed.

The patch locally integrated in the build machine source tree was not the one effectively tested and contributed through PR-7181 in main, and PR-7182 in 5.4 maintenance branch.

This has now been addressed :white_check_mark:

Valid stable extensions are expected to be uploaded in the next 12 hours :rocket:

Thanks for your patience :pray:

Details

It was an hard-coded version expected to work only for the Preview source tree and not the Stable source tree.

diff --git a/CMake/SlicerExtensionCPack.cmake b/CMake/SlicerExtensionCPack.cmake
index 842abbb6ff..b65b312d5a 100644
--- a/CMake/SlicerExtensionCPack.cmake
+++ b/CMake/SlicerExtensionCPack.cmake
@@ -193,6 +193,7 @@ if(APPLE)
   set(EXTENSION_BINARY_DIR ${EXTENSION_SUPERBUILD_BINARY_DIR}/${EXTENSION_BUILD_SUBDIRECTORY})
   set(EXTENSION_SUPERBUILD_DIR ${EXTENSION_SUPERBUILD_BINARY_DIR})
   get_filename_component(Slicer_SUPERBUILD_DIR ${Slicer_DIR}/.. ABSOLUTE)
+  set(Slicer_SUPERBUILD_DIR "/Users/svc-dashboard/D/P/A")
 
   #------------------------------------------------------------------------------
   # <ExtensionName>_FIXUP_BUNDLE_LIBRARY_DIRECTORIES

instead the following patch was added:

diff --git a/CMake/SlicerExtensionCPack.cmake b/CMake/SlicerExtensionCPack.cmake
index 842abbb6ff..6adec7bcac 100644
--- a/CMake/SlicerExtensionCPack.cmake
+++ b/CMake/SlicerExtensionCPack.cmake
@@ -194,6 +194,14 @@ if(APPLE)
   set(EXTENSION_SUPERBUILD_DIR ${EXTENSION_SUPERBUILD_BINARY_DIR})
   get_filename_component(Slicer_SUPERBUILD_DIR ${Slicer_DIR}/.. ABSOLUTE)
 
+  # If any, resolve synthetic firmlink  (e.g from "/D/P/A" to "/Users/svc-dashboard/D/P/A")
+  #
+  # Since the output of "otool -L" reports paths with synthetic firmlinks resolved
+  # (see GetPrerequisitesWithRPath), we are using REAL_PATH below to also resolve
+  # Slicer_SUPERBUILD_DIR and ensure that the test in "SlicerExtensionCPackBundleFixup.cmake.in"
+  # checking if "${key}_ITEM" is a library built in Slicer itself work as expected.
+  file(REAL_PATH ${Slicer_SUPERBUILD_DIR} Slicer_SUPERBUILD_DIR)
+
   #------------------------------------------------------------------------------
   # <ExtensionName>_FIXUP_BUNDLE_LIBRARY_DIRECTORIES
   #------------------------------------------------------------------------------

2 Likes

Valid stable extensions are expected to be uploaded in the next 12 hour

Since the regular build process would have skip the update (no metadata change detected), existing macOS extensions have been manually removed and are currently being re-packaged and re-uploaded.

This should be completed in the next hour.

3 Likes

And for future reference, the steps were the following:

Delete macos extension packages:

Re-upload packages:

  • SSH into macOS build server
  • Go to /path/to/S/S-0-E-b
  • Set env. variable SLICER_PACKAGE_UPLOAD_SKIP_PACKAGING_TARGET
  • Set env. variables SLICER_EXTENSION_MANAGER_* for client executable, url and api key
export SLICER_PACKAGE_UPLOAD_SKIP_PACKAGING_TARGET=1

cd /path/to/S/S-0-E-b

for extension_build_dir in $(ls -1 | grep "\-build"); do
  subdir=""
  # Assume SuperBuild extensions are all using the same inner build directory
  if [ -d "${extension_build_dir}/inner-build" ]; then
    subdir=inner-build
  fi
  echo "extension_build_dir [${extension_build_dir}/${subdir}]"
  (cd ${extension_build_dir}/${subdir}; make packageupload/fast)
done

  1. https://slicer-packages.kitware.com/#folder/64e0bcf706a93d6cff363ad0 ↩︎

A post was split to a new topic: SlicerTMS extension does not work in Slicer-5.4 on macOS

Maybe the fix from last week did not fully work.

Can someone (@pieper maybe?) test if Surface Cut effect in SegmentEditorExtraEffects extension works on macOS in a freshly installed Slicer-5.4?

It worked last week (I think it was Friday). In the meantime I downloaded some extensions. Could that be the reason why it doesn’t work anymore?

Installing additional extensions should not break existing extensions but anything is possible in software.

What extensions are installed now? (the application log that you shared only showed MarkupsToModel and SegmentEditorExtraEffects extensions)

Can you reproduce the behavior on a fresh Slicer install (that you install SegmentEditorExtraEffects extension and Surface Cut effects works and then you install some additional extensions and the Surface Cut effect does not work anymore)?

I did download “NvidiaAIAssistedAnnotation” and after that the “Surface cut” didn’t work anymore (I can’t the fiducial points as it’s greyed out).
Maybe it’s just a coincidence but after I realized that I doesn’t work anymore I firstly deinstalled and installed the extensions and secondly also deinstalled and installed 3D Slicer software, without solving the problem.

Many thanks for your help!

I can confirm that there’s still a shared library path issue on MacOS with 5.4. Here’s the result of a fresh 5.4 installation with the extra effects extension installed. Looks like an issue with the ITK IO shared libraries.

(base) pieper@hive ~ % /tmp/Slicer.app/Contents/MacOS/Slicer 
  Error(s):
    Cannot load library /private/tmp/Slicer.app/Contents/Extensions-31938/MarkupsToModel/lib/Slicer-5.4/qt-loadable-modules/libqSlicerMarkupsToModelModule.dylib: (dlopen(/private/tmp/Slicer.app/Contents/Extensions-31938/MarkupsToModel/lib/Slicer-5.4/qt-loadable-modules/libqSlicerMarkupsToModelModule.dylib, 0x0085): Library not loaded: /Users/svc-dashboard/D/S/A/ITK-build/lib/libitkgdcmjpeg8-5.3.1.dylib
  Referenced from: <8228E9E9-AE1B-31B6-BEEB-4F916BF21B91> /private/tmp/Slicer.app/Contents/Extensions-31938/MarkupsToModel/lib/Slicer-5.4/libitkgdcmMSFF-5.3.1.dylib
  Reason: tried: '/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkgdcmjpeg8-5.3.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkgdcmjpeg8-5.3.1.dylib' (no such file), '/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkgdcmjpeg8-5.3.1.dylib' (no such file), '/usr/lib/libitkgdcmjpeg8-5.3.1.dylib' (no such file, not in dyld cache))
dlopen(/private/tmp/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/qt-loadable-modules/vtkSlicerSegmentEditorFastMarchingModuleLogicPython.so, 0x0002): Library not loaded: /Users/svc-dashboard/D/S/A/ITK-build/lib/libitkdouble-conversion-5.3.1.dylib
  Referenced from: <249C14A3-922A-3ACF-A049-3F2D2DEDC62A> /private/tmp/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/libITKCommon-5.3.1.dylib
  Reason: tried: '/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkdouble-conversion-5.3.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkdouble-conversion-5.3.1.dylib' (no such file), '/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkdouble-conversion-5.3.1.dylib' (no such file), '/usr/lib/libitkdouble-conversion-5.3.1.dylib' (no such file, not in dyld cache)Library not loaded: /Users/svc-dashboard/D/S/A/ITK-build/lib/libitkgdcmMSFF-5.3.1.dylib
  Referenced from: <560159FD-BA27-3CB8-99E1-A270AADA946D> /private/tmp/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/libITKIOGDCM-5.3.1.dylib
  Reason: tried: '/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkgdcmMSFF-5.3.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkgdcmMSFF-5.3.1.dylib' (no such file), '/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkgdcmMSFF-5.3.1.dylib' (no such file), '/usr/lib/libitkgdcmMSFF-5.3.1.dylib' (no such file, not in dyld cache)Library not loaded: /Users/svc-dashboard/D/S/A/ITK-build/lib/libitkjpeg-5.3.1.dylib
  Referenced from: <F70DCEE4-1D80-3987-BC57-2EEF23E16F18> /private/tmp/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/libITKIOJPEG-5.3.1.dylib
  Reason: tried: '/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkjpeg-5.3.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkjpeg-5.3.1.dylib' (no such file), '/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkjpeg-5.3.1.dylib' (no such file), '/usr/lib/libitkjpeg-5.3.1.dylib' (no such file, not in dyld cache)Library not loaded: /Users/svc-dashboard/D/S/A/ITK-build/lib/libitktiff-5.3.1.dylib
  Referenced from: <97F92774-CA75-3F14-B0C4-D7F4CA49AD41> /private/tmp/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/libITKIOLSM-5.3.1.dylib
  Reason: tried: '/Users/svc-dashboard/D/S/A/ITK-build/lib/libitktiff-5.3.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/svc-dashboard/D/S/A/ITK-build/lib/libitktiff-5.3.1.dylib' (no such file), '/Users/svc-dashboard/D/S/A/ITK-build/lib/libitktiff-5.3.1.dylib' (no such file), '/usr/lib/libitktiff-5.3.1.dylib' (no such file, not in dyld cache)Library not loaded: /Users/svc-dashboard/D/S/A/ITK-build/lib/libitktiff-5.3.1.dylib
  Referenced from: <0FDE7828-E821-3811-8AAF-CD0AF44ED2D2> /private/tmp/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/libITKIOTIFF-5.3.1.dylib
  Reason: tried: '/Users/svc-dashboard/D/S/A/ITK-build/lib/libitktiff-5.3.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/svc-dashboard/D/S/A/ITK-build/lib/libitktiff-5.3.1.dylib' (no such file), '/Users/svc-dashboard/D/S/A/ITK-build/lib/libitktiff-5.3.1.dylib' (no such file), '/usr/lib/libitktiff-5.3.1.dylib' (no such file, not in dyld cache)Library not loaded: /Users/svc-dashboard/D/S/A/ITK-build/lib/libitkpng-5.3.1.dylib
  Referenced from: <428379DB-772D-34CE-9CDB-54428A4B439A> /private/tmp/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/libITKIOPNG-5.3.1.dylib
  Reason: tried: '/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkpng-5.3.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkpng-5.3.1.dylib' (no such file), '/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkpng-5.3.1.dylib' (no such file), '/usr/lib/libitkpng-5.3.1.dylib' (no such file, not in dyld cache)Library not loaded: /Users/svc-dashboard/D/S/A/ITK-build/lib/libITKniftiio-5.3.1.dylib
  Referenced from: <8055E7CC-11BB-3C0C-A3AE-25FE5DDDAE98> /private/tmp/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/libITKIONIFTI-5.3.1.dylib
  Reason: tried: '/Users/svc-dashboard/D/S/A/ITK-build/lib/libITKniftiio-5.3.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/svc-dashboard/D/S/A/ITK-build/lib/libITKniftiio-5.3.1.dylib' (no such file), '/Users/svc-dashboard/D/S/A/ITK-build/lib/libITKniftiio-5.3.1.dylib' (no such file), '/usr/lib/libITKniftiio-5.3.1.dylib' (no such file, not in dyld cache)Library not loaded: /Users/svc-dashboard/D/S/A/ITK-build/lib/libITKNrrdIO-5.3.1.dylib
  Referenced from: <49E409EA-EF87-3221-B7A2-CAA30301DE84> /private/tmp/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/libITKIONRRD-5.3.1.dylib
  Reason: tried: '/Users/svc-dashboard/D/S/A/ITK-build/lib/libITKNrrdIO-5.3.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/svc-dashboard/D/S/A/ITK-build/lib/libITKNrrdIO-5.3.1.dylib' (no such file), '/Users/svc-dashboard/D/S/A/ITK-build/lib/libITKNrrdIO-5.3.1.dylib' (no such file), '/usr/lib/libITKNrrdIO-5.3.1.dylib' (no such file, not in dyld cache)Library not loaded: /Users/svc-dashboard/D/S/A/ITK-build/lib/libitkhdf5_cpp-shared-5.3.1.dylib
  Referenced from: <EFD52745-B6CC-3C26-AF09-663C61E2CA1B> /private/tmp/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/libITKIOTransformHDF5-5.3.1.dylib
  Reason: tried: '/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkhdf5_cpp-shared-5.3.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkhdf5_cpp-shared-5.3.1.dylib' (no such file), '/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkhdf5_cpp-shared-5.3.1.dylib' (no such file), '/usr/lib/libitkhdf5_cpp-shared-5.3.1.dylib' (no such file, not in dyld cache)Library not loaded: /Users/svc-dashboard/D/S/A/ITK-build/lib/libitkdouble-conversion-5.3.1.dylib
  Referenced from: <1DF364A2-DEE6-3CF5-854E-3A34C7485ADA> /private/tmp/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/libITKIOTransformInsightLegacy-5.3.1.dylib
  Reason: tried: '/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkdouble-conversion-5.3.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkdouble-conversion-5.3.1.dylib' (no such file), '/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkdouble-conversion-5.3.1.dylib' (no such file), '/usr/lib/libitkdouble-conversion-5.3.1.dylib' (no such file, not in dyld cache)Library not loaded: /Users/svc-dashboard/D/S/A/ITK-build/lib/libitkminc2-5.3.1.dylib
  Referenced from: <6482C254-2F9C-30EE-A8A9-7A27F36C0215> /private/tmp/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/libITKIOMINC-5.3.1.dylib
  Reason: tried: '/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkminc2-5.3.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkminc2-5.3.1.dylib' (no such file), '/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkminc2-5.3.1.dylib' (no such file), '/usr/lib/libitkminc2-5.3.1.dylib' (no such file, not in dyld cache)
Switch to module:  "Welcome"
Populating font family aliases took 104 ms. Replace uses of missing font family ".AppleSystemUIFont" with one that exists to avoid this cost. 
Loading Slicer RC file [/Users/pieper/.slicerrc.py]

1 Like

Due to some (probably unrelated) factory issues, the extensions might not have been rebuilt yet to take into effect now changes.

1 Like

Is there a way I can fix the problem? Or is it a general problem, that still needs to be fixed?

Please try the uninstall and install the extensions today. If there are still problems then let us know. Thank you!

As a new user who downloaded 3D Slicer and these 2 extensions just today, I can confirm that the issue still exists.

@jcfr @Sam_Horvath could you please check what’s happening?

I unistallend and reinstalled both extensions and there are no more extensions installed right now but I still can’t set the fiducial points with “Surface cut”.

“Surface cut” effect is provided by an extension, so if you don’t have any extensions installed then the “Surface cut” effect should not be visible at all in the Extensions Manager. Can you upload somewhere the application log (menu: Help / Report a bug) and post the link here?

Sorry. I wasn’t precise enough. I’ve only installed the two extensions I need for “Surface cut” (no more).

Logs

[DEBUG][Qt] 21.09.2023 16:44:39 (unknown:0) - Session start time …: 2023-09-21 16:44:39
[DEBUG][Qt] 21.09.2023 16:44:39 (unknown:0) - Slicer version …: 5.4.0 (revision 31938 / 311cb26) macosx-amd64 - installed release
[DEBUG][Qt] 21.09.2023 16:44:39 (unknown:0) - Operating system …: macOS / 12.6.4 / 21G526 / UTF-8 - 64-bit
[DEBUG][Qt] 21.09.2023 16:44:39 (unknown:0) - Memory …: 16384 MB physical, 3072 MB virtual
[DEBUG][Qt] 21.09.2023 16:44:39 (unknown:0) - CPU …: GenuineIntel Intel(R) Core™ i7-5557U CPU @ 3.10GHz, 2 cores, 4 logical processors
[DEBUG][Qt] 21.09.2023 16:44:39 (unknown:0) - VTK configuration …: OpenGL2 rendering, Sequential threading
[DEBUG][Qt] 21.09.2023 16:44:39 (unknown:0) - Qt configuration …: version 5.15.8, with SSL, requested OpenGL 3.2 (core profile)
[DEBUG][Qt] 21.09.2023 16:44:39 (unknown:0) - Internationalization …: disabled, language=
[DEBUG][Qt] 21.09.2023 16:44:39 (unknown:0) - Developer mode …: disabled
[DEBUG][Qt] 21.09.2023 16:44:39 (unknown:0) - Application path …: /Applications/Slicer.app/Contents/MacOS
[DEBUG][Qt] 21.09.2023 16:44:39 (unknown:0) - Additional module paths …: Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/qt-loadable-modules, Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/qt-scripted-modules, Extensions-31938/MarkupsToModel/lib/Slicer-5.4/qt-loadable-modules
[CRITICAL][Qt] 21.09.2023 16:44:52 (unknown:0) - Error(s):
Cannot load library /Applications/Slicer.app/Contents/Extensions-31938/MarkupsToModel/lib/Slicer-5.4/qt-loadable-modules/libqSlicerMarkupsToModelModule.dylib: (dlopen(/Applications/Slicer.app/Contents/Extensions-31938/MarkupsToModel/lib/Slicer-5.4/qt-loadable-modules/libqSlicerMarkupsToModelModule.dylib, 0x0085): Library not loaded: ‘/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkgdcmjpeg8-5.3.1.dylib’
Referenced from: ‘/Applications/Slicer.app/Contents/Extensions-31938/MarkupsToModel/lib/Slicer-5.4/libitkgdcmMSFF-5.3.1.dylib’
Reason: tried: ‘/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkgdcmjpeg8-5.3.1.dylib’ (no such file), ‘/usr/lib/libitkgdcmjpeg8-5.3.1.dylib’ (no such file))
[DEBUG][Python] 21.09.2023 16:44:53 [Python] (/Applications/Slicer.app/Contents/lib/Slicer-5.4/qt-scripted-modules/SubjectHierarchyPlugins/AbstractScriptedSubjectHierarchyPlugin.py:38) - Scripted subject hierarchy plugin registered: SegmentEditor
[CRITICAL][Stream] 21.09.2023 16:45:03 (unknown:0) - dlopen(/Applications/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/qt-loadable-modules/vtkSlicerSegmentEditorFastMarchingModuleLogicPython.so, 0x0002): Library not loaded: ‘/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkdouble-conversion-5.3.1.dylib’
[CRITICAL][Stream] 21.09.2023 16:45:03 (unknown:0) - Referenced from: ‘/Applications/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/libITKCommon-5.3.1.dylib’
[CRITICAL][Stream] 21.09.2023 16:45:03 (unknown:0) - Reason: tried: ‘/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkdouble-conversion-5.3.1.dylib’ (no such file), ‘/usr/lib/libitkdouble-conversion-5.3.1.dylib’ (no such file)Library not loaded: ‘/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkgdcmMSFF-5.3.1.dylib’
[CRITICAL][Stream] 21.09.2023 16:45:03 (unknown:0) - Referenced from: ‘/Applications/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/libITKIOGDCM-5.3.1.dylib’
[CRITICAL][Stream] 21.09.2023 16:45:03 (unknown:0) - Reason: tried: ‘/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkgdcmMSFF-5.3.1.dylib’ (no such file), ‘/usr/lib/libitkgdcmMSFF-5.3.1.dylib’ (no such file)Library not loaded: ‘/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkjpeg-5.3.1.dylib’
[CRITICAL][Stream] 21.09.2023 16:45:03 (unknown:0) - Referenced from: ‘/Applications/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/libITKIOJPEG-5.3.1.dylib’
[CRITICAL][Stream] 21.09.2023 16:45:03 (unknown:0) - Reason: tried: ‘/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkjpeg-5.3.1.dylib’ (no such file), ‘/usr/lib/libitkjpeg-5.3.1.dylib’ (no such file)Library not loaded: ‘/Users/svc-dashboard/D/S/A/ITK-build/lib/libitktiff-5.3.1.dylib’
[CRITICAL][Stream] 21.09.2023 16:45:03 (unknown:0) - Referenced from: ‘/Applications/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/libITKIOLSM-5.3.1.dylib’
[CRITICAL][Stream] 21.09.2023 16:45:03 (unknown:0) - Reason: tried: ‘/Users/svc-dashboard/D/S/A/ITK-build/lib/libitktiff-5.3.1.dylib’ (no such file), ‘/usr/lib/libitktiff-5.3.1.dylib’ (no such file)Library not loaded: ‘/Users/svc-dashboard/D/S/A/ITK-build/lib/libitktiff-5.3.1.dylib’
[CRITICAL][Stream] 21.09.2023 16:45:03 (unknown:0) - Referenced from: ‘/Applications/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/libITKIOTIFF-5.3.1.dylib’
[CRITICAL][Stream] 21.09.2023 16:45:03 (unknown:0) - Reason: tried: ‘/Users/svc-dashboard/D/S/A/ITK-build/lib/libitktiff-5.3.1.dylib’ (no such file), ‘/usr/lib/libitktiff-5.3.1.dylib’ (no such file)Library not loaded: ‘/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkpng-5.3.1.dylib’
[CRITICAL][Stream] 21.09.2023 16:45:03 (unknown:0) - Referenced from: ‘/Applications/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/libITKIOPNG-5.3.1.dylib’
[CRITICAL][Stream] 21.09.2023 16:45:03 (unknown:0) - Reason: tried: ‘/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkpng-5.3.1.dylib’ (no such file), ‘/usr/lib/libitkpng-5.3.1.dylib’ (no such file)Library not loaded: ‘/Users/svc-dashboard/D/S/A/ITK-build/lib/libITKniftiio-5.3.1.dylib’
[CRITICAL][Stream] 21.09.2023 16:45:03 (unknown:0) - Referenced from: ‘/Applications/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/libITKIONIFTI-5.3.1.dylib’
[CRITICAL][Stream] 21.09.2023 16:45:03 (unknown:0) - Reason: tried: ‘/Users/svc-dashboard/D/S/A/ITK-build/lib/libITKniftiio-5.3.1.dylib’ (no such file), ‘/usr/lib/libITKniftiio-5.3.1.dylib’ (no such file)Library not loaded: ‘/Users/svc-dashboard/D/S/A/ITK-build/lib/libITKNrrdIO-5.3.1.dylib’
[CRITICAL][Stream] 21.09.2023 16:45:03 (unknown:0) - Referenced from: ‘/Applications/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/libITKIONRRD-5.3.1.dylib’
[CRITICAL][Stream] 21.09.2023 16:45:03 (unknown:0) - Reason: tried: ‘/Users/svc-dashboard/D/S/A/ITK-build/lib/libITKNrrdIO-5.3.1.dylib’ (no such file), ‘/usr/lib/libITKNrrdIO-5.3.1.dylib’ (no such file)Library not loaded: ‘/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkhdf5_cpp-shared-5.3.1.dylib’
[CRITICAL][Stream] 21.09.2023 16:45:03 (unknown:0) - Referenced from: ‘/Applications/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/libITKIOTransformHDF5-5.3.1.dylib’
[CRITICAL][Stream] 21.09.2023 16:45:03 (unknown:0) - Reason: tried: ‘/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkhdf5_cpp-shared-5.3.1.dylib’ (no such file), ‘/usr/lib/libitkhdf5_cpp-shared-5.3.1.dylib’ (no such file)Library not loaded: ‘/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkdouble-conversion-5.3.1.dylib’
[CRITICAL][Stream] 21.09.2023 16:45:03 (unknown:0) - Referenced from: ‘/Applications/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/libITKIOTransformInsightLegacy-5.3.1.dylib’
[CRITICAL][Stream] 21.09.2023 16:45:03 (unknown:0) - Reason: tried: ‘/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkdouble-conversion-5.3.1.dylib’ (no such file), ‘/usr/lib/libitkdouble-conversion-5.3.1.dylib’ (no such file)Library not loaded: ‘/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkminc2-5.3.1.dylib’
[CRITICAL][Stream] 21.09.2023 16:45:03 (unknown:0) - Referenced from: ‘/Applications/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/libITKIOMINC-5.3.1.dylib’
[CRITICAL][Stream] 21.09.2023 16:45:03 (unknown:0) - Reason: tried: ‘/Users/svc-dashboard/D/S/A/ITK-build/lib/libitkminc2-5.3.1.dylib’ (no such file), ‘/usr/lib/libitkminc2-5.3.1.dylib’ (no such file)
[DEBUG][Python] 21.09.2023 16:45:03 [Python] (/Applications/Slicer.app/Contents/lib/Slicer-5.4/qt-scripted-modules/SubjectHierarchyPlugins/AbstractScriptedSubjectHierarchyPlugin.py:38) - Scripted subject hierarchy plugin registered: SegmentStatistics
[DEBUG][Qt] 21.09.2023 16:45:03 (unknown:0) - Switch to module: “Welcome”
[WARNING][Qt] 21.09.2023 16:45:03 (unknown:0) - Populating font family aliases took 257 ms. Replace uses of missing font family “.AppleSystemUIFont” with one that exists to avoid this cost.
[CRITICAL][FD] 21.09.2023 16:45:27 (unknown:0) - [49065:89859:0921/164527.159831:ERROR:gl_context_cgl.cc(118)] Error creating context.
[WARNING][Qt] 21.09.2023 16:45:29 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://www.slicer.org/slicerWiki/images/b/bc/BaselineFollowupSCANRegisteredCMFreg2.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:29 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://wiki.slicer.org/slicerWiki/images/2/2a/CarreraSliceEffect.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://www.slicer.org/slicerWiki/images/b/b9/ChangeTracker_logo.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://www.slicer.org/slicerWiki/images/b/b7/CurveMakerIcon.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://slicer.org/slicerWiki/images/9/92/DSC_logo_Resized.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://www.slicer.org/slicerWiki/images/a/ac/ErodeDilateLabelIcon.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://www.slicer.org/slicerWiki/images/1/16/FilmDosimetry_Logo_128x128.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://www.slicer.org/slicerWiki/images/f/f1/GelDosimetry_Logo_128x128.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://www.slicer.org/slicerWiki/images/a/a7/GyroGuide.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://www.slicer.org/slicerWiki/images/e/e5/QuickToolsLogo.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://wiki.slicer.org/slicerWiki/images/f/f6/IntensitySegmenterIcon.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://www.slicer.org/slicerWiki/images/e/e8/MatlabBridgeLogo.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://slicer.org/slicerWiki/images/4/43/Slicer4ExtensionModelToModelDistance.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://www.slicer.org/slicerWiki/images/a/ac/PAAlogo-small.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://www.slicer.org/slicerWiki/images/2/21/PerkTutorLogo.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘https://extensions.slicer.org/catalog/All/31938/macosx’ was loaded over HTTPS, but requested an insecure image ‘http://www.slicer.org/slicerWiki/images/b/b1/DPetBrainQuantification.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://wiki.slicer.org/slicerWiki/images/3/34/PkModeling.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://wiki.slicer.org/slicerWiki/images/d/d6/ResectionPlannerLogo.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://www.slicer.org/slicerWiki/images/b/ba/SegAidedRegSquareFocus128.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://www.slicer.org/slicerWiki/images/f/f2/SkullStripper.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://raw.githubusercontent.com/SlicerDMRI/slicerdmri.github.io/master/images/DMRI_3D_SLICER-icon.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://raw.githubusercontent.com/QIICR/SlicerDevelopmentToolbox/master/Resources/Icons/SlicerDevelopmentToolbox.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://www.slicer.org/slicerWiki/images/2/2b/SlicerIGTLogo.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://wiki.slicer.org/slicerWiki/images/8/87/SlicerProstate_Logo_1.0_128x128.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://www.slicer.org/slicerWiki/images/2/29/SlicerRT_Logo_3.0_128x128.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://www.slicer.org/slicerWiki/images/6/64/SlicerToKiwiExporterLogo.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://www.nitrc.org/project/screenshot.php?group_id=196&screenshot_id=269’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://slicer.org/slicerWiki/images/3/32/T1_Mapping_Logo_Resized.png’. This content should also be served over HTTPS.
[WARNING][Qt] 21.09.2023 16:45:30 (unknown:0) - Mixed Content: The page at ‘@KitwareMedical/slicer-extensions-webapp’ was loaded over HTTPS, but requested an insecure image ‘http://www.slicer.org/slicerWiki/images/c/c2/VolumeClipLogo.png’. This content should also be served over HTTPS.
[DEBUG][Qt] 21.09.2023 16:45:50 (unknown:0) - Switch to module: “SampleData”
[DEBUG][Python] 21.09.2023 16:45:50 [Python] (/Applications/Slicer.app/Contents/bin/…/lib/Slicer-5.4/qt-scripted-modules/SampleData.py:385) -

Status: Idle


[DEBUG][Python] 21.09.2023 16:45:53 [Python] (/Applications/Slicer.app/Contents/bin/…/lib/Slicer-5.4/qt-scripted-modules/SampleData.py:385) - Verifying checksum
[DEBUG][Python] 21.09.2023 16:45:53 [Python] (/Applications/Slicer.app/Contents/bin/…/lib/Slicer-5.4/qt-scripted-modules/SampleData.py:385) - File already exists and checksum is OK - reusing it.
[DEBUG][Python] 21.09.2023 16:45:53 [Python] (/Applications/Slicer.app/Contents/bin/…/lib/Slicer-5.4/qt-scripted-modules/SampleData.py:385) - Requesting load PreDentalSurgery from /Users/Aud/Library/Caches/slicer.org/Slicer/SlicerIO/PreDentalSurgery.gipl.gz …
[DEBUG][Qt] 21.09.2023 16:45:53 (unknown:0) - “Volume” Reader has successfully read the file “/Users/Aud/Library/Caches/slicer.org/Slicer/SlicerIO/PreDentalSurgery.gipl.gz” “[0.57s]”
[DEBUG][Python] 21.09.2023 16:45:54 [Python] (/Applications/Slicer.app/Contents/bin/…/lib/Slicer-5.4/qt-scripted-modules/SampleData.py:385) - Load finished
[DEBUG][Python] 21.09.2023 16:45:54 [Python] (/Applications/Slicer.app/Contents/bin/…/lib/Slicer-5.4/qt-scripted-modules/SampleData.py:385) - Verifying checksum
[DEBUG][Python] 21.09.2023 16:45:54 [Python] (/Applications/Slicer.app/Contents/bin/…/lib/Slicer-5.4/qt-scripted-modules/SampleData.py:385) - File already exists and checksum is OK - reusing it.
[DEBUG][Python] 21.09.2023 16:45:54 [Python] (/Applications/Slicer.app/Contents/bin/…/lib/Slicer-5.4/qt-scripted-modules/SampleData.py:385) - Requesting load PostDentalSurgery from /Users/Aud/Library/Caches/slicer.org/Slicer/SlicerIO/PostDentalSurgery.gipl.gz …
[DEBUG][Qt] 21.09.2023 16:45:54 (unknown:0) - “Volume” Reader has successfully read the file “/Users/Aud/Library/Caches/slicer.org/Slicer/SlicerIO/PostDentalSurgery.gipl.gz” “[0.55s]”
[DEBUG][Python] 21.09.2023 16:45:54 [Python] (/Applications/Slicer.app/Contents/bin/…/lib/Slicer-5.4/qt-scripted-modules/SampleData.py:385) - Load finished
[DEBUG][Qt] 21.09.2023 16:45:59 (unknown:0) - Switch to module: “SegmentEditor”
[WARNING][Qt] 21.09.2023 16:46:00 (unknown:0) - QLayout::addChildLayout: layout “” already has a parent
[WARNING][Qt] 21.09.2023 16:46:00 (unknown:0) - ctkSliderWidget::setSingleStep() 0 is out of bounds. 0 100 1
[CRITICAL][Stream] 21.09.2023 16:46:09 (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 21.09.2023 16:46:09 (unknown:0) - File “/Applications/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/qt-scripted-modules/SegmentEditorSurfaceCutLib/SegmentEditorEffect.py”, line 138, in activate
[CRITICAL][Stream] 21.09.2023 16:46:09 (unknown:0) - self.createNewMarkupNode()
[CRITICAL][Stream] 21.09.2023 16:46:09 (unknown:0) - File “/Applications/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/qt-scripted-modules/SegmentEditorSurfaceCutLib/SegmentEditorEffect.py”, line 352, in createNewMarkupNode
[CRITICAL][Stream] 21.09.2023 16:46:09 (unknown:0) - self.setAndObserveSegmentMarkupNode(self.segmentMarkupNode)
[CRITICAL][Stream] 21.09.2023 16:46:09 (unknown:0) - File “/Applications/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/qt-scripted-modules/SegmentEditorSurfaceCutLib/SegmentEditorEffect.py”, line 374, in setAndObserveSegmentMarkupNode
[CRITICAL][Stream] 21.09.2023 16:46:09 (unknown:0) - self.updateModelFromSegmentMarkupNode()
[CRITICAL][Stream] 21.09.2023 16:46:09 (unknown:0) - File “/Applications/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/qt-scripted-modules/SegmentEditorSurfaceCutLib/SegmentEditorEffect.py”, line 413, in updateModelFromSegmentMarkupNode
[CRITICAL][Stream] 21.09.2023 16:46:09 (unknown:0) - self.logic.updateModelFromMarkup(self.segmentMarkupNode, self.segmentModel, smoothing)
[CRITICAL][Stream] 21.09.2023 16:46:09 (unknown:0) - File “/Applications/Slicer.app/Contents/Extensions-31938/SegmentEditorExtraEffects/lib/Slicer-5.4/qt-scripted-modules/SegmentEditorSurfaceCutLib/SegmentEditorEffect.py”, line 447, in updateModelFromMarkup
[CRITICAL][Stream] 21.09.2023 16:46:09 (unknown:0) - markupsToModel = slicer.modules.markupstomodel.logic()
[CRITICAL][Stream] 21.09.2023 16:46:09 (unknown:0) - AttributeError: module ‘modules’ has no attribute ‘markupstomodel’