×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Ekos on Mac OS X ?

  • Posts: 14
  • Thank you received: 2

Replied by Jordi Artigas on topic Ekos on Mac OS X ?

Hi again,

I'm trying to use internal Astromety solver inside Ekos, but it's always failing. If I use external solver it works fine. I'm using internal Ekos Simulators.

From inside Ekos I get this log:

2017-01-22T19:33:09.264 - DEBG - Alignment: "Capturing image..."
2017-01-22T19:33:11.288 - DEBG - Alignment: "Image received."
2017-01-22T19:33:11.302 - DEBG - Alignment: "Starting solver..."
2017-01-22T19:33:11.307 - DEBG - Alignment: "/Applications/kstars.app/Contents/MacOS/astrometry/bin/solve-field --no-verify --no-plots --resort --downsample 2 -O -L 17.39 -H 24.0257 -u aw -3 0.1875 -4 90 -5 30 -W /var/folders/_x/yd53fmss1x96gs83jbw0hph80000gn/T/solution.wcs /var/folders/_x/yd53fmss1x96gs83jbw0hph80000gn/T/fitsORC791"
2017-01-22T19:33:11.326 - DEBG - Alignment: "Reading input file 1 of 1: \"/var/folders/_x/yd53fmss1x96gs83jbw0hph80000gn/T/fitsORC791\"..."
2017-01-22T19:33:11.405 - DEBG - Alignment: "Solver failed. Try again."

If I run the same comand from the Teminal it returns this:

iMac-de-Jordi:Library jeam$ /Applications/kstars.app/Contents/MacOS/astrometry/bin/solve-field --no-verify --no-plots --resort --downsample 2 -O -L 17.39 -H 24.0257 -u aw -3 0.1875 -4 90 -5 30 -W /var/folders/_x/yd53fmss1x96gs83jbw0hph80000gn/T/solution.wcs /var/folders/_x/yd53fmss1x96gs83jbw0hph80000gn/T/fitsORC791
Reading input file 1 of 1: "/var/folders/_x/yd53fmss1x96gs83jbw0hph80000gn/T/fitsORC791"...
/bin/sh: pnmfile: command not found
augment-xylist.c:589:backtick Failed to run command: pnmfile /tmp/tmp.ppm.8LobBz
ioutils.c:563:run_command_get_outputs Command not found: pnmfile /tmp/tmp.ppm.8LobBz
iMac-de-Jordi:Library jeam$

I suppose that my system is missing some component, but I don't know which.

Any help it's wellcome.

Jeam
7 years 2 months ago #14015
The topic has been locked.
  • Posts: 2876
  • Thank you received: 809

Replied by Rob Lancaster on topic Ekos on Mac OS X ?

Yes it is. I believe it is missing pyfits Try this from the command line:

pip install pyfits

and if that doesn't work, either install pip, or the home-brew version of python which includes pip

Also note that you need netpbm which can also be installed via homebrew.
7 years 2 months ago #14017
The topic has been locked.
  • Posts: 14
  • Thank you received: 2

Replied by Jordi Artigas on topic Ekos on Mac OS X ?

It seems it is installed:

iMac-de-Jordi:Library jeam$ pip install pyfits
Requirement already satisfied: pyfits in /Library/Python/2.7/site-packages
Requirement already satisfied: numpy in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from pyfits)

How can I install netpbm via homebrew? Sorry I don't know what homebrew is?

Thanks!!!
7 years 2 months ago #14018
The topic has been locked.
  • Posts: 2876
  • Thank you received: 809

Replied by Rob Lancaster on topic Ekos on Mac OS X ?

I have been working really hard for the last couple of days and I think I am ready to put up a new DMG for you guys to try. It now includes a quick start guide, copyright information, a startup wizard, and the latest versions of all the software.

KSTARS NEW DMGKSTARS NEW DMG

