Results 9 comments of VIKAS PAWAR

@david-allison , I’d like to take this up if @thatrajeevkr is not working on it. I’m interested in addressing the issue and implementing the localized error message as discussed. If...

@david-allison I’ll add a short friendly message to DIALOG_LOAD_FAILED (“An error occurred…”) and then show the detailed error below it. I’ll also add a Restore button that opens the repair/restore...

@david-allison I’ll replace the visible DIALOG_LOAD_FAILED text with a short localized fallback: “An error occurred. Tap OK to continue using AnkiDroid.” i was just thinking that the full diagnostic will...

@david-allison ,I think this error: ErrorDbError { info: "Sqlite Failure (Error { code:DatabaseCorrupt, extended_code: 11}, Some("database disk image is malformed"))", kind: Other } should map to DIALOG_LOAD_FAILED (i.e. DIALOG_LOAD_FAILED ->...

@david-allison yes `launchCatchingTask ` doesn’t currently have explicit handling for database corruption errors such as `ErrorDbError `or Android’s `SQLiteDatabaseCorruptException`. Instead, it just catches a generic Exception and calls showError to...

@david-allison, Below is a concise problem summary, where I found things, and a proposed fix for this error : [Since,] database corruption errors (e.g. `SQLiteDatabaseCorruptException` and our `ErrorDbError`) are not...

@david-allison I haven’t yet confirmed if the error is a SQLiteDatabaseCorruptException. I’m trying this for the first time, so I don’t have much idea about the best approach. From above,...

@david-allison This is my first time contributing, so I haven’t set up the project locally yet as i was finding good first issue. Could you guide me on how to...