×
INDI Library v1.8.5 Released (19 Apr 2020)

April 2020 release of INDI Library v1.8.5 introduces new drivers while providing fixes and improvements to existing devices and core framework.

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

1 year 1 month ago
jerry
Gold Boarder
Gold Boarder
Posts: 180
Karma: 1
More
Test on KStars 3.2.3 on MAC -> missing astrometry.net binaries #39955

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.

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 on Celestron CGX
ZWO ASI 224MC or QHY-5L-II-M for guiding
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um pixel size
Triad Ultra Quad Band Narrow Filter
1) Kstars --> Odroid-N2 Ubuntu-mate 20.04
2) StellarMate on RPI4 8G
3) KStars on Astroberry RPI3.

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

1 year 1 month ago
wvreeven
Platinum Boarder
Platinum Boarder
Posts: 1541
Karma: 7
More
Test on KStars 3.2.3 on MAC -> missing astrometry.net binaries #39956
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!

ASI6200 and filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro
ASI1600MM-Pro Cooled and filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R

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

1 year 3 weeks ago
rnlucas
Fresh Boarder
Fresh Boarder
Posts: 4
More
Test on KStars 3.2.3 on MAC -> missing astrometry.net binaries #40214
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?

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

1 year 3 weeks ago
rnlucas
Fresh Boarder
Fresh Boarder
Posts: 4
More
Test on KStars 3.2.3 on MAC -> missing astrometry.net binaries #40215
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

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

1 year 3 weeks ago
rlancaste
Platinum Boarder
Platinum Boarder
Posts: 2263
Karma: 22
More
Test on KStars 3.2.3 on MAC -> missing astrometry.net binaries #40216
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.

Attachments:
The following user(s) said Thank You rishigarrod, rnlucas

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

1 year 2 weeks ago
rnlucas
Fresh Boarder
Fresh Boarder
Posts: 4
More
Test on KStars 3.2.3 on MAC -> missing astrometry.net binaries #40253
Thanks, that seems to work.

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

1 year 2 weeks ago
rlancaste
Platinum Boarder
Platinum Boarder
Posts: 2263
Karma: 22
More
Test on KStars 3.2.3 on MAC -> missing astrometry.net binaries #40255
Yes I figured that it would. It would be preferable for us to use stuff inside the app bundle though so that folks don’t need to install so much. That is the goal. But I don’t want that goal to stop you from doing astronomy :-). So until I can see why it failed with that error on a newer operating system, this is a good alternative.

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

1 year 1 day ago
mworion
Expert Boarder
Expert Boarder
Posts: 86
More
Topic Author
Test on KStars 3.2.3 on MAC -> missing astrometry.net binaries #40776
Just one question, I tried 3.3.1 DMG, solver does not work (as expected with astrometry.net in the package, but the astrometry binaries are still in the package. Does this make sense to add the broken ones. As I like to use the bundle solution for Astrometry.net also for other purpose on MAC I'm very interested to see this work without and brew installation. So I check the presence of the binaries. But currently I do not check if the could work or not.

Michel

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

11 months 4 weeks ago
rlancaste
Platinum Boarder
Platinum Boarder
Posts: 2263
Karma: 22
More
Test on KStars 3.2.3 on MAC -> missing astrometry.net binaries #40849
So in the latest version of KStars, yes the astrometry binaries and Netpbm are still in the package. They are NOT broken. They should work just fine on most systems (with a few notable exceptions that I don’t yet understand). The main issue for astrometry on macs is python. Currently the solution is to install python 3 and astropy with homebrew or some other way (you can use the installer I wrote and put into kstars) and then the embedded astrometry should work great. If it does not , then install astrometry.net with homebrew.

The issue was that while python is installed by default on macs, it is an older version of python 2 that requires administrator permissions to install packages. Python 3 is desirable for astrometry today. The best way to install that seems to be homebrew. Awhile back I had managed to get a stripped down version of python built on an older computer embedded in the app bundle, which was working for awhile. But building python 3 on a new computer did not work on all other systems properly and there seems to really be no correct way to package it up as far as I can tell. If somebody else can get that working be my guest. I worked for several long days trying to do it and failed. It would not be a good solution to build it on an ancient computer because that is not sustainable.

Homebrew has a very good cross platform way to get python 3 up and running on all systems and they also do a good job with astrometry too.

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

11 months 4 weeks ago
mworion
Expert Boarder
Expert Boarder
Posts: 86
More
Topic Author
Test on KStars 3.2.3 on MAC -> missing astrometry.net binaries #40860
Hi,

did you have a look to www.cloudmakers.eu/astrometry/ as they also do actual compiling on actual system. To explain: the binaries should be ok, but there are some problems with the virtual environment, which leads to problems. If you are interested, please tell me, which tests I have to make, to ensure best analyst for solution.

Michel

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

11 months 4 weeks ago
rlancaste
Platinum Boarder
Platinum Boarder
Posts: 2263
Karma: 22
More
Test on KStars 3.2.3 on MAC -> missing astrometry.net binaries #40862
I do not understand what you mean. There is no virtual environment. Astrometry.net natively compiles on Mac computers, my computer is an actual Mac OS X computer running Mac OS Mojave, the latest version. I compile it on my system and it works perfectly on my computer. No virtual environment needed

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

10 months 1 week ago
calberts
Expert Boarder
Expert Boarder
Posts: 106
More
Test on KStars 3.2.3 on MAC -> missing astrometry.net binaries #42430
Hoi i have still the issue on my mac i installed, brew install astrometry-net, i also executed the python button bu i dont get it work offline.
i took over all the settings from the screen shot

2019-08-24T11:08:04 Error starting solver: execve: No such file or directory
2019-08-24T11:08:04 Starting solver...
2019-08-24T11:08:04 Solver iteration #1
2019-08-24T11:08:04 Using solver options: -O --no-plots --no-verify --resort --downsample 4 -3 78.9328 -4 34.3962 -5 15 -L 0.935076 -H 1.14287 -u app


2019-08-24T11:10:16 Slewing to target coordinates: RA (05h 16m 46s) DEC ( 34° 26' 56").
2019-08-24T11:10:16 Solution coordinates: RA (05h 16m 46s) DEC ( 34° 26' 56") Telescope Coordinates: RA (12h 38m 55s) DEC ( 90° 00' 00")
2019-08-24T11:10:16 WCS information updated. Images captured from this point forward shall have valid WCS.
2019-08-24T11:10:16 Solver completed in 85 seconds.
2019-08-24T11:09:11 Upload complete. Waiting for astrometry.net solver to complete...
2019-08-24T11:08:52 Uploading file...
will on line is working

The index files ar still there, in the past it worked i only upgrade kstars 3.3.4 i think i was comming from 2.9.8
running on macbook pro mojave 10.14.6

Hoop you can help me out let me know what to try, in this case i did load and slew Chris

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

Time to create page: 0.799 seconds