Hi
I have recorded a jls file using pyjoulescope_examples\capture.py. I have recorded for 3930s. I have two recordings, one I can open, one I cannot open, see picture for output.
=====
QApplication: invalid style override 'adwaita' passed, ignoring it.
Available styles: Windows, Fusion
WARNING:2022-05-04 09:46:17,385:raw.c:121:pyjls.c:file header length 0, not closed gracefully
ERROR:2022-05-04 09:46:17,386:main.py:859:joulescope_ui.main:while opening device
Traceback (most recent call last):
File "/home/nitdrbill/miniconda3/lib/python3.10/site-packages/joulescope_ui/main.py", line 857, in _device_open
self._device.open(self.resync_handler('device_event'))
File "/home/nitdrbill/miniconda3/lib/python3.10/site-packages/joulescope_ui/recording_viewer_device_v2.py", line 527, in open
self._open()
File "/home/nitdrbill/miniconda3/lib/python3.10/site-packages/joulescope_ui/recording_viewer_device_v2.py", line 503, in _open
self._reader = Reader(self._filename)
File "pyjls\binding.pyx", line 370, in pyjls.binding.Reader.__init__
RuntimeError: open failed 9
What else can I provide/test, I expect a file inconsistency, how can I check if a file has a correct suffix/ending(not filename extension)?