transientskp / tkp

A transients-discovery pipeline for astronomical image-based surveys
http://docs.transientskp.org/
BSD 2-Clause "Simplified" License
19 stars 14 forks source link

Storing images causes TraP to crash and hang (not exit). #530

Closed mkuiack closed 8 years ago

mkuiack commented 8 years ago

In batch mode with copy_images = True

14:54:30 INFO tkp.main: dataset batch1/ contains 3526 images
14:54:30 INFO tkp.main: Storing copy of images in MongoDB
terminate called after throwing an instance of 'casa::AipsError'
  what():  FiledesIO /scratch/gijs/aartfaac_with_subbands/S301/S301_R0-62_T02-06-2016_21-27-41.image/table.f0_TSM0is not writable
gijzelaerr commented 8 years ago

this is a casacore issue also. Opening this MS with python-casacore outside of TraP gives this error also.

gijzelaerr commented 8 years ago

actually there are 2 issues here, one with casacore crashing, and TraP not handling the crash properly. the first one I will report upstream tomorrow, te second one is a lower priority issue.

gijzelaerr commented 8 years ago

I can replicate this on struis but not on my system. I assume this has to do with struis still having casacore 2.0.3 while my system runs 2.1.0.

import casacore.images
x = casacore.images.image('/scratch/gijs/aartfaac_with_subbands/S301/S301_R0-62_T02-06-In
x.tofits('bla')
terminate called after throwing an instance of 'casa::AipsError'
  what():  FiledesIO /scratch/gijs/aartfaac_with_subbands/S301/S301_R0-62_T02-06-2016_21-27-41.image/table.f0_TSM0is not writable
gijzelaerr commented 8 years ago

This was an issue with that specific file on struis, something went wrong during copying. I replaced it with the right one. I'll close this issue and open an other one for the 'hang on crash' behavior.