danielhrisca / asammdf

Fast Python reader and editor for ASAM MDF / MF4 (Measurement Data Format) files
GNU Lesser General Public License v3.0
633 stars 224 forks source link

Batch export from GUI - 'WindowsPath' object has no attribute 'configure' #880

Open mlauterbacher opened 1 year ago

mlauterbacher commented 1 year ago

Python version

('python=3.8.10 (tags/v3.8.10:3d8993a, May 3 2021, 11:48:03) [MSC v.1928 64 ' 'bit (AMD64)]') 'os=Windows-10-10.0.22621-SP0' 'numpy=1.24.4' ldf is not supported xls is not supported xlsx is not supported yaml is not supported 'asammdf=7.3.13'

Code

MDF version

4.10

Code snippet

none, GUI triggered

Traceback

Traceback (most recent call last): File "C:\Users\mlauterbacher\AppData\Local\Programs\Python\Python310\lib\site-packages\asammdf\gui\utils.py", line 251, in run result = self.function(*self.args, **self.kwargs) File "C:\Users\mlauterbacher\AppData\Local\Programs\Python\Python310\lib\site-packages\asammdf\gui\widgets\batch.py", line 1460, in apply_processing_thread mdf_file.configure( AttributeError: 'WindowsPath' object has no attribute 'configure'

Description

In asammdf GUI: When I try to export multiple files in batch mode. After click on "Apply". Output format and other parameters irrelevant.

mlauterbacher commented 1 year ago

Same holds true for linux (tested with WSL): AttributeError: 'PosixPath' object has no attribute 'configure'

danielhrisca commented 11 months ago

@mlauterbacher please try the latest release 7.3.16

mlauterbacher commented 11 months ago

I tested Version 7.3.16 on Windows and WSL. The described issue remains, batch export is not possible.

danielhrisca commented 2 months ago

@mlauterbacher please try again