ankidroid / Anki-Android

AnkiDroid: Anki flashcards on Android. Your secret trick to achieve superhuman information retention.
GNU General Public License v3.0
8.64k stars 2.23k forks source link

"deck not found in limits map" should be more actionable #15195

Open Arthur-Milchior opened 9 months ago

Arthur-Milchior commented 9 months ago

Running on bdff91ce43c3280a7a88412f76cf5edca4d6e358

I just opened a deck and got this message. I believe at the very least that if we display error message, we should add some informations such as:

I don't find this message in ankidroid code, so I assume it's from the backend.

Arthur-Milchior commented 9 months ago

Check media solved the issue. No idea what it meant

Arthur-Milchior commented 9 months ago

The same message appeared in anki. But it offered to read https://docs.ankiweb.net/troubleshooting.html

github-actions[bot] commented 4 months ago

Hello 👋, this issue has been opened for more than 3 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically

david-allison commented 3 months ago

This is also an issue in Anki Desktop

Arthur-Milchior commented 1 month ago

@david-allison I fear I don't understand why it's an issue. While the message in anki desktop is, admittedly, not very clear, adding a button that open that the troubleshooting page at least ensure that the user is not 100% lost. Admittedly, this page is far far too vague, but that's the issue with unspecific error. Implementation is in https://github.com/ankitects/anki/blob/5335d748cfcadb07af77bf2db6a6229efe8f36ec/qt/aqt/errors.py#L275

I'd even add that it's great that anki rust library does not provide the same link, because it would be useless for us. Changing video driver or disabling add-ons can't be done. Instead, we should either have a way to open a troubleshooting page specific to ankidroid.

Or, simply, offering to check the database, because, honestly, there are no other advices that seems useful. (Potentially restarting ankidroid too)