IndexError: list index out of range
See original GitHub issueHey,
I have collected data using the Nexmon-CSI-Tool: https://github.com/nexmonster/nexmon_csi/tree/pi-5.4.51-plus
I’ve collected the CSI data and store them in a pcap file : output.zip
I dont even get an output of these File:
csikit output.pcap
Traceback (most recent call last):
File "/usr/local/bin/csikit", line 10, in <module> sys.exit(main())
File "/usr/local/lib/python3.7/dist-packages/CSIKit/__main__.py", line 57, in main display_info(args.file)
File "/usr/local/lib/python3.7/dist-packages/CSIKit/tools/get_info.py", line 7, in display_info metadata = csi_data.get_metadata()
File "/usr/local/lib/python3.7/dist-packages/CSIKit/csi/csidata.py", line 45, in get_metadata final_timestamp = timestamps[-1]
IndexError: list index out of range
If i use your examples, it works. Thanks in advance!
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (4 by maintainers)
Top GitHub Comments
Apologies for the delay. This’ll take a little time to implement elegantly.
In the interest of making sure you have something, I’ve linked a temporary build you can install which will parse your files correctly. Any other nexmon filetypes will fail, but this will work with the system you’re currently running. https://drive.google.com/file/d/1rjnCiJgeh7CZFN_ZfQEWGfcv1dZBp-Qt/view?usp=sharing
You can install it by navigating to the root folder (containing setup.py) and running:
I hope to have a solution for this issue merged into master soon. Best of luck with your work!
Awesome, it works! Big thanks for your help 😃
Edit: Great project by the way 😃