-
-
Couldn't load subscription status.
- Fork 251
Open
Description
asammdf-UI raises an exception at export in MDF-Version 4.0 (but working fine with e.g. MDF-Version 4.1).
there is no option in the "Compression" dropdown available if MDF-Version 4.0 is selected, but it seems (according to the exception) some kind of compression is needed.
Notes:
the mdf-file was generated with asammdf-lib, after open it in asammdf-gui and try to export i got the descriped exception.
asammdf-version: 8.6.10
this issue exists since at least 7.3.12 (at least with this version i had the same behavior)
Exception
Error: <class 'ValueError'>
-1 is not a valid CompressionAlgorithm
Details: 2025-09-09, 15:33:31
--------------------------------------------------------------------------------
<class 'ValueError'>
-1 is not a valid CompressionAlgorithm
--------------------------------------------------------------------------------
File "C:\xxx\lib\site-packages\asammdf\gui\widgets\file.py", line 2672, in apply_processing
opts = self._current_options()
File "C:\xxx\lib\site-packages\asammdf\gui\widgets\file.py", line 2587, in _current_options
"mdf_compression": CompressionAlgorithm(self.mdf_compression.currentIndex()),
File "C:\tools\python\Python310\lib\enum.py", line 385, in __call__
return cls.__new__(cls, value)
File "C:\tools\python\Python310\lib\enum.py", line 710, in __new__
raise ve_exc
Info-Tab in asammdf-ui
Export-Settings
asammdf 'About asammdf-gui' window with version-informations:

Metadata
Metadata
Assignees
Labels
No labels