Trimmed error message
AGM message are trimmed in the AGMResultsLog
representation:
'errors': (
'[WARNING] <AGE> 2032-09-23T15:52:23Z +X Panel Illumination Start\n'
),
Returns:
[
('WARNING', 'AGE', '2032'),
]
instead of:
[
('WARNING', 'AGE', '2032-09-23T15:52:23Z +X Panel Illumination Start'),
]
This seems to be related to a regex parsing issue:
class AGMResultsLog:
...
line = re.compile(r'\[(\w+)\]\s*<(\w+)>\s*([\w\s\/\.\:<>]+)')
There is also a discrepancy with the pointing tool error representation:
'errors': (
'[ERROR] <AGE> <timeline blocks> LINE: 6 FDXmlParser: Attitude element mandatory on OBS block\n'
),
whereas in the esa-ptr
only the first <AGE>
is return in the source:
[
('ERROR', 'AGE', '<timeline blocks> LINE: 6 FDXmlParser: Attitude element mandatory on OBS block'),
]
instead of:
[
('ERROR', 'timeline blocks', 'LINE: 6 FDXmlParser: Attitude element mandatory on OBS block'),
]