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

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

Open
Arthur-Milchior opened this issue Jan 10, 2024 · 5 comments
Open

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

Arthur-Milchior opened this issue Jan 10, 2024 · 5 comments

Comments

@Arthur-Milchior
Copy link
Member

Running on bdff91c

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:

  • use "check database"
  • raise an issue here

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

@Arthur-Milchior
Copy link
Member Author

Check media solved the issue. No idea what it meant

@Arthur-Milchior Arthur-Milchior changed the title "deck not found in limits map" "deck not found in limits map" should be more actionable Jan 10, 2024
@Arthur-Milchior
Copy link
Member Author

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

This comment has been minimized.

@david-allison
Copy link
Member

This is also an issue in Anki Desktop

@Arthur-Milchior
Copy link
Member Author

@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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants