ankitects/anki

CSV import error message is not ideal

Offen

#4.346 geöffnet am 17.09.2025

 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (2.965 Forks)batch import
good first issue

Repository-Metriken

Stars
 (27.973 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 4T) (68 gemergte PRs in 30 T)

Beschreibung

How to reproduce:

  • Have a empty file empty.csv
  • do file>import and import empty.csv

Actual result:

  • a view titled "Import file", with content "500: The file you selected is empty". and nothing else

Expected:

  • 500 should not be here. It's not user relevant.
  • there should at least be a button to close the view. In practice it can be closed with esc, and I assume other standard shortcut, but it's not discoverable

Contributor Guide