I got rid of the annoying dialog boxes at startup and integrated that into a couple of pages of the already existing startup wizard. I also put some of the steps of configuration that I previously explained in the forum into the program and the Quickstart guide. Currently all of the features of the startup wizard are working except for the installers and checkboxes for netpbm, pyfits, and pip. I will need to revisit that part. It is pretty easy to do it from Terminal however.

Commands you need to type into terminal to do it manually:

ruby -e "$(curl -fsSL raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
brew install python
brew install netpbm
The following user(s) said Thank You: Jordi Artigas
7 years 2 months ago #14020
The topic has been locked.
  • Posts: 2876
  • Thank you received: 809

Replied by Rob Lancaster on topic Ekos on Mac OS X ?


ruby -e "$(curl -fsSL raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
brew install python
brew install netpbm
The following user(s) said Thank You: Jordi Artigas
7 years 2 months ago #14021
The topic has been locked.
  • Posts: 14
  • Thank you received: 2

Replied by Jordi Artigas on topic Ekos on Mac OS X ?

When I execute those commands I get this result:

iMac-de-Jordi:Library jeam$ ruby -e "$(curl -fsSL raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
iMac-de-Jordi:Library jeam$ brew install python
-bash: brew: command not found
iMac-de-Jordi:Library jeam$
iMac-de-Jordi:Library jeam$ brew install netpbm
-bash: brew: command not found
iMac-de-Jordi:Library jeam$

It seems that brew is not found.
7 years 2 months ago #14022
The topic has been locked.
  • Posts: 2876
  • Thank you received: 809

Replied by Rob Lancaster on topic Ekos on Mac OS X ?

You should see a place to enter your password after the first step

ruby -e "$(curl -fsSL raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null

==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> /usr/bin/sudo /bin/mkdir -p /Library/Caches/Homebrew
Password:
7 years 2 months ago #14023
The topic has been locked.
  • Posts: 2876
  • Thank you received: 809

Replied by Rob Lancaster on topic Ekos on Mac OS X ?

This is why I would like to get the installers working on the distribution version. They simplify these steps so much. But alas, my attempt to fix it today didn't work, so I need to figure it out. For now, installing home-brew and executing the two home-brew commands is actually necessary.
7 years 2 months ago #14024
The topic has been locked.
  • Posts: 486
  • Thank you received: 87

Replied by nMAC on topic Ekos on Mac OS X ?

Hi,

today I am having a real hard time trying to get autofocus to work.
It just doesn't work, always crashes KStars.
7 years 2 months ago #14025
The topic has been locked.
  • Posts: 14
  • Thank you received: 2

Replied by Jordi Artigas on topic Ekos on Mac OS X ?

I can't see this line in terminal: ==> /usr/bin/sudo /bin/mkdir -p /Library/Caches/Homebrew
And Password is not seen, neither.

I try to lunch ruby command with sudo but whith the same result.
7 years 2 months ago #14026
The topic has been locked.
  • Posts: 2876
  • Thank you received: 809

Replied by Rob Lancaster on topic Ekos on Mac OS X ?

The other thing I should probably say is that if you have already run my kstars program and you would like to try out the new dmg with the wizard, you will need to either delete or remove two folders so that it is like a fresh install. If you are like me and already have some nice index files in the astrometry folder and you have all kinds of important data like gsc, the tycho database, and others in your data directory. Just rename the folders maybe astrometry_backup and kstars_backup.

~/Library/Application Support/Astrometry
~/Library/Application Support/kstars
7 years 2 months ago #14027
The topic has been locked.
  • Posts: 2876
  • Thank you received: 809

Replied by Rob Lancaster on topic Ekos on Mac OS X ?


I would say get the log files and send them to Jasem. If the focuser does work and the ccd does work in kstars on OS X, then any other bugs like that are almost certain to be actual kstars code issues and not OS X issues.
7 years 2 months ago #14028
The topic has been locked.
Time to create page: 1.335 seconds