Hey
During the use of the fitdecode module I encountered the following AssertionError:
Traceback (most recent call last):
File "C:\Users\niels\OneDrive\Documenten\Metec\Metec_python\unpack_fit_niels.py", line 35, in
for frame in fit_file:
File "C:\Python\Python39\lib\site-packages\fitdecode\reader.py", line 232, in iter
yield from self._read_next()
File "C:\Python\Python39\lib\site-packages\fitdecode\reader.py", line 369, in _read_next
assert self._chunk_size <= self._body_bytes_left
AssertionError
The _chunk_size is 14 and _body_bytes_left is 12.
What's happening here and what's the best way to solve the problem? Ignoring the AssertionError seems to work, but I am not completely sure whether this is desirable at all.
Niels
Hey
During the use of the fitdecode module I encountered the following AssertionError:
Traceback (most recent call last):
File "C:\Users\niels\OneDrive\Documenten\Metec\Metec_python\unpack_fit_niels.py", line 35, in
for frame in fit_file:
File "C:\Python\Python39\lib\site-packages\fitdecode\reader.py", line 232, in iter
yield from self._read_next()
File "C:\Python\Python39\lib\site-packages\fitdecode\reader.py", line 369, in _read_next
assert self._chunk_size <= self._body_bytes_left
AssertionError
The _chunk_size is 14 and _body_bytes_left is 12.
What's happening here and what's the best way to solve the problem? Ignoring the AssertionError seems to work, but I am not completely sure whether this is desirable at all.
Niels