jupyter-xeus / xeus-octave

Jupyter kernel for GNU Octave
https://xeus-octave.readthedocs.io/
GNU General Public License v3.0
57 stars 10 forks source link

Octave kernel crashing on OS X #109

Open julianrendell opened 1 year ago

julianrendell commented 1 year ago

Description

Inside jupyter lab, create a simple Octave notebook, and enter any command, eg 2+2. The terminal log shows:

[I 2023-08-28 17:46:00.769 ServerApp] Kernel started: feceef8a-1379-4d2e-9138-9f37a47ebd7d
[I 2023-08-28 17:46:03.746 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (1/5), new random ports
[I 2023-08-28 17:46:06.767 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (2/5), new random ports
[I 2023-08-28 17:46:09.795 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (3/5), new random ports
[I 2023-08-28 17:46:12.822 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (4/5), new random ports
[I 2023-08-28 17:46:15.843 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (5/5), new random ports
[W 2023-08-28 17:46:18.873 ServerApp] AsyncIOLoopKernelRestarter: restart failed

No output is shown in Jupyter Lab. Jupyter Lab indicates the kernel is disconnected.

What I Did

I installed mamba via home-brew.

I then installed xeus-octave as per the instructions, and activated the environment. (Note: I called my environment octave.)

I also tried running /usr/local/Caskroom/mambaforge/base/envs/octave/bin/octave-cli from the same terminal and get the following error:

fish: Job 1, '/usr/local/Caskroom/mambaforge/…' terminated by signal SIGSEGV (Address boundary error)

The version of octave is 7.3.0.

I was surprised that the packages installed by mamba included several x-org libraries; is an X-Org install of X11 required?

Thanks in advance for help to get this working!