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

Bug with importer for files containing quotes #3588

Closed
dae opened this issue Nov 18, 2024 · 0 comments · Fixed by #3786
Closed

Bug with importer for files containing quotes #3588

dae opened this issue Nov 18, 2024 · 0 comments · Fixed by #3786

Comments

@dae
Copy link
Member

dae commented Nov 18, 2024

If a wrong delimiter is guessed by the importer and the file contains quotes like this .txt file with commas as delimiter:
Row1,
Row2,"|""|"
Row3,"|""|"
...

The “new” importer will create a single row for Row2 and Row3 including extra columns.
This means the entire file will be displayed in the sample:
image1056×314 13.2 KB
For a large enough file this results in the importer loading forever (the loading time grows exponentially with the file size).

Originally reported on https://forums.ankiweb.net/t/bug-with-importer-for-files-containing-quotes/51732/2

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

Successfully merging a pull request may close this issue.

1 participant