Skip to content
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

failed to do file read got 0 amt 4096 last errno 0 #366

Closed
makunomark opened this issue Jul 29, 2015 · 1 comment
Closed

failed to do file read got 0 amt 4096 last errno 0 #366

makunomark opened this issue Jul 29, 2015 · 1 comment

Comments

@makunomark
Copy link

Hi Satyan, I get this error when running an application using sugar as a way to store data. It doesn't crash the application. Rather data is not saved. Here's the full excerpt:

07-27 16:42:36.730: I/Sugar(25949): create table
07-27 16:42:36.730: D/Sugar(25949): Fetching properties
07-27 16:42:36.731: I/Sugar(25949): creating table TABLE_NAME
07-27 16:42:36.732: E/SQLiteLog(25949): (10) Failed to do file read, got: 0, amt: 4096, last Errno: 0

The error occurs in some devices while in others it doesn't. What could be the cause of this?

@sibelius
Copy link
Contributor

sibelius commented Dec 3, 2015

@makunomark did you change any of your fields types?

this happen when you change the fields and didn't upgrade your database version

@sibelius sibelius closed this as completed Dec 3, 2015
@sibelius sibelius added bug and removed bug labels Dec 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants