ratal / mdfreader

Read Measurement Data Format (MDF) versions 3.x and 4.x file formats in python
Other
169 stars 74 forks source link

IndexError 13 #145

Closed Taha2312 closed 6 years ago

Taha2312 commented 6 years ago

Pyhton version

Please write here the output of printing sys.version3.6.4

Platform information

Please write here the output of printing platform.platform()

Numpy version

Please write here the output of printing numpy.__version__

mdfreader version

Please write here the output of printing mdfreader.__version__0.2.2

Description

IndexError 13 appearing after running following code:

import mdfreader yop= mdfreader.mdf(r'C:\Users\User\Desktop\abc.mf4')

File "src/lxml/objectify.pyx", line 308, in lxml.objectify.ObjectifiedElement.getitem (src\lxml\objectify.c:5418) IndexError: 13

I also tried the following:

yop = mdfreader.mdf4reader.mdf4(...) but it didnt work.

Can you help me?

danielhrisca commented 6 years ago

https://github.com/ratal/mdfreader/releases

ratal commented 6 years ago

Hi, You use a very old version of mdfreader. 0.2.2 is the beginning of mdf4 support. I would strongly advise you to update to latest version.

Taha2312 commented 6 years ago

Hello,

I updated the mdfreader to the Version 2.7.5. But still I receive the same problem: IndexError 13


Von: Aymeric Rateau notifications@github.com Gesendet: Samstag, 14. April 2018 22:04 An: ratal/mdfreader Cc: Taha2312; Author Betreff: Re: [ratal/mdfreader] IndexError 13 (#145)

Hi, You use a very old version of mdfreader. 0.2.2 is the beginning of mdf4 support. I would strongly advise you to update to latest version.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/ratal/mdfreader/issues/145#issuecomment-381356713, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Akkb-JUlUul0LqA0QsuSROsko3VnOaMxks5tolZLgaJpZM4TTG32.

ratal commented 6 years ago

Hi, It seems this is an error from lxml module. Probably a weird/malformed xml. 2 directions:

ratal commented 6 years ago

no news since a while, closing but you can reopen if you could dig into this lxml issue