×

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

Bi-monthly release with minor bug fixes and improvements

Ekos on Mac OS X ?

  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?

ImportError: Cannot import either pyfits or astropy.io.fits

Need to figure this one out I guess.
7 years 6 months ago #11346
The topic has been locked.
  • Posts: 2885
  • Thank you received: 819

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

hmmm. . . for me it worked as soon as I installed python3 using their installer.

But wait a moment, it says /usr/local/bin. Why don't you check if python3 or a link to it is in /usr/bin or /usr/local/bin?
7 years 6 months ago #11347
The topic has been locked.
  • Posts: 2885
  • Thank you received: 819

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


Well that sounds like python and it smells like python. . .
7 years 6 months ago #11348
The topic has been locked.
  • Posts: 2885
  • Thank you received: 819

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

Here is where my pythons are located:

Cassiopeia:~ rlancaste$ ls /usr/bin/python*
/usr/bin/python /usr/bin/python2.7-config
/usr/bin/python-config /usr/bin/pythonw
/usr/bin/python2.6 /usr/bin/pythonw2.6
/usr/bin/python2.6-config /usr/bin/pythonw2.7
/usr/bin/python2.7
Cassiopeia:~ rlancaste$ ls /usr/local/bin/python*
/usr/local/bin/python3 /usr/local/bin/python3.5-32
/usr/local/bin/python3-32 /usr/local/bin/python3.5-config
/usr/local/bin/python3-config /usr/local/bin/python3.5m
/usr/local/bin/python3.5 /usr/local/bin/python3.5m-config
Cassiopeia:~ rlancaste$ ls /usr/local/Cellar/python*
2.7.12_2
7 years 6 months ago #11349
The topic has been locked.
  • Posts: 2885
  • Thank you received: 819

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


I would say its a priority. The astrometry.net offline solver is sooo much better. If properly configured, it can solve your images in just a couple of seconds flat. And it works with no internet connection or reliance on any remote server.
7 years 6 months ago #11350
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?

alright, I have installed pyfits
forums.macrumors.com/threads/installing-pyfits.1533705/

Stephanes-MacBook-Air:pyfits-3.3 stephane$ python -c 'import pyfits; print pyfits.__version__'
3.3
Stephanes-MacBook-Air:pyfits-3.3 stephane$

Now battling with the indexes:

Stephanes-MacBook-Air:Downloads stephane$ solve-field -z 2 -B none -P none -M none -S none -R none -U none -T -p -O h.jpg
Reading input file 1 of 1: "h.jpg"...
jpegtopnm: WRITING PPM FILE
Read file stdin: 1536 x 1152 pixels x 1 color(s); maxval 255
Using 8-bit output
Extracting sources...
Downsampling by 2...
simplexy: found 200 sources.
Solving...
Warning: failed to open index directory: "~/Library/Application Support/Astrometry"


You must list at least one index in the config file (/usr/local/bin/../etc/astrometry.cfg)

See astrometry.net/use.html about how to get some index files.

solve-field.c:518:run_engine engine failed. Command that failed was:
/usr/local/bin/astrometry-engine ./h.axy
ioutils.c:567:run_command_get_outputs Command failed: return value 255
Stephanes-MacBook-Air:Downloads stephane$
7 years 6 months ago #11351
The topic has been locked.
  • Posts: 2885
  • Thank you received: 819

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

try the full path

# In which directories should we search for indices?
add_path /Users/rlancaste/Library/Application Support/Astrometry
7 years 6 months ago #11352
The topic has been locked.
  • Posts: 2885
  • Thank you received: 819

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


Sorry if I was wrong in blaming Python. That's what it was on my system, because I accidentally deleted it.
7 years 6 months ago #11353
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?


that did the trick.

Stephanes-MacBook-Air:Downloads stephane$ solve-field -z 2 -B none -P none -M none -S none -R none -U none -T -p -O h.jpg
Reading input file 1 of 1: "h.jpg"...
jpegtopnm: WRITING PPM FILE
Read file stdin: 1536 x 1152 pixels x 1 color(s); maxval 255
Using 8-bit output
Extracting sources...
Downsampling by 2...
simplexy: found 200 sources.
Solving...
Reading file "./h.axy"...
Field 1 did not solve (index index-4205-11.fits, field objects 1-10).
Field 1 did not solve (index index-4205-10.fits, field objects 1-10).
Field 1 did not solve (index index-4205-09.fits, field objects 1-10).
Field 1 did not solve (index index-4205-08.fits, field objects 1-10).
Field 1 did not solve (index index-4205-07.fits, field objects 1-10).
Field 1 did not solve (index index-4205-06.fits, field objects 1-10).
Field 1 did not solve (index index-4205-05.fits, field objects 1-10).
Field 1 did not solve (index index-4205-04.fits, field objects 1-10).
Field 1 did not solve (index index-4205-03.fits, field objects 1-10).
Field 1 did not solve (index index-4205-02.fits, field objects 1-10).
Field 1 did not solve (index index-4205-01.fits, field objects 1-10).



off to try Kstars now
7 years 6 months ago #11354
The topic has been locked.
  • Posts: 2885
  • Thank you received: 819

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


hooray, that is what it is supposed to say!

Remember to double check the path to Astrometry.cfg in kstars options, you might reference different files by accident.
Last edit: 7 years 6 months ago by Rob Lancaster.
7 years 6 months ago #11355
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?


I would love to be able to delete the new python I've installed now. My system isn't cleaned, too many snakes now... lol
7 years 6 months ago #11356
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?

Must check the paths...

2016-10-30T20:42:50 Solver failed. Try again.
2016-10-30T20:42:48 Starting solver...
2016-10-30T20:42:48 Index files index-4200 to index-4206 are missing. Astrometry.net would not be able to adequately solve plates until you install the missing index files. Download the index files from www.astrometry.net
2016-10-30T20:42:48 Image received.
2016-10-30T20:42:46 Capturing image...
2016-10-30T20:41:40 Idle.
7 years 6 months ago #11357
The topic has been locked.
Time to create page: 0.385 seconds