CARTAvis / carta-backend

Source code repository for the backend component of CARTA, a new visualization tool designed for the ALMA, the VLA and the SKA pathfinders.
https://cartavis.github.io/
GNU General Public License v3.0
22 stars 10 forks source link

Backend crashes when loading a fits-gz file #1366

Closed loveluthien closed 2 months ago

loveluthien commented 3 months ago

Describe the bug

Backend crashes when loading a fits-gz file created by PhoSim which is a Photon Simulator producing mock sky images. There is no problem if we unzip it first and open it. Some error messages in the console point to the WebSocketExtension.h (see screenshot).

To Reproduce Steps to reproduce the behavior:

  1. open the fits-gz image
  2. backend crashes

Expected behavior No backend crashes.

Screenshots or videos The error message from the console. Screenshot 2024-03-26 at 1 39 14 PM

Platform info (please complete the following information):

Additional context The ftis-gz image can be opened by DS9 without any problem.