Uploaded image for project: 'Instrument control development'
  1. Instrument control development
  2. INSTRM-2357

Make hx/mcs fitsWriter not fail when rolling over log files.

    XMLWordPrintable

    Details

    • Sprint:
      preRun19Oct2024, postRun19Oct, preRun20Jan

      Description

      An hx_n2 exposure just failed because the fitsWriter process failed when rolling over its log file:

      2024-08-29 07:12:00.534Z FitsCatcher      20 fitsWriter.py:369 reply: {'command': 'WRITE', 'status': 'OK', 'path': PosixPath('/data/raw/2024-08-29/ramps/PFSB11380523.fits'), 'hduId': (1, 1, None), 'errorDetails': None}
      2024-08-29 07:12:01.094Z ramp             20 ramp.py:45 ramp_0x7fcbbe83a760 wroteHdu: {'command': 'WRITE', 'status': 'OK', 'path': PosixPath('/data/raw/2024-08-29/ramps/PFSB11380523.fits'), 'hduId': (1, 1, None), 'errorDetails': None}
      2024-08-29 07:12:01.908Z FitsCatcher      20 fitsWriter.py:369 reply: {'command': 'PARSING', 'status': 'ERROR', 'path': None, 'hduId': None, 'errorDetails': 'ERROR parsing write: logfile /software/mhs/logs/actors/hx_n2/2024-08-29T07:12:00.534.log
       already exists. Would append to it.'}
      

      Fix.

        Attachments

          Activity

            People

            • Assignee:
              cloomis cloomis
              Reporter:
              cloomis cloomis
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: