ericmandel / pyds9

Python connection to SAOimage DS9 via XPA
76 stars 41 forks source link

XPA Error #12

Closed ghost closed 9 years ago

ghost commented 9 years ago

When I attempt to send a .fits image file to pyds9 I get the following error message:

ValueError: XPA$ERROR undefined command for this xpa (DS9:ds9 7f000101:33016)

I should note that I am using the latest version of Ubuntu (if that helps). This error only occurs when I try to set a .fits image to ds9. I can still successfully send an array to ds9 (via set_np2arr()), and it displays perfectly.

Any suggestions?

ericmandel commented 9 years ago

The error indicates that you are not passing the "fits" argument in the param list. I believe this xpa access point requires two args: "fits" in the param list and the actual fits data in the data arg. If this is not the problem, please tell me the args you are passing.

On Jul 17, 2015, at 2:47 PM, maelstromscientist notifications@github.com wrote:

When I attempt to send a .fits image file to pyds9 I get the following error message:

ValueError: XPA$ERROR undefined command for this xpa (DS9:ds9 7f000101:33016)

I should note that I am using the latest version of Ubuntu (if that helps). This error only occurs when I try to set a .fits image to ds9. I can still successfully send an array to ds9 (via set_np2arr()), and it displays perfectly.

Any suggestions?

— Reply to this email directly or view it on GitHub.

ghost commented 9 years ago

Ah that solved the problem. Thank you!