Bug 90660 - FILEOPEN: incomplete/broken CSV import (TAB separated)
Summary: FILEOPEN: incomplete/broken CSV import (TAB separated)
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.3.4.1 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-16 17:47 UTC by Ronny Standtke
Modified: 2015-04-16 20:01 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
TAB separated file that LibreOffice does not import correctly (19.09 KB, text/plain)
2015-04-16 17:47 UTC, Ronny Standtke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ronny Standtke 2015-04-16 17:47:37 UTC
Created attachment 114835 [details]
TAB separated file that LibreOffice does not import correctly

I tried importing a TAB separated text file (see attachment). Unfortunately, LibreOffice only imports 163 lines of 231 correctly. All other lines are imported into a single line. In Microsoft Excel the import works without any issue...
Comment 1 GerardF 2015-04-16 19:40:47 UTC
(In reply to Ronny Standtke from comment #0)
> Unfortunately,
> LibreOffice only imports 163 lines of 231 correctly. All other lines are
> imported into a single line.

I can confirm this.
After a quick look at the file, problem is cause by double-quotes just after the Tan in line 163:

Invalid_Partition_Size	"{0}" is no valid partition size. Please use inter values.

Changing "Text delimiter" to single quote cure the problem.
I don't know if we should consider this as a bug, so I let status to Unconfirmed waiting for another opinion.
Comment 2 GerardF 2015-04-16 19:41:53 UTC
(In reply to GerardF from comment #1)

> After a quick look at the file, problem is cause by double-quotes just after
> the Tan in line 163:
correction typo: read Tab.
Comment 3 raal 2015-04-16 20:01:32 UTC
(In reply to GerardF from comment #1)
> (In reply to Ronny Standtke from comment #0)
> > Unfortunately,
> > LibreOffice only imports 163 lines of 231 correctly. All other lines are
> > imported into a single line.
> 
> I can confirm this.
> After a quick look at the file, problem is cause by double-quotes just after
> the Tan in line 163:
> 
> Invalid_Partition_Size	"{0}" is no valid partition size. Please use inter
> values.
> 
> Changing "Text delimiter" to single quote cure the problem.
> I don't know if we should consider this as a bug, so I let status to
> Unconfirmed waiting for another opinion.

Sure not a bug. just change Text delimiter: to ' or delete it as Gerard wrote. Then import contain 231 rows. Closing as notabug.