You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "./NPIF Sleuth.py", line 107, in <module>
main()
File "./NPIF Sleuth.py", line 101, in main
retval = NPIF_Extract(fname)
File "./NPIF Sleuth.py", line 86, in NPIF_Extract
a.file_error_checks()
File "/home/bradh/coding/NPIF-Sleuth/NPIF.py", line 5611, in file_error_checks
self.check_end_record_mark()
File "/home/bradh/coding/NPIF-Sleuth/NPIF.py", line 5787, in check_end_record_mark
p = self.packets[-2]
IndexError: list index out of range
I'm not sure if a file containing only a end of record marker is valid - couldn't find an explicit statement in the STANAG, but I think that either that case should be a test failure or be silently skipped.
The text was updated successfully, but these errors were encountered:
The relevant bit of code is:
Occurs on this file:
(i.e. there is no previous packet)
I'm not sure if a file containing only a end of record marker is valid - couldn't find an explicit statement in the STANAG, but I think that either that case should be a test failure or be silently skipped.
The text was updated successfully, but these errors were encountered: