This attempt to solve a fits file fails... [all of these command line parameters were naively pasted from another post except for the target file]
/Applications/kstars.app/Contents/MacOS/astrometry/bin/solve-field -O --no-plots --no-verify --resort --downsample 2 -L 124.493 -H 206.158 -u aw -391.1501 -490 -530 --config /Applications/kstars.app/Contents/MacOS/astrometry/bin/astrometry.cfg /Volumes/Photo/Andromeda_2018-10-14/integration_DBE.fits
Reading input file 1 of 1: "/Volumes/Photo1/Andromeda_2018-10-14/integration_DBE.fits"...
Extracting sources...
This looks like a multi-color image: processing the first image plane only. (NAXIS=3)
Downsampling by 2...
simplexy: found 2380 sources.
Traceback (most recent call last):
File "/Applications/kstars.app/Contents/MacOS/astrometry/bin/removelines", line 15, in <module>
sys.exit(main())
File "/Applications/kstars.app/Contents/MacOS/astrometry/lib/python/astrometry/util/removelines.py", line 76, in main
cut=opt.cut, ext=opt.ext)
File "/Applications/kstars.app/Contents/MacOS/astrometry/lib/python/astrometry/util/removelines.py", line 38, in removelines
T = fits_table(infile, lower=False)
File "/Applications/kstars.app/Contents/MacOS/astrometry/lib/python/astrometry/util/fits.py", line 672, in fits_table
pf = pyfits.open(dataorfn, memmap=mmap)
AttributeError: 'NoPyfits' object has no attribute 'open'
augment-xylist.c:589:backtick Failed to run command: /Applications/kstars.app/Contents/MacOS/astrometry/bin/removelines /tmp/tmp.xyls.PrJxbZ /tmp/tmp.removelines.5Nh6rU
ioutils.c:567:run_command_get_outputs Command failed: return value 1
Hi,
So I'm still obviously doing something wrong, after exporting both paths?
export PATH=/Applications/kstars.app/Contents/MacOS/netpbm/bin:/Applications/kstars.app/Contents/MacOS/python/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
export PYTHONPATH=/Applications/kstars.app/Contents/MacOS/python/bin
/Applications/kstars.app/Contents/MacOS/astrometry/bin/solve-field -O --no-plots --no-verify --resort --downsample 2 -L 124.493 -H 206.158 -u aw -391.1501 -490 -530 --config /Applications/kstars.app/Contents/MacOS/astrometry/bin/astrometry.cfg /Volumes/Photo1/Andromeda_2018-10-14/integration_DBE.fits
Reading input file 1 of 1: "/Volumes/Photo1/Andromeda_2018-10-14/integration_DBE.fits"...
Extracting sources...
This looks like a multi-color image: processing the first image plane only. (NAXIS=3)
Downsampling by 2...
simplexy: found 2380 sources.
Traceback (most recent call last):
File "/Applications/kstars.app/Contents/MacOS/astrometry/bin/removelines", line 15, in <module>
sys.exit(main())
File "/Applications/kstars.app/Contents/MacOS/astrometry/lib/python/astrometry/util/removelines.py", line 76, in main
cut=opt.cut, ext=opt.ext)
File "/Applications/kstars.app/Contents/MacOS/astrometry/lib/python/astrometry/util/removelines.py", line 38, in removelines
T = fits_table(infile, lower=False)
File "/Applications/kstars.app/Contents/MacOS/astrometry/lib/python/astrometry/util/fits.py", line 672, in fits_table
pf = pyfits.open(dataorfn, memmap=mmap)
AttributeError: 'NoPyfits' object has no attribute 'open'
augment-xylist.c:589:backtick Failed to run command: /Applications/kstars.app/Contents/MacOS/astrometry/bin/removelines /tmp/tmp.xyls.pQjIF1 /tmp/tmp.removelines.HtBLJD
ioutils.c:567:run_command_get_outputs Command failed: return value 1
/Library/Python/2.7/site-packages/pyfits-3.5-py2.7-macosx-10.14-intel.egg/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
Did not solve, but that's probably a problem with my invocation/data.