| Summary: | big CSV, Calc hangs when separator used in CSV was not selected when last file was opened | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Martin Kozusky <mkozusky> |
| Component: | Calc | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | CLOSED DUPLICATE | ||
| Severity: | normal | CC: | jbfaure, miguelangelrv |
| Priority: | medium | ||
| Version: | 7.1.2.2 release | ||
| Hardware: | x86-64 (AMD64) | ||
| OS: | All | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 109236 | ||
| Attachments: | exemple of big CSV file with semicolon separator | ||
|
Description
Martin Kozusky
2021-04-06 07:17:17 UTC
Hello mkozusky, thanks for reporting this. I think there's probably some ways we could improve this experience, but it seems more like an enhancement then a bug to me. So, I have updated the importance field accordingly. Do you mean that the import window it's not showed at opening every file? The import window is not shown when opening big CSV file with separator that was not selected when opening previous file. May be it would be shown after some long time, I have file with 384 000 lines and 27 cols, so it is quite big, I have waited few hours and nothing ... When I have selected correct separator previously with other file, then preview windows for this big file is shown pretty fast. So it only depends if separator in current file was between selected separators when opening last file or not. When opening small file with wrong separator, it also takes a little time, but then content of the file is shown on one or two lines in import window. Created attachment 171591 [details] exemple of big CSV file with semicolon separator We have a similar problem with the CSV file "donnees-hospitalieres-covid19-2021-05-01-19h09.csv" provided here: https://www.data.gouv.fr/fr/datasets/donnees-hospitalieres-relatives-a-lepidemie-de-covid-19/ and attached here. Step to reproduce the problem: 1/ open a small CSV file with comma separator with LO Calc then close it; 2/ try to open the attached file (first unzip it); you can use 2 methods: 2a/ File > Open 2b/ Sheet > Insert Sheet from File In both cases Calc hangs and doesn't show the CSV import dialog and consumes 100% of its CPU. In fact, in this CSV file, the third first columns are text enclosed between "" even if data seems being numerical data. If, using a text editor, I remove all "" except in the first row, then the file opens without problem in Calc regardless of the separator that the CSV import dialog has stored. My guess is that the CSV import dialog try to find the first row with data and considers that rows starting with " belong to the header. Best regards. JBF Confirmed as bug, it's not en enhancement request. Calc shouldn't freeze and should show the import dialog. Best regards Fixed with bug 102846. *** This bug has been marked as a duplicate of bug 102846 *** |