×

INDI Library v1.9.9 Released (30 Nov 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

Test on KStars 3.2.3 on MAC -> missing astrometry.net binaries

  • Posts: 2826
  • Thank you received: 792
Ok, I worked for many hours during the last couple of days on a better solution. I think I have it. I have set up an installer button and put it into the Astrometry configuration options for now. (I will see what others think about it, they might end up being moved somewhere else. But for right now, I would like to see if this new configuration and installer works. Please test this to make sure plate solving works correctly. Before you can use it, you MUST run the installer. There is no more embedded python. Please see my screenshot for details.



drive.google.com/open?id=1K3anbNAcsLC3ddy4UVYpMbcjYC60v8xl

Please test plate solving with your system, to be even more helpful, you might want to try removing astropy, pyfits, numpy, python, and/or homebrew to see how the installers work. Let me know how it goes.

Thanks,

Rob
The following user(s) said Thank You: Robert Lucas
3 years 6 months ago #39917
Attachments:

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

  • Posts: 1944
  • Thank you received: 419
Thanks very much for all the hard work Rob. Unfortunately, as a software developer working with Python, installing Python3 via Homebrew is not a workable solution for me since it conflicts with Anaconda. However, I'll try to solve this myself. I guess it means fiddling around with the PYTHON_PATH and PATH variables and installing the required python dependencies via Anaconda.


Thanks, Wouter
Wouter van Reeven

ASI6200MM and 7 slot 2" filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro
ASI1600MM-Pro Cooled and 5 slot 1.25" filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R
3 years 6 months ago #39933

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

  • Posts: 2826
  • Thank you received: 792
That’s not a problem, it just means you can’t run the installers. You can configure another version of python to work with this. Just make sure that there is a python or a python link in /usr/local/bin or /usr/bin and that either pyfits or astropy modules are installed for that python.
3 years 6 months ago #39949

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

  • Posts: 2826
  • Thank you received: 792
The installers that I made are meant for the typical user who just has the system python installed and no packages.
3 years 6 months ago #39950

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

  • Posts: 1944
  • Thank you received: 419
Thanks for the confirmation of my suspicions, Rob!
Wouter van Reeven

ASI6200MM and 7 slot 2" filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro
ASI1600MM-Pro Cooled and 5 slot 1.25" filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R
3 years 6 months ago #39951

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

  • Posts: 2826
  • Thank you received: 792
Let me know if you think we need to make the path to python configurable for folks like you so that when astrometry is run, the path to python can be in the PATH. Also, would you need the PYTHONPATH environment variable set too?
3 years 6 months ago #39953

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

  • Posts: 1944
  • Thank you received: 419
Thanks for the offer, Rob. I'll investigate and will try to make it work. As soon as I have, I'll let you know. It may take a while though since I'll be off until Monday.


Wouter
Wouter van Reeven

ASI6200MM and 7 slot 2" filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro
ASI1600MM-Pro Cooled and 5 slot 1.25" filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R
3 years 6 months ago #39954

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

  • Posts: 376
  • Thank you received: 55
I installed the 3.2.3 Test
My index file location had to be set in the Astrometry.cfg setup and after fixing a file permission error on ~/./Library/Application\ Support/Astrometry everything worked.

When doing Python Setup my system only had to install astropy.

Using the simulator, both solving and load and solve worked.

Thanks!
120 MM Skywatcher Esprit + Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube+PPBA
Nikon Z7 8256 x 5504 4.34 um. Triad Ultra Quad NB Filter
1) MeLE Quieter3C 8G Ubuntu-mate 22.04.1 2) Odroid-N2. 3) StellarMate RPI4 8G
The good, the bad, the ugly at sciencedowneast.no-ip.ca/zenphoto/
3 years 6 months ago #39955

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

  • Posts: 1944
  • Thank you received: 419
So, I gave it a go as well because despite my earlier fear it turned out that I already had python3 installed via Homebrew. So I, too, only needed to install astrometry. Once done everything worked as Jerry described. Many thanks Rob!
Wouter van Reeven

ASI6200MM and 7 slot 2" filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro
ASI1600MM-Pro Cooled and 5 slot 1.25" filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R
3 years 6 months ago #39956

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

  • Posts: 6
  • Thank you received: 0
