keironstoddart / edi-835-parser

A simple EDI 835 file format parser.
MIT License
80 stars 40 forks source link

IndexError : List index out of range #30

Open SharkyDi3 opened 1 week ago

SharkyDi3 commented 1 week ago

IndexError in file 1949-42928.835: Traceback (most recent call last): File "C:\Users\RAGHAVENDRA K\AppData\Local\Temp\ipykernel_700\663775951.py", line 55, in transaction_set = parse(temp_file_path) File "C:\Users\RAGHAVENDRA K\AppData\Roaming\Python\Python39\site-packages\edi_835_parser__init__.py", line 28, in parse transaction_set = TransactionSet.build(path) File "C:\Users\RAGHAVENDRA K\AppData\Roaming\Python\Python39\site-packages\edi_835_parser\transaction_set\transaction_set.py", line 138, in build response = cls.build_attribute(segment, segments) File "C:\Users\RAGHAVENDRA K\AppData\Roaming\Python\Python39\site-packages\edi_835_parser\transaction_set\transaction_set.py", line 183, in build_attribute claim, segments, segment = ClaimLoop.build(segment, segments) File "C:\Users\RAGHAVENDRA K\AppData\Roaming\Python\Python39\site-packages\edi_835_parser\loops\claim.py", line 88, in build entity = EntitySegment(segment) File "C:\Users\RAGHAVENDRA K\AppData\Roaming\Python\Python39\site-packages\edi_835_parser\segments\entity.py", line 23, in init self.last_name = segment[3] IndexError: list index out of range