serval icon indicating copy to clipboard operation
serval copied to clipboard

hdf: IOError: Unable to create file (unable to open file:

Open mzechmeister opened this issue 4 years ago • 0 comments

This can occur with MaroonX hdf spectra:

IOError: Unable to create file (unable to open file: name = '...', errno = 17, error message = 'File exists', flags = 15, o_flags = c2)

arising just in https://github.com/mzechmeister/serval/blob/3e2875024d222d37f4b39a401f14f81b37fcec2e/src/inst_MAROONXred.py#L40

It seems to happen, when the program was interupted and the file was not closed properly.

mzechmeister avatar Apr 03 '20 14:04 mzechmeister