-
Notifications
You must be signed in to change notification settings - Fork 21
db.remove() issue #70
Comments
I have the same problem. |
Flutter 2.5.2 same error, after that my db could not insert, have to delete and recreate db file.
|
Move to Hive -> it only one way to resolve this issues |
I switched to sembast, but I prefer objectdb, hope you could fix the issue with db.remove |
I'm sorry for the late response. |
dart pub get
I dont know with test01, I deleted the database file and create new to ensure it will be new file, the test running okay, but with the test02, it will raise exception when calling remove. |
Any progress here, I love this package and I dont want to change it |
Exactly the same issue. First encountered when trying to do some good UT coverage. When executing sequential tests it just dies. When deleting the file in between them, all is okay. To make it even more weird, I minimized the DB operations, did 1-2 things in a test, then I ran the tests, all green. Second run, some started failing with a similar file-level corruption. I also like this package a lot, but I cannot use it in this current condition - unfortunately time is pressing in my case, so I'm afraid I'll need to move on, like it or not. :( |
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
E/flutter (16175): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: FormatException: Unterminated string (at character 43)
E/flutter (16175): {"q":{"id":458287},"c":{"id":293251,"ad-{}
E/flutter (16175): ^
The text was updated successfully, but these errors were encountered: