-
Notifications
You must be signed in to change notification settings - Fork 46
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
FormatException: Unexpected extension byte (at offset 0) #57
Comments
|
I don't understand your code, but it's dying in the decode routine, that does this:
https://api.dart.dev/stable/2.10.0/dart-convert/Utf8Decoder/convert.html But the FUNNY thing is that my table doesn't even have any strings!!!
|
|
I talked to the Dart team and they are convinced it's a bug in mysql1. I don't understand how it's so transient... I run it one time and it fails... then, run it a minute later and it succeeds. |
There are plenty of places where we are reading a string and assuming it is utf8 when it is not specified in the docs. I've updated the code to soften this assumption. Can you try running with the |
I'm with the same error, but in another context. I'm using msix for generate a installer (MSI) where I need to do a certificate (using SSL). Follow the erro itself: |
Thank you VERY MUCH for publishing this project! I've been using the library literally every day for six months or so.
I get a FormatException periodically causing a lot of development frustration .
It's sporadic... maybe 50% of the time certain INSERT statements fail. I've found that the longer in characters the INSERT statement , the more likely it is to fail. But, it will happen on very small statements like the following.
Example Statement
Stack trace on Windows:
Connect to database:
Dart Info via Flutter Doctor -v
MariaDB Info:
Execution
I run from Bit Bash command line on Windows 7:
MariaDB Show Variables
The text was updated successfully, but these errors were encountered: