anki
anki copied to clipboard
CSV import error message is not ideal
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
Hi! I’m pretty new to contributing to open source. I’d like to try tackling this issue as my first contribution to Anki, to get familiar to the codebase. I feel like it should be a beginner-friendly issue.
Hi josod827, in my opinion you solution is buggy because you just removed four first letters of message but you what woud occur if source changes from error generetor? your solution is not good, but it works.
#4383
i solved it in this way