https://bugs.kde.org/show_bug.cgi?id=405437

--- Comment #21 from Andre Kovacs <andre.kov...@gmail.com> ---
I forgot to check the actual name of the dylib inside
/usr/local/Cellar/cfitsio/3.450_1/lib and it's really libcfitsio.7.3.45.dylib,
with a link named libcfitsio.7.dylib.
I copied this link named libcfitsio.7.dylib into the
kstars.app/Contents/MacOS/Frameworks, together with wcslib 6.2
(libwcs.6.2.dylib), and had to install also python3 and bumpy via homebrew.

Now, the none of the error codes 4 or 6 occurred, but I got a Python error with
return code 1:
"/Applications/Astronomia/kstars.app/Contents/MacOS/astrometry/bin/solve-field
-O --no-plots --no-verify --resort --downsample 2 -L 32.5717 -H 53.9383 -u aw
-3 17.3038 -4 -55.1392 -5 30 --config
/Applications/Astronomia/kstars.app/Contents/MacOS/astrometry/bin/astrometry.cfg
-W ./solution.wcs ./test.fits
Reading input file 1 of 1: "./test.fits"...
Extracting sources...
Downsampling by 2...
simplexy: found 1474 sources.
Traceback (most recent call last):
  File
"/Applications/Astronomia/kstars.app/Contents/MacOS/python/bin/site-packages/numpy/core/__init__.py",
line 16, in <module>
    from . import multiarray
  File
"/Applications/Astronomia/kstars.app/Contents/MacOS/python/bin/site-packages/numpy/core/multiarray.py",
line 12, in <module>
    from . import overrides
  File
"/Applications/Astronomia/kstars.app/Contents/MacOS/python/bin/site-packages/numpy/core/overrides.py",
line 6, in <module>
    from numpy.core._multiarray_umath import (
ImportError:
dlopen(/Applications/Astronomia/kstars.app/Contents/MacOS/python/bin/site-packages/numpy/core/_multiarray_umath.so,
2): Symbol not found: _PyBuffer_Type
  Referenced from:
/Applications/Astronomia/kstars.app/Contents/MacOS/python/bin/site-packages/numpy/core/_multiarray_umath.so
  Expected in: flat namespace
 in
/Applications/Astronomia/kstars.app/Contents/MacOS/python/bin/site-packages/numpy/core/_multiarray_umath.so

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File
"/Applications/Astronomia/kstars.app/Contents/MacOS/astrometry/bin/removelines",
line 14, in <module>
    from astrometry.util.removelines import main
  File
"/usr/local/Cellar/astrometry-net/0.76_2/libexec/lib/python3.7/site-packages/astrometry/util/removelines.py",
line 10, in <module>
    import numpy as np
  File
"/Applications/Astronomia/kstars.app/Contents/MacOS/python/bin/site-packages/numpy/__init__.py",
line 142, in <module>
    from . import core
  File
"/Applications/Astronomia/kstars.app/Contents/MacOS/python/bin/site-packages/numpy/core/__init__.py",
line 47, in <module>
    raise ImportError(msg)
ImportError: 

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

Importing the multiarray numpy extension module failed.  Most
likely you are trying to import a failed build of numpy.
Here is how to proceed:
- If you're working with a numpy git repository, try `git clean -xdf`
  (removes all files not under version control) and rebuild numpy.
- If you are simply trying to use the numpy version that you have installed:
  your installation is broken - please reinstall numpy.
- If you have already reinstalled and that did not fix the problem, then:
  1. Check that you are using the Python you expect (you're using
/usr/local/Cellar/astrometry-net/0.76_2/libexec/bin/python3),
     and that you have no directories in your PATH or PYTHONPATH that can
     interfere with the Python and numpy versions you're trying to use.
  2. If (1) looks fine, you can open a new issue at
     https://github.com/numpy/numpy/issues.  Please include details on:
     - how you installed Python
     - how you installed numpy
     - your operating system
     - whether or not you have multiple versions of Python installed
     - if you built from source, your compiler versions and ideally a build log

     Note: this error has many possible causes, so please don't comment on
     an existing issue about this - open a new one instead.

Original error was:
dlopen(/Applications/Astronomia/kstars.app/Contents/MacOS/python/bin/site-packages/numpy/core/_multiarray_umath.so,
2): Symbol not found: _PyBuffer_Type
  Referenced from:
/Applications/Astronomia/kstars.app/Contents/MacOS/python/bin/site-packages/numpy/core/_multiarray_umath.so
  Expected in: flat namespace
 in
/Applications/Astronomia/kstars.app/Contents/MacOS/python/bin/site-packages/numpy/core/_multiarray_umath.so

augment-xylist.c:589:backtick Failed to run command:
/Applications/Astronomia/kstars.app/Contents/MacOS/astrometry/bin/removelines
/tmp/tmp.xyls.caV4ak /tmp/tmp.removelines.CLPZ8N
 ioutils.c:567:run_command_get_outputs Command failed: return value 1"

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to