CARTAvis / carta

To CARTA users, this repo holds the CARTA release packages. Please use this repo to log bugs and feature requests. These will be triaged by the development team and prioritised as necessary in the development cycles.
19 stars 0 forks source link

Server blocks waiting for image lock release #169

Open sanbw opened 1 year ago

sanbw commented 1 year ago

Describe the bug The server was started as carta --no_browser. I connected to the server from Firefox and, by mistake, asked it to load an image file which was locked. The carta server blocked waiting for the lock to release and is unusable till that image-file lock is released.

To Reproduce Steps to reproduce the behavior:

  1. Start CARTA as carta --no_browser
  2. Connect to it from a browser. In my case the browser was running on the same machine as the CARTA server, but I think that is besides the point.
  3. Load an image file that is currently locked. The server should wait till this lock is released.

Expected behavior I was expecting some mechanism to either tell the CARTA server to stop waiting for the lock to release, or the server to have a timeout after which it unblocks itself.

Screenshots or videos N/A

Platform info (please complete the following information):

Additional context Nope

kswang1029 commented 7 months ago

@pford @markccchiang do you think this is an issue from casacore?