spacetelescope / imexam

imexam is a python tool for simple image examination, and plotting, with similar functionality to IRAF's imexamine
http://imexam.readthedocs.io
BSD 3-Clause "New" or "Revised" License
75 stars 45 forks source link

Error using: imexam.connect(viewer='ginga') #223

Open HIP69673 opened 3 years ago

HIP69673 commented 3 years ago

Hi,

I've installed the Ginga viewer and imexam package to view and work with fits file but can't even get started. I've looked online but can't find anyone who has reported the same issue. Here is the snippet of the code where I am calling the viewer:

import imexam viewer = imexam.connect(viewer='ginga') viewer.load_fits('00063x3-10.00_5.00_G_18-04-22.fits')

and get the following error message:

File "C:\Users\Donald\Anaconda3\lib\site-packages\imexam\ginga_viewer.py", line 984, in _start_serverself._port = ports[0]

IndexError: list index out of range

I am running on Windows 10 using Spyder.

Has anyone encountered this and if so, how do I get past it.