Closed pr0ximo closed 4 years ago
Hi Temporarily, you could add IndexError to the following exception to understand what is wrong or be able to read the file. Using MDFValidator (free from Vector), can you have a look and send the content of HD Block comment ? I guess it is not following the standard schema or is empty.
You coulf also try to replace by this more modern script:
for t in tmp.e:
self[t.attrib.values()[0]] = t.text
Python version
3.7.4 (default, Aug 9 2019, 18:34:13) [MSC v.1915 64 bit (AMD64)]
Platform information
Anaconda
Numpy version
version 1.16.5
mdfreader version
version 3.3
Description
import mdfreader a = mdfreader.Mdf('myfile.mf4')
output:
IndexError Traceback (most recent call last)