asammdf icon indicating copy to clipboard operation
asammdf copied to clipboard

cannot plot GPS in asammdf gui - crashes

Open korzelg opened this issue 1 year ago • 5 comments

I have not been able to plot GPS data. From the CSS website, I downloaded sample data (mf4-sample-data-v2.1) and decoded with the DBC file (database-01-08). I am using asammdfgui-v7.5.0dev2-windows.

Sample MDF4 and DBC files: https://canlogger.csselectronics.com/canedge-getting-started/ce3/log-file-tools/

mf4-sample-data-v2.1.zip database-01.08.dbc

https://canlogger.csselectronics.com/canedge-getting-started/ce3/log-file-tools/asammdf-gui/

I then follow the steps to plot GPS position (Create plots — CANedge3 Intro and Tools FW 01.08.01 documentation (csselectronics.com) 1 - Create window 2 - Select GPS, click Apply (with Latitude and Longitude auto loaded) 3 - after waiting for some time, the program crashes and closes.

Any suggestions on troubleshooting?

I have Windows 11 Pro on my Dell laptop Latitude 5530

korzelg avatar Oct 17 '24 12:10 korzelg

Is there a windows download version of 8.0.1? Or do I just copy all the files?

korzelg avatar Oct 18 '24 16:10 korzelg

https://github.com/danielhrisca/asammdf/actions/runs/11406655486

danielhrisca avatar Oct 18 '24 16:10 danielhrisca

Thanks Daniel - but I am looking for a windows executable. Was not able to find in the above link.

This is where I downloaded the previous version 7.5.0d2: https://canlogger.csselectronics.com/files/asammdf/v750dev2/asammdfgui-v7.5.0dev2-windows.zip

korzelg avatar Oct 18 '24 16:10 korzelg

You have to download this archive use the windows application image

danielhrisca avatar Oct 18 '24 17:10 danielhrisca

Thank you Daniel. Downloaded and unzipped. However, it will not launch -

Error: <class 'AttributeError'> partially initialized module 'fsspec' has no attribute 'utils' (most likely due to a circular import)

Details: 2024-10-21, 12:48:17

<class 'AttributeError'> partially initialized module 'fsspec' has no attribute 'utils' (most likely due to a circular import)

File "asammdf\gui\asammdfgui.py", line 52, in File "asammdf\gui\asammdfgui.py", line 45, in main File "asammdf\gui\widgets\main.py", line 47, in init File "asammdf\gui\widgets\batch.py", line 122, in init File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 384, in exec_module File "fastparquet_init.py", line 4, in File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 384, in exec_module File "fastparquet\writer.py", line 12, in File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 384, in exec_module File "fastparquet\util.py", line 16, in File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 384, in exec_module File "fsspec_init.py", line 6, in File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 384, in exec_module File "fsspec\compression.py", line 68, in File "fsspec\compression.py", line 46, in register_compression

korzelg avatar Oct 21 '24 16:10 korzelg

Martin from CSS here. Just as a general recommendation, we suggest to use our hosted version of asammdf if your goal is to process the CANedge MF4 data, as this version is generally tested thoroughly. We periodically update our hosted version to newer stable releases of asammdf.

MatinF avatar Nov 15 '24 11:11 MatinF

Hello Martin, Thank you - I believe the latest CSS hosted version is 7.5.0d2. This version is the one that I am not able to plot the CSS sample GPS data. I then tried the newer release of 8.0.1 and it has issues launching. Can you confirm that my issue of not being able to plot GPS using the hosted version 7.5.0d2 is only mine, and not something to do with the release?

korzelg avatar Nov 15 '24 13:11 korzelg

If you can send us an email via our [email protected] email we can review. We have no issues plotting this, but some PCs may block part of asammdf, so I suggest trying on another PC, in particular one with Windows 10 which is what we use for testing.

MatinF avatar Nov 15 '24 14:11 MatinF

please try this version https://github.com/danielhrisca/asammdf/actions/runs/11889185054

danielhrisca avatar Nov 18 '24 12:11 danielhrisca