Page 1 of 3

OSX Monterrey server error - Jamovi 2.6.0

Posted: Tue Aug 27, 2024 1:19 am
by mariob
Image

Hello everyone,

I love jamovi as much as anyone and it's been super convenient for years now. I had this issue in the past and my bypass was to use an older version. However, I'm missing an increasing number of features and modules and if I want to make use of them I need to upgrade.

Using an Intel based OSX 12.3 and jamovi 2.6.0 (last stable version ATOW)
Unfortunately, the jamovi server could not be started, and jamovi must now close. We regret the inconvenience. More information is available by visiting www.jamovi.org/troubleshooting.html
Not like the link is really helpful, to be honest...

The error log from Terminal goes as follows:

Code: Select all

jaTraceback (most recent call last):
  File "/Applications/jamovi.app/Contents/Resources/lib/python3.11/numpy/_core/__init__.py", line 23, in <module>

    from . import multiarray
  File "/Applications/jamovi.app/Contents/Resources/lib/python3.11/numpy/_core/multiarray.py", line 10, in <module>
    from . import overrides
  File "/Applications/jamovi.app/Contents/Resources/lib/python3.11/numpy/_core/overrides.py", line 8, in <module>
    from numpy._core._multiarray_umath import (
ImportError: dlopen(/Applications/jamovi.app/Contents/Resources/lib/python3.11/numpy/_core/_multiarray_umath.cpython-311-darwin.so, 0x0002): Symbol not found: _cblas_caxpy$NEWLAPACK$ILP64
  Referenced from: /Applications/jamovi.app/Contents/Resources/lib/python3.11/numpy/_core/_multiarray_umath.cpython-311-darwin.so
  Expected in: /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Applications/jamovi.app/Contents/Resources/lib/python3.11/numpy/__init__.py", line 114, in <module>
    from numpy.__config__ import show as show_config
  File "/Applications/jamovi.app/Contents/Resources/lib/python3.11/numpy/__config__.py", line 4, in <module>
    from numpy._core._multiarray_umath import (
  File "/Applications/jamovi.app/Contents/Resources/lib/python3.11/numpy/_core/__init__.py", line 49, in <module>
    raise ImportError(msg)
ImportError: 

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.

We have compiled some common reasons and troubleshooting tips at:

    https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

  * The Python version is: Python3.11 from "/Applications/jamovi.app/Contents/MacOS/python"
  * The NumPy version is: "2.1.0"

and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.

Original error was: dlopen(/Applications/jamovi.app/Contents/Resources/lib/python3.11/numpy/_core/_multiarray_umath.cpython-311-darwin.so, 0x0002): Symbol not found: _cblas_caxpy$NEWLAPACK$ILP64
  Referenced from: /Applications/jamovi.app/Contents/Resources/lib/python3.11/numpy/_core/_multiarray_umath.cpython-311-darwin.so
  Expected in: /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/Applications/jamovi.app/Contents/Resources/jamovi/server/jamovi/server/__main__.py", line 7, in <module>
    from .server import Server
  File "/Applications/jamovi.app/Contents/Resources/jamovi/server/jamovi/server/server.py", line 12, in <module>
    from .clientconnection import ClientConnection
  File "/Applications/jamovi.app/Contents/Resources/jamovi/server/jamovi/server/clientconnection.py", line 5, in <module>
    from .session import NoSuchInstanceException
  File "/Applications/jamovi.app/Contents/Resources/jamovi/server/jamovi/server/session.py", line 15, in <module>
    from .instance import Instance
  File "/Applications/jamovi.app/Contents/Resources/jamovi/server/jamovi/server/instance.py", line 19, in <module>
    from .instancemodel import InstanceModel
  File "/Applications/jamovi.app/Contents/Resources/jamovi/server/jamovi/server/instancemodel.py", line 14, in <module>
    from .transform import Transform
  File "/Applications/jamovi.app/Contents/Resources/jamovi/server/jamovi/server/transform.py", line 6, in <module>
    from .compute import Parser
  File "/Applications/jamovi.app/Contents/Resources/jamovi/server/jamovi/server/compute/__init__.py", line 13, in <module>
    from .transmogrifier import Transmogrifier
  File "/Applications/jamovi.app/Contents/Resources/jamovi/server/jamovi/server/compute/transmogrifier.py", line 7, in <module>
    from .nodes import Call
  File "/Applications/jamovi.app/Contents/Resources/jamovi/server/jamovi/server/compute/nodes.py", line 19, in <module>
    from . import functions
  File "/Applications/jamovi.app/Contents/Resources/jamovi/server/jamovi/server/compute/functions.py", line 9, in <module>
    from numpy import quantile
  File "/Applications/jamovi.app/Contents/Resources/lib/python3.11/numpy/__init__.py", line 119, in <module>
    raise ImportError(msg) from e
ImportError: Error importing numpy: you should not try to import numpy from
        its source directory; please exit the numpy source tree, and relaunch
        your python interpreter from there.

Failed to start (1)
I know this was rare in Windows and even rarer in OSX. I will have to use in my research less friendly applications, such as R Studio... but I'd really want to have jamovi up my sleeve for quick and more friendly analysis, or even for the not so quick.

Re: OSX Monterrey server error - Jamovi 2.6.0

Posted: Tue Aug 27, 2024 4:38 am
by jonathon
hi,

thanks for this bug report. the error log from the terminal is exactly what we needed.

i've pushed out a 2.6.2 which i think will address this issue.

can you let me know how that goes?

with thanks

jonathon

Re: OSX Monterrey server error - Jamovi 2.6.0

Posted: Tue Aug 27, 2024 3:30 pm
by mariob
jonathon wrote: Tue Aug 27, 2024 4:38 am can you let me know how that goes?
Working flawlessly jonathon, what a legend.

For the very few that cannot find the link to the most up-to-date version ATOW for MacOSX x64 is: https://www.jamovi.org/downloads/jamovi ... os-x64.dmg

Re: OSX Monterrey server error - Jamovi 2.6.0

Posted: Sat Feb 22, 2025 5:14 am
by Tlight
Ok, I just downloaded 2.6.25 on my M1 Airbook with Monterey and had the same problem as mario (Osx 12.7.4, Python 3.13, R 4.2).

I reverted to 2.3.28 and the app runs just fine. I'm guessing R is too old, but the problem seems to be with numpy, not R. What gives?

I can try again and try to get the error log, if that would help. Just let me know. Sorry to be trouble.

Re: OSX Monterrey server error - Jamovi 2.6.0

Posted: Sat Feb 22, 2025 6:19 am
by jonathon
hi,

can you share the log? i assume you're using the 'apple silicon' version.

jonathon

Re: OSX Monterrey server error - Jamovi 2.6.0

Posted: Sat Feb 22, 2025 7:07 pm
by Tlight
You assume correctly; I'm trying to open the arm64 version of 2.6.25. I haven't tried the intel version yet.

Now things get curious. Sure thing, the app is crashing the same way it did for mario. Problem = this isn't showing up in my crash logs in Console. Everything there is grayed out. Result = I can't send you anything but the launchd logs and I know those are pretty useless. They don't show anything like a crash for jamovi; just an endless list of service stubs created.

I'm not sure why this is happening; the app is crashing, no question, and it appears o be the same scenario as mario's..

Update: just downloaded 2.6.25 for intel and it opens up and works (apparently) just fine. Let's hear it for Rosetta. Sooooo … I guess I'll stick with the Intel version and save us a lot of hassle.

Re: OSX Monterrey server error - Jamovi 2.6.0

Posted: Sun Feb 23, 2025 12:13 am
by jonathon
i would still be curious about the output from the following command from the arm64 version:

/Applications/jamovi.app/Contents/MacOS/jamovi

jonathon

Re: OSX Monterrey server error - Jamovi 2.6.0

Posted: Sun Feb 23, 2025 3:45 am
by Tlight
And this would be issued in Terminal, I suppose? Sorry to be so dense, but I never work with the system if I can help it.

Re: OSX Monterrey server error - Jamovi 2.6.0

Posted: Sun Feb 23, 2025 11:08 pm
by jonathon
exactly. this is the sort of output we're expecting, but hopefully yours will have very clear errors.
Screenshot 2025-02-24 at 10.07.58.png
Screenshot 2025-02-24 at 10.07.58.png (106.54 KiB) Viewed 73249 times

Re: OSX Monterrey server error - Jamovi 2.6.0

Posted: Mon Feb 24, 2025 4:03 am
by Tlight
Ok, I:

1. Called up the dmg for 2.25.6 arm64 and reloaded the application.

2. Tried to get the app to boot and got the mario result.

3. Called up the Terminal and entered Application/jamovi.app/Contents/MacOS/jamovi 2. That's the name the os gave the arm64 version. I also tried using jamovi alone, as directed.

4. Result, both times: zsh: no such file or directory: Applications/jamovi.app/Contents/MacOS/jamovi
(base)
tlightcap1@MacBook-Air ~ %

So I suppose the log won't show up for some reason that I can't figure out. Thanks for trying to make things work and I'll go back to the 2.25.6 Rosetta version.