Test on KStars 3.2.3 on MAC -> missing astrometry.net binaries #39844
For now if you want to get it working, since this is proving to be more difficult than I first thought.
The following commands will install homebrew, python3, Astropy, and numpy to your system.
The final command will delete my broken internal python.
Just type the commands into a terminal.
Plate solving in Kstars should work as expected.
I would still like to resolve this. I don't want users to have to do all this if possible.
Test on KStars 3.2.3 on MAC -> missing astrometry.net binaries #39845
I think your are right to be able to use astrometry.net without python. I use image2xy to extract the star positions to XY coordinates and then using solve-field with a limited set of options. With that you should be able to walk from a FITS file to a WCS header with solved coordinates. I will be able telling you the options this evening.
Test on KStars 3.2.3 on MAC -> missing astrometry.net binaries #39846
Well astrometry is written for python. It’s programs use python to call other routines and other programs and it uses python modules to complete its tasks. I tried a variety of things that should have worked. But even tasks that you think should not involve python, throw up python errors when you remove it.
Test on KStars 3.2.3 on MAC -> missing astrometry.net binaries #39874
had a look on the source of astrometry.net and agree. There is a mix of c and python and I have no clue how to separate this. So I'm with you and waiting the topics to be solved.
Many thanks for your work !
Test on KStars 3.2.3 on MAC -> missing astrometry.net binaries #39878
So I think I have a good idea now. I mightl go back to the way I had done this originally, with a series of buttons on a page in the startup wizard. The user can click them and install what is needed. I eventually abandoned this and embedded the minimal python installation that you saw previously because of issues and conflicts with different versions of python on different people's systems. It made it very hard to get the install scripts right. It proved for awhile to be easier to embed a python installation where I set everything up properly. But now that is broken since I cannot build an older version of python and embed it well without issues.But based on the work I was doing this weekend, I think I have some ideas on how to do a better job this time around.
Test on KStars 3.2.3 on MAC -> missing astrometry.net binaries #39917
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.
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.
Test on KStars 3.2.3 on MAC -> missing astrometry.net binaries #39933
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.
Wouter van Reeven
ASI6200 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
Test on KStars 3.2.3 on MAC -> missing astrometry.net binaries #39949
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.
Test on KStars 3.2.3 on MAC -> missing astrometry.net binaries #39953
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?