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

XpaException raised because it expects an integer and finds a float #186

Closed b1quint closed 4 years ago

b1quint commented 5 years ago

Dear all,

I am running imexam on a MacOS 10.14.5 using the following setup:

I run the following code and everything seems fine:

import imexam
v = imexam.connect()                                                                                                                                  
v.load_fits("Notebooks/data/simple_image.fits")                                                                                                       
v.imexam()

When pressing a key on DS9 to start analysing the image (e.g. a or r), I get an error. The traceback is attached. imexam_traceback.txt

The traceback tells that XPA is expecting the cursor position as an integer value but is receiving a float. Based on some discussions on Slack, it seems that there is an incompatibility between DS9 and imexam versions (or XPA version?).

I installed DS9 v7.4 and everything works fine.

sosey commented 5 years ago

Apologies - I've been swamped and will try and get to this soon

b1quint commented 5 years ago

Do not worry. Let me know if you need any help on testing anything or trying to get more information for debugging.

sosey commented 4 years ago

@b1quint have you tried this recently? I'm not seeing an issue with the following:

b1quint commented 4 years ago

Not yet! I will give a try and report!

b1quint commented 4 years ago

@sosey I am sorry for the delay! I tried this and it is now working fine! Thank you very much!

sosey commented 4 years ago

excellent! I've been crazy busy myself, thanks for reporting back :)