Get error message while saving MF4-file as CSV #1235
Unanswered
Sergeant68
asked this question in
Q&A
Replies: 1 comment
-
|
hello, I need the file to debug |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello GitHub asammdf Forum,
I am experiencing a peculiar issue when saving an MF4 file to a CSV file using mdf.export().
An MF4 file containing real CAN data from a car can only be saved as CSV without errors on a notebook belonging to a Japanese friend with Japanese Windows 11
The size of the MF4 file is around 80 MB.
When doing
mdf.export('csv', 'export', single_time_base=True, raster = 4e-2 ,time_as_date=True)The following error always appears on laptops with German Windows 11:
Err typ: <class “numpy.core._exceptions._ArrayMemoryError”> Failed to extract signals. Error: Unable to allocate 8.81 PiB for an array with shape (1239693186301953,) and data type float64Remark: 8.81 PiB is beyond any required size, 1 PiB is 2 to the power of 50 !
I have tried this on 3 different German Windows 11 laptops, and the same error always appears!
Where Python sees a shape(1239693186301953,) ?
Inexplicable:
When I create a synthetic MF4 file in a Python program, it can always be saved as a CSV file without any problems using
mdf.export('csv', 'export', single_time_base=True, raster = 4e-2 , time_as_date=True)even on a laptop with German Windows 11 and even if the size of the MF4 file is 800 MB !
Does anyone have any idea what could be causing this behaviour?
How can the contents of an MF4 file cause Python to crash while saving as CSV using mdf.export()?
I am using Python 3.7.4.
Thanks for any hint!
Beta Was this translation helpful? Give feedback.
All reactions