-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
DB query fail with error disk I/O error (code: 10) when accessing from widget extension #1187
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
Can you provide some code to reproduce the issue? As well as the detailed error? |
Could it be linked to #870? |
My logs only this information about error I think, #870 this is different as it talks about shared group and copying database where as we are accessing same database from different connection from my widget extension |
In both case, a new object is instantiated by your app and the app extension (which is the widget in your case). Both access the same database, which file can be shared using Access Group (otherwise only the app/extension that created it can access it, and they will both have their own file) |
Build Information
We have widget which shows data present in app DB.
For some users, after some time.
Widget extension is not able to fetch Data from DB and throws error disk I/O error (code: 10)
It works initially when app is suspended.
We think, widget shows data until first refresh.
However, when it goes for refresh..
Error occurs.
Implementation has not been updated recently and has been working for all users.
We are using read only DB for widgets, since it does not need to write to DB.
For one user, this issue is continuously happening.
The text was updated successfully, but these errors were encountered: