×

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

Bi-monthly release with minor bug fixes and improvements

[SOLVED] urgent help needed "Solver failed. Try again" Osx - offline

  • Posts: 2255
  • Thank you received: 223
Hello all,

I have one clear night left forecasted and I can not miss it.
Having a problem with the offline solver, Mac user here (latest 3.1.0 kstars)

Could someone tell me please what's going on?
Last edit: 5 years 1 week ago by Gonzothegreat.
5 years 2 weeks ago #37581

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

  • Posts: 2255
  • Thank you received: 223
  • Posts: 2255
  • Thank you received: 223
  • Posts: 2255
  • Thank you received: 223
Stephanes-MacBook-Air:bin stephane$ pip3 list
Package Version

numpy 1.16.2
pip 19.0.3
pyfits 3.5
setuptools 40.8.0
wheel 0.33.1
Stephanes-MacBook-Air:bin stephane$
5 years 2 weeks ago #37584

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

  • Posts: 2255
  • Thank you received: 223
solved

Stephanes-MacBook-Air:Downloads stephane$ /Applications/kstars.app/Contents/MacOS/astrometry/bin/solve-field -O --no-plots --no-verify --resort --downsample 2 ~/Downloads/tet.fits
Reading input file 1 of 1: "/Users/stephane/Downloads/tet.fits"...
Extracting sources...
Downsampling by 2...
simplexy: found 217 sources.
/Library/Python/2.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
/Library/Python/2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
PyFITSDeprecationWarning) # noqa
Solving...
Reading file "/Users/stephane/Downloads/tet.axy"...
Field 1 did not solve (index index-4214.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-4214.fits, field objects 11-20).
log-odds ratio 208.441 (3.34806e+90), 30 match, 0 conflict, 89 distractors, 36 index.
RA,Dec = (17.5927,87.7719), pixel scale 3.09922 arcsec/pix.
Hit/miss: Hit/miss: ++++++++++++-+--++++++-++--+++--+-+
+
+
+
Field 1: solved with index index-4208.fits.
Field 1 solved: writing to file /Users/stephane/Downloads/tet.solved to indicate this.
Field: /Users/stephane/Downloads/tet.fits
Field center: (RA,Dec) = (17.587121, 87.771751) deg.
Field center: (RA H:M:S, Dec D:M:S) = (01:10:20.909, +87:46:18.302).
Field size: 71.8397 x 53.701 arcminutes
Field rotation angle: up is 147.008 degrees E of N
Field parity: neg
Creating new FITS file "/Users/stephane/Downloads/tet.new"...

Stephanes-MacBook-Air:Downloads stephane$



I had to first install pip outside brew
pip.pypa.io/en/stable/installing/#installing-with-get-pip-py
then pip install pyfits
then brew install netpbm
5 years 2 weeks ago #37587

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

  • Posts: 2255
  • Thank you received: 223
It's way to late now to open up the observatory, I hope that tomorrow forecast will stand....
5 years 2 weeks ago #37588

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

  • Posts: 1957
  • Thank you received: 420
Good job on solving the issue. What, in the end, was the solution for you? It may help others if they encounter similar problems...


Clear skies, Wouter
5 years 2 weeks ago #37597

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

  • Posts: 2255
  • Thank you received: 223

pyfits and netpbm were missing
5 years 2 weeks ago #37603

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

  • Posts: 86
  • Thank you received: 9
Seems like I'm having the same issue with Astrometry. I have home-brew installed and with it, I installed netpbm but I'm so confused about pip! I downloaded the get-pip.py file and tried to run curl bootstrap.pypa.io/get-pip.py -o get-pip.py in MacTerminal (I assume this is where I run it?) then I do python get-pip.py and it acts like it's going to install but then tells me this...

Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/pip'
Consider using the `--user` option or check the permissions.

I'm not very savvy on code and I'm always confused as to where to run commands since all these package installers never give detailed instructions. Also, how did you find out that you were missing pyfits and netpbm?? How can I see what I'm missing?
5 years 1 week ago #37621

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

  • Posts: 2255
  • Thank you received: 223
You would need to run:
sudo python get-pip.py
and use sudo for the rest of the install
5 years 1 week ago #37622

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

  • Posts: 2255
  • Thank you received: 223
I have removed the [SOLVED] as it is not solved in Ekos.
All I was able to solved is the command line resolver and not Ekos.

I am aware that Rob has a new version of OSX Ekos, but I can not compile it on this laptop nor have the time.
Will have to use the online astrometry this evening.
5 years 1 week ago #37624

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

  • Posts: 2255
  • Thank you received: 223
I have received the following message from Rob:
go into the KStars app bundle, into the folder MacOS/python/bin/ Please make sure that python is called python2.7 not python. if it has the other name, rename the file.

I have done as instructed and the internal solver now works fine.
The following user(s) said Thank You: Wes Creech
5 years 1 week ago #37626

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

Time to create page: 0.396 seconds