Closed Salsapareille closed 7 years ago
Hi, It seems first that mdfreader was not installed properlly. During installation, it should compile dataRead cython file for your platform (first error). However, there is a fall back using bitarray module which is very slow but should be working-> the rest of the errors. I propose you the following:
Hi, cython was the keyword: I am now able to load and plot the MDF-signals. I tried the following:
Glad I could help. However I do not understand why it did install properly out of the box. Anyway closed.
Hi,
sorry if I am not using the typical way of bug reporting but I am a very newbie on GitHub. I just tried the mdfreader on my MDF 4.1 files (measurement files from endurance tests) just to see if it was working and:
My working environment is Anaconda 3.4.2.0 64bits on Win7.
Here the whole error message: f = mdfreader.mdf(r'C:\devl\data\Loadbox\mf4_data\2016-09-23 00-00-00 (4).mf4')
C:\devl\data\Loadbox\mf4_data\2016-09-23 00-00-00 (4).mf4 Unexpected error: (<class 'ImportError'>, ImportError("No module named 'mdfreader.dataRead'",), <traceback object at 0x0000000009696208>) dataRead crashed, back to python data reading
ImportError Traceback (most recent call last) C:\devl\devltools\Anaconda3\lib\site-packages\mdfreader\mdf4reader.py in readBitarray(self, bita, channelList) 1178 try: # use rather cython compiled code for performance -> 1179 from .dataRead import dataRead 1180 for chan in range(len(self)):
ImportError: No module named 'mdfreader.dataRead'
During handling of the above exception, another exception occurred:
IndexError Traceback (most recent call last)