# Mac preview release build failed to load content in extension manager

**URL:** <https://discourse.slicer.org/t/mac-preview-release-build-failed-to-load-content-in-extension-manager/19899>\
**Category:** Support\
**Tags:** extensions-manager\
**Created:** [September 28, 2021, 6:48pm UTC](https://discourse.slicer.org/t/mac-preview-release-build-failed-to-load-content-in-extension-manager/19899 "2021-09-28T18:48:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RuoyanMeng](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ruoyanmeng/32/12403_2.png) [@RuoyanMeng](https://discourse.slicer.org/u/RuoyanMeng)\
**Post date:** [September 28, 2021, 6:48pm UTC](https://discourse.slicer.org/t/mac-preview-release-build-failed-to-load-content-in-extension-manager/19899/1 "2021-09-28T18:48:23Z")

</div>

Build env: MacOS 11.6, Qt 5.15.2, cmake 3.20.5

I fetched the latest slicer preview release(4.13.0-2021-09-27) from the slicer master branch. Cause SimpleITK cannot be built from mac, the solution mentioned here ([issues 5498](https://github.com/Slicer/Slicer/issues/5498)) is not working for me, so I disabled the build for SimpleITK since our development doesn’t require this module. After a successful build, the extension manager is not working, error message in terminal:

```auto
[52428:95747:0928/065957.963701:ERROR:gl_context_cgl.cc(118)] Error creating context.
[0928/065958.085678:ERROR:icu_util.cc(251)] Couldn't mmap icu data file
[0928/065958.086204:ERROR:icu_util.cc(251)] Couldn't mmap icu data file
[0928/065958.884304:ERROR:icu_util.cc(251)] Couldn't mmap icu data file

```

And the extension manager looks:

 ![Screen Shot 2021-09-28 at 7.17.28 AM](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/f/0f53da31595f5e1f827b73c566322391e972be7f.jpeg)

After this, I try to restore the SlicerJupyter extension manually. I download it from [here](https://slicer-packages.kitware.com/#collection/5f4474d0e1d8c75dfc70547e/folder/61529f30342a877cb3c8b4c5) and it installed successfully. However, the JupyterKernel is unable to load after restart Slicer.

I also download the package dmg file and run it, the extension manager works fine there:

 ![Screen Shot 2021-09-28 at 7.16.26 AM](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/7/977850a8f1d9bf176e861db9708a98576066a265.jpeg)

Does anyone have an idea of what leading to this?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [September 28, 2021, 8:19pm UTC](https://discourse.slicer.org/t/mac-preview-release-build-failed-to-load-content-in-extension-manager/19899/2 "2021-09-28T20:19:49Z")

</div>

This is the expected behavior. If you build Slicer then you also need to build all the extenions that you want to use to ensure ABI compatibility.

> [@Unable to access extensions with latest code - as of 21st Sept 2021](https://discourse.slicer.org/t/unable-to-access-extensions-with-latest-code-as-of-21st-sept-2021/19770/4):
>
> The extension manager only supports installing extensions for versions of Slicer corresponding to the revisions of Slicer Preview builds. The latest Slicer Preview 4.13.0-2021-09-18 is revision 30223, so extensions from the factory server are available for that version but not for the revisions of any commits from today. If you have your own Slicer that you’ve manually built, you are expected to manually build any extensions you need as well.

After you have build Slicer on your computer (which is not very easy), building the extensions is trivial, just two CMake commands - see [here](https://slicer.readthedocs.io/en/latest/developer_guide/extensions.html#build-test-and-package).

---

<div class="post-metadata">

**Author:** ![RuoyanMeng](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ruoyanmeng/32/12403_2.png) [@RuoyanMeng](https://discourse.slicer.org/u/RuoyanMeng)\
**Post date:** [September 29, 2021, 8:18am UTC](https://discourse.slicer.org/t/mac-preview-release-build-failed-to-load-content-in-extension-manager/19899/3 "2021-09-29T08:18:53Z")

</div>

Hi, Thanks for the suggestions.  
I’ve built Slicer on my Mac by disabling the simpleITK module. However, when I try to build SlicerJupyter, a problem caused by lacking argon2-cffi wheel occurred, I also posted this problem here:

> [SlicerJupyter build failed on MacOSX due to failed building wheel for argon2-cffi](https://discourse.slicer.org/t/slicerjupyter-build-failed-on-macosx-due-to-failed-building-wheel-for-argon2-cffi/19804)

The advice received is to try to install it from extension manager.
