ankitects/anki

CSV import error message is not ideal

Open

#4,346 opened on Sep 17, 2025

 (4 comments) (0 reactions) (0 assignees)Rust (2,965 forks)batch import
good first issue

Repository metrics

Stars
 (27,973 stars)
PR merge metrics
 (Avg merge 4d) (68 merged PRs in 30d)

Description

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