danielhrisca / asammdf

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

Error on start #1001

Closed FurkanEdizkan closed 3 months ago

FurkanEdizkan commented 3 months ago

Version

ldf is not supported
xls is not supported
xlsx is not supported
'python=3.8.10 (default, Nov 22 2023, 10:22:35) \n[GCC 9.4.0]'
'os=Linux-5.15.0-101-generic-x86_64-with-glibc2.29'
'numpy=1.24.4'
'asammdf=7.4.2'

Traceback

Error: <class 'TypeError'>   
'NoneType' object is not subscriptable

Details: 2024-03-28, 16:50:52
--------------------------------------------------------------------------------
<class 'TypeError'>  
'NoneType' object is not subscriptable
--------------------------------------------------------------------------------
  File "/home/furkanded/.local/bin/asammdf", line 8, in <module>
    sys.exit(main())
  File "/home/furkanded/.local/lib/python3.8/site-packages/asammdf/gui/asammdfgui.py", line 44, in main
    _main_window = MainWindow(measurements or args.measurements)
  File "/home/furkanded/.local/lib/python3.8/site-packages/asammdf/gui/widgets/main.py", line 46, in __init__
    self.batch = BatchWidget(
  File "/home/furkanded/.local/lib/python3.8/site-packages/asammdf/gui/widgets/batch.py", line 149, in __init__
    buses = lin_databases[::2]

Description

Just install asammdf with pip, I get the following error, couldn't find any related soltion

danielhrisca commented 3 months ago

I've pushed a fix to the development branch

FurkanEdizkan commented 3 months ago

Thanks I will check it out when it can be used with pip