You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into this issue, too. Reading newly encoded FIT file in FIT File Viewer shows that file produced by this library is 2 bytes shorter than expected:
Fatal error: FIT Runtime Error end of stream at byte 356954
There were issues decoding this file
The file is too short: Expected 356,956 bytes, got 356,954 bytes. The file was probably truncated while downloading or copying.
Decoding using fit.Decode produces same error as mentioned above:
I've read a FIT file and modified the data. After that I wrote it to disc:
`func CreateTestFile() error {
testFile := filepath.Join("c:\", "dev", "fit", "i26475458.fit")
testData, err := os.ReadFile(testFile)
if err != nil {
return err
}
}
`
After that an error appears while reading it the same way as above:
error parsing file CRC: unexpected EOF
The text was updated successfully, but these errors were encountered: