Giter Site home page Giter Site logo

Comments (9)

domillima avatar domillima commented on September 5, 2024

Also experiencing this. Have a Apple M3 chip macbook pro. Uninstalled and reinstalled slicer with the same error.

from slicerjupyter.

Khoa-NT avatar Khoa-NT commented on September 5, 2024

I have the same problem on my M2 Macbook Air

from slicerjupyter.

che85 avatar che85 commented on September 5, 2024

@lassoan I compiled locally, packaged and installed via ExtensionManager. When starting Slicer, getting the following:

(base) herzc@K4YF7L70NQ Slicer-build % ./Slicer
2024-04-05 13:58:10.454 Slicer[43613:5435359] WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:.
  Error(s):
    Cannot load library /Users/herzc/D/S4D/Slicer-build/bin/Slicer.app/Contents/Extensions-32793/SlicerJupyter/lib/Slicer-5.7/qt-loadable-modules/libqSlicerJupyterKernelModule.dylib: (dlopen(/Users/herzc/D/S4D/Slicer-build/bin/Slicer.app/Contents/Extensions-32793/SlicerJupyter/lib/Slicer-5.7/qt-loadable-modules/libqSlicerJupyterKernelModule.dylib, 0x0085): Library not loaded: @rpath/Frameworks/QtWidgets.framework/Versions/5/QtWidgets
  Referenced from: <959C0021-FD22-35BA-A01D-81572C83F204> /Users/herzc/D/S4D/Slicer-build/bin/Slicer.app/Contents/Extensions-32793/SlicerJupyter/lib/Slicer-5.7/qt-loadable-modules/libqSlicerJupyterKernelModule.dylib
  Reason: tried: '/Users/herzc/D/S4D/teem-build/bin/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/herzc/D/S4D/teem-build/bin/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/D/S4D/qRestAPI-build/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/herzc/D/S4D/qRestAPI-build/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/D/S4D/LibArchive-install/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/herzc/D/S4D/LibArchive-install/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/Qt/5.15.2/clang_64/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/herzc/Qt/5.15.2/clang_64/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/D/S4D/teem-build/bin/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/herzc/D/S4D/teem-build/bin/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/D/S4D/qRestAPI-build/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/herzc/D/S4D/qRestAPI-build/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/D/S4D/LibArchive-install/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/herzc/D/S4D/LibArchive-install/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/Qt/5.15.2/clang_64/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/herzc/Qt/5.15.2/clang_64/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/D/S4D/Slicer-build/bin/Slicer.app/Contents/Frameworks/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/Qt/5.15.2/clang_64/lib/QtCore.framework/Versions/5/Frameworks/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/D/S4D/Slicer-build/bin/Slicer.app/Contents/MacOS/../Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/D/S4D/CTK-build/CMakeExternals/Install/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/herzc/D/S4D/CTK-build/CMakeExternals/Install/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/D/S4D/teem-build/bin/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/herzc/D/S4D/teem-build/bin/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/Qt/5.15.2/clang_64/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/herzc/Qt/5.15.2/clang_64/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/D/S4D/LibArchive-install/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/herzc/D/S4D/LibArchive-install/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file))
dlopen(/Users/herzc/D/S4D/Slicer-build/bin/Slicer.app/Contents/Extensions-32793/SlicerJupyter/lib/Slicer-5.7/qt-loadable-modules/vtkSlicerJupyterKernelModuleLogicPython.so, 0x0002): Library not loaded: @rpath/Frameworks/QtWidgets.framework/Versions/5/QtWidgets
  Referenced from: <294383B9-4128-3CFB-AF29-EA20B3B7AC4C> /Users/herzc/D/S4D/Slicer-build/bin/Slicer.app/Contents/Extensions-32793/SlicerJupyter/lib/Slicer-5.7/qt-loadable-modules/vtkSlicerJupyterKernelModuleLogicPython.so
  Reason: tried: '/Users/herzc/D/S4D/teem-build/bin/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/herzc/D/S4D/teem-build/bin/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/D/S4D/qRestAPI-build/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/herzc/D/S4D/qRestAPI-build/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/Qt/5.15.2/clang_64/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/herzc/Qt/5.15.2/clang_64/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/D/S4D/LibArchive-install/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/herzc/D/S4D/LibArchive-install/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/D/S4D/teem-build/bin/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/herzc/D/S4D/teem-build/bin/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/D/S4D/qRestAPI-build/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/herzc/D/S4D/qRestAPI-build/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/Qt/5.15.2/clang_64/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/herzc/Qt/5.15.2/clang_64/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/D/S4D/LibArchive-install/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/herzc/D/S4D/LibArchive-install/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/D/S4D/Slicer-build/bin/Slicer.app/Contents/MacOS/../Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/D/S4D/CTK-build/CMakeExternals/Install/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/herzc/D/S4D/CTK-build/CMakeExternals/Install/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/D/S4D/teem-build/bin/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/herzc/D/S4D/teem-build/bin/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/Qt/5.15.2/clang_64/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/herzc/Qt/5.15.2/clang_64/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/Users/herzc/D/S4D/LibArchive-install/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/herzc/D/S4D/LibArchive-install/lib/Frameworks/QtWidgets.framework/Versions/5/QtWidgets' (no such file)

from slicerjupyter.

che85 avatar che85 commented on September 5, 2024

Compiling with ZeroMQ v4.3.4 failed with:

make[5]: *** [CMakeFiles/objects.dir/src/ws_engine.cpp.o] Error 1
/Users/herzc/sources/cpp/SlicerJupyter/build/ZeroMQ/src/ctx.cpp:60:10: fatal error: 'gnutls/gnutls.h' file not found
#include <gnutls/gnutls.h>
         ^~~~~~~~~~~~~~~~~
1 error generated.
make[5]: *** [CMakeFiles/objects.dir/src/ctx.cpp.o] Error 1
In file included from /Users/herzc/sources/cpp/SlicerJupyter/build/ZeroMQ/src/curve_client.cpp:36:
/Users/herzc/sources/cpp/SlicerJupyter/build/ZeroMQ/src/session_base.hpp:116:10: warning: 'process_conn_failed' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    void process_conn_failed ();
         ^
/Users/herzc/sources/cpp/SlicerJupyter/build/ZeroMQ/src/object.hpp:149:18: note: overridden virtual function is here
    virtual void process_conn_failed ();
                 ^
In file included from /Users/herzc/sources/cpp/SlicerJupyter/build/ZeroMQ/src/curve_mechanism_base.cpp:35:
/Users/herzc/sources/cpp/SlicerJupyter/build/ZeroMQ/src/session_base.hpp:116:10: warning: 'process_conn_failed' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    void process_conn_failed ();
         ^
/Users/herzc/sources/cpp/SlicerJupyter/build/ZeroMQ/src/object.hpp:149:18: note: overridden virtual function is here
    virtual void process_conn_failed ();

I updated to v.4.3.5 and it compiled.

from slicerjupyter.

che85 avatar che85 commented on September 5, 2024

When running SlicerWithSlicerJupyter directly from the inner-build directory, everything seems to be working and SlicerJupyter can be used.

from slicerjupyter.

lassoan avatar lassoan commented on September 5, 2024

@che85 Thanks for the information, I've updated the build scripts to use ZeroMQ 4.3.5 - 724809a

When running SlicerWithSlicerJupyter directly from the inner-build directory, everything seems to be working and SlicerJupyter can be used.

Thanks for the information, this is good to know.

After installing SlicerJupyter from the ExtensionManager and restarting Slicer, Slicer crashes at bootup time

Does this still occur with the latest Slicer Preview Release?

from slicerjupyter.

che85 avatar che85 commented on September 5, 2024

@lassoan I just checked with the most recent preview and it is still crashing.

from slicerjupyter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.