Thank you for the test version of ksatrs. Unfortunately, the update did not solve the problem for me.

I ran into a problem running the python setup: it verified that home-brew was installed and attempted to instal python. After a short time, it put up a dialog saying: “Python installation failure”.

I opened a terminal window and attempted the installation per your instructions elsewhere in this thread. Home-brew claimed python was installed and up to date. I checked:

Robert-Lucass-Mac-Mini:~ rnlucas$ which python
/usr/bin/python
Robert-Lucass-Mac-Mini:~ rnlucas$ which python3
/usr/local/bin/python3
Robert-Lucass-Mac-Mini:~ rnlucas$ python3 -V
Python 3.7.3

After this, I retried the setup, and this time it appeared to complete normally.

Robert-Lucass-Mac-Mini:~ rnlucas$ pip install astropy
Requirement already satisfied: astropy in /usr/local/lib/python3.7/site-packages (3.2.1)
Requirement already satisfied: numpy>=1.13 in /usr/local/lib/python3.7/site-packages (from astropy) (1.16.4)


However, it still seems to fail in the same way (from Ekos):

2019-06-15T19:10:09 Solver failed. Try again.
2019-06-15T19:10:09 Error starting solver: Process crashed
2019-06-15T19:10:09 Reading input file 1 of 1: "/Users/rnlucas/Documents/ekos/NGC6883/Light/NGC6883_Light_054.fits"...
2019-06-15T19:10:09 /Applications/kstars.app/Contents/MacOS/astrometry/bin/solve-field -O --no-plots --no-verify --resort --downsample 2 -3 302.861 -4 35.8077 -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_054.fits
2019-06-15T19:10:09 Starting solver...
2019-06-15T19:10:09 export PYTHONPATH=/Applications/kstars.app/Contents/MacOS/python/bin/site-packages
2019-06-15T19:10:09 export PATH=/Applications/kstars.app/Contents/MacOS/netpbm/bin:/usr/local/opt/python/libexec/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
2019-06-15T19:10:09 Solver iteration #1
2019-06-15T19:10:09 Using solver options: -O --no-plots --no-verify --resort --downsample 2 -3 302.861 -4 35.8077 -5 15
2019-06-15T19:10:01 Capture aborted.
2019-06-15T19:09:56 Capturing image...
2019-06-15T19:09:48 Detected Astrometry.net version 0.76


From the command line:

Robert-Lucass-Mac-Mini:~ rnlucas$ /Applications/kstars.app/Contents/MacOS/astrometry/bin/solve-field -O --no-plots --no-verify --resort --downsample 2 -3 302.861 -4 35.8077 -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_054.fits
Reading input file 1 of 1: "/Users/rnlucas/Documents/ekos/NGC6883/Light/NGC6883_Light_054.fits"...
Illegal instruction: 4

I'm on macOS Mojave 10.14.5.

Ideas?
3 years 5 months ago #40214

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

  • Posts: 6
  • Thank you received: 0
Addendum to my earlier reply:

I tried "verbose" mode on solve-field and get:

Reading input file 1 of 1: "/Users/rnlucas/Documents/ekos/NGC6883/Light/NGC6883_Light_054.fits"...
Base: "/Users/rnlucas/Documents/ekos/NGC6883/Light/NGC6883_Light_054", basefile "NGC6883_Light_054.fits", basedir "/Users/rnlucas/Documents/ekos/NGC6883/Light", suffix "fits"
Checking if file "/Users/rnlucas/Documents/ekos/NGC6883/Light/NGC6883_Light_054.fits" ext 0 is xylist or image: Illegal instruction: 4
3 years 5 months ago #40215

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

  • Posts: 2826
  • Thank you received: 792
Robert Lucas,

An easy solution for you then would be to try running the home-brew version of astrometry until I get this resolved.:

1. At the command line run this command:

brew install astrometry-net

2. Inside the KStars astrometry options, select to use the homebrew solve field and wcsinfo. See the screenshot.

The following user(s) said Thank You: Rishi Garrod, Robert Lucas
3 years 5 months ago #40216
Attachments:

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

Time to create page: 1.810 seconds