-
Notifications
You must be signed in to change notification settings - Fork 262
error: bad char in struct format in read_plain_int96 #49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
jcrobak
added a commit
that referenced
this issue
Dec 18, 2016
Previously, an incorrect format string was used and only the first 12 bytes were read from the stream. Refs #49.
Thanks for the report. Looks like there was more than one bug in that parsing code. Putting together a fix now. |
Merged
jcrobak
added a commit
that referenced
this issue
Dec 18, 2016
Previously, an incorrect format string was used and only the first 12 bytes were read from the stream. Refs #49.
jcrobak
added a commit
that referenced
this issue
Dec 18, 2016
Previously, an incorrect format string was used and only the first 12 bytes were read from the stream. Refs #49.
Should be fixed by #50 . Please reopen if you're still seeing issues! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"<qi" * count
produces something like<qi<qi<qi
The docs indicate that the first character of the format string can be used to indicate the byte order, size and alignment.
I've tested potential fixes for this but I suspect the results may be incorrect because the values aren't what I expected. I tried calling an old version of read_plain_int96 multiple times, but that didn't produce values I expected either.
Does anybody have a good test case for this or know what the format ought to be?
The text was updated successfully, but these errors were encountered: