×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

[SOLVED] Astrometry Solver crashed on 3.2.0 OSX

  • Posts: 2255
  • Thank you received: 223
Last edit: 5 years 7 hours ago by Gonzothegreat.
5 years 7 hours ago #38021
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
Same solve-field works fine my Macbook air running Mojave 10.14.4
5 years 7 hours ago #38027

Please Log in or Create an account to join the conversation.

Works OK here....

4 years 11 months ago #38040
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
It is strange, I don't get it why it's crashing. Not even attempting to start solving, straight to crash.
4 years 11 months ago #38041

Please Log in or Create an account to join the conversation.

Starting the same exact command from terminal yields any more insight?
4 years 11 months ago #38042

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
From command line:
Stephanes-Mac-mini:Light heidenrod$ /Applications/kstars.app/Contents/MacOS/astrometry/bin/solve-field  -c /Applications/kstars.app/Contents/MacOS/astrometry/bin/astrometry.cfg NGC.fits
Reading input file 1 of 1: "NGC.fits"...
Illegal instruction: 4
Stephanes-Mac-mini:Light heidenrod$
4 years 11 months ago #38044

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
I'm going to compile kstars on my machine and see how it goes.
4 years 11 months ago #38046

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
It is now fixed, I have compiled 3.2.0 on my machine (one issue is stopping to complete the build, sent an email to Rob about it), and used the newly compiled solve-field.

new one:
Stephanes-Mac-mini:Light heidenrod$ /Users/heidenrod/AstroRoot/kstars-craft/astrometry/bin/solve-field -O --no-plots --no-verify --resort --downsample 2 horizontal.jpg
Reading input file 1 of 1: "horizontal.jpg"...
jpegtopnm: WRITING PPM FILE
Read file stdin: 2000 x 1338 pixels x 1 color(s); maxval 255
Using 8-bit output
Extracting sources...
Downsampling by 2...
simplexy: found 673 sources.
/usr/local/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa
Reading sort column "FLUX"
Sorting sort column
mmapping input file
Copying table header.
Writing row 0
Done
/usr/local/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa
Solving...
Reading file "./horizontal.axy"...
Field 1 did not solve (index index-4214.fits, field objects 1-10).
Field 1 did not solve (index index-4210.fits, field objects 1-10).
Field 1 did not solve (index index-4209.fits, field objects 1-10).
Field 1 did not solve (index index-4208.fits, field objects 1-10).
Field 1 did not solve (index index-4207-11.fits, field objects 1-10).
Field 1 did not solve (index index-4207-10.fits, field objects 1-10).
Field 1 did not solve (index index-4207-09.fits, field objects 1-10).
Field 1 did not solve (index index-4207-08.fits, field objects 1-10).
Field 1 did not solve (index index-4207-07.fits, field objects 1-10).
Field 1 did not solve (index index-4207-06.fits, field objects 1-10).
Field 1 did not solve (index index-4207-05.fits, field objects 1-10).
Field 1 did not solve (index index-4207-04.fits, field objects 1-10).
Field 1 did not solve (index index-4207-03.fits, field objects 1-10).
Field 1 did not solve (index index-4207-02.fits, field objects 1-10).
Field 1 did not solve (index index-4207-01.fits, field objects 1-10).
Field 1 did not solve (index index-4207-00.fits, field objects 1-10).
Field 1 did not solve (index index-4110.fits, field objects 1-10).
Field 1 did not solve (index index-4109.fits, field objects 1-10).
Field 1 did not solve (index index-4108.fits, field objects 1-10).
Field 1 did not solve (index index-4107.fits, field objects 1-10).
  log-odds ratio 303.36 (5.59218e+131), 74 match, 0 conflict, 173 distractors, 144 index.
  RA,Dec = (18.3882,87.5423), pixel scale 35.0841 arcsec/pix.
  Hit/miss:   Hit/miss: +++-++++++--+-++++++-+++++-+-++----+++++-++--+-----+-+++-+-------+--+-+-++++--+-----+----+--+-+++---
Field 1: solved with index index-4214.fits.
Field 1 solved: writing to file ./horizontal.solved to indicate this.
Field: horizontal.jpg
Field center: (RA,Dec) = (18.246668, 87.546060) deg.
Field center: (RA H:M:S, Dec D:M:S) = (01:12:59.200, +87:32:45.815).
Field size: 19.3468 x 13.002 degrees
Field rotation angle: up is -79.9639 degrees E of N
Field parity: neg
Creating new FITS file "./horizontal.new"...
 
Stephanes-Mac-mini:Light heidenrod$


Old one (from downloaded 3.2.0 DMG):
Stephanes-Mac-mini:Light heidenrod$ /Applications/kstars.app/Contents/MacOS/astrometry/bin/solve-field -O --no-plots --no-verify --resort --downsample 2 horizontal.jpg
Reading input file 1 of 1: "horizontal.jpg"...
Illegal instruction: 4
Stephanes-Mac-mini:Light heidenrod$ jpegtopnm: WRITING PPM FILE
close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr
 
Stephanes-Mac-mini:Light heidenrod$
4 years 11 months ago #38067

Please Log in or Create an account to join the conversation.

Great! was this build on high sierra? btw, do you issues with planet positions? this was another bug confirmed with the Mac version and Robert is still checking it out.. it's the first time it happens so quite odd.
4 years 11 months ago #38255

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
Yes I build on High Sierra, I have not used Xplanet.
I am aware that Rob has a Dbus recipe issue, which I have encountered while building. He's on holidays at the moment, I'll work with him once he's back.
4 years 11 months ago #38259

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0
I'm having exactly the same issue with Kstars v3.2.3 on a MacMini running Mojave (latest version). Is there any fix available that doesn't require recompilation? Thanks.

From Terminal:

/Applications/kstars.app/Contents/MacOS/astrometry/bin/solve-field -O --no-plots --no-verify --resort --downsample 2 -3 302.86 -4 35.8056 -5 15 --config /Applications/kstars.app/Contents/MacOS/astrometry/bin/astrometry.cfg -W /private/var/folders/k7/18sgd_pd0fd_khn8l64crc0r0000gn/T/solution.wcs /Users/rnlucas/Documents/ekos/NGC6883/Light/NGC6883_Light_055.fits
Reading input file 1 of 1: "/Users/rnlucas/Documents/ekos/NGC6883/Light/NGC6883_Light_055.fits"...
Illegal instruction: 4
4 years 10 months ago #40147

Please Log in or Create an account to join the conversation.

  • Posts: 2877
  • Thank you received: 812
Try this build and see if this fixes that. Note that python will need to be installed on your system. This is explained in the post.

indilib.org/forum/ekos/5259-test-on-ksta....html?start=12#39917
4 years 10 months ago #40169

Please Log in or Create an account to join the conversation.

Time to create page: 0.573 seconds