not opening images

Michael O’Connell

I can get the program to run now, but when I open an image, only the FITS header loads in the lower panel – the image itself does not load.

I note that the Command Prompt window states the following:

WARNING: API key not found in configuration file [astroquery.astrometry_net.core]

WARNING: You need to manually edit the configuration file and add it [astroquery.astrometry_net.core]

WARNING: You may also register it for this session with AstrometryNet.key = ‘XXXXXXXX’ [astroquery.astrometry_net.core]

Exception in Tkinter callback

Traceback (most recent call last):

  File “C:Program”, line 1892, in __call__

    return self.func(*args)

  File “”, line 593, in update_histogram_high


  File “”, line 502, in update_display


  File “”, line 91, in display_image

    generate_FITS_thumbnail(self.histogram_slider_low, self.histogram_slider_high, self.zoom_level)

  File “”, line 57, in generate_FITS_thumbnail

    generated_image = Image.fromarray(image_data)

NameError: name ‘image_data’ is not defined