Opened 18 years ago

Closed 18 years ago

Last modified 15 years ago

#372 closed bug (wontfix)

Parsing Error in Add Delimted Text Plugin

Reported by: geog_rick@… Owned by: timlinux
Priority: major: does not work as expected Milestone:
Component: C++ Plugins Version: Trunk
Keywords: Delimited Text Cc:
Must Fix for Release: No Platform: OS X
Platform Version: Awaiting user input: no

Description

The Delimited Text Plugin does not recognize the eol in the text file being imported. Parsing recognizes the delimiter but does not break lines. The import shows only one continuous line of text with delimiters correctly identified but does not break at eol. Changing the delimiter has no affect.

Attachments (1)

NEXRAD_LOCATIONS1.txt (12.4 KB ) - added by geog_rick@… 18 years ago.
Text file for import using Add Delimited Text Plugin

Download all attachments as: .zip

Change History (7)

comment:1 by g_j_m, 18 years ago

What is the eol character in the file that you are trying to import? Can you attach a sample file? The delimited plugin recgonises \n or \r\n as an eol character.

comment:2 by g_j_m, 18 years ago

Milestone: Version 0.8 Release
Version: HEAD

by geog_rick@…, 18 years ago

Attachment: NEXRAD_LOCATIONS1.txt added

Text file for import using Add Delimited Text Plugin

comment:3 by g_j_m, 18 years ago

The problem is that the end of line character is a CR, which qgis doesn't recognise (unix uses LF and windows CRLF, which qgis does recognise). Qgis uses some Qt code for reading the lines, and it apparently never has supported this old Mac style eol character (and is unlikely to do so - see http://lists.trolltech.com/qt-interest/2006-09/msg00961.html).

I'm not familiar with Macs, but you may find a utility on your mac somewhere that will convert the file from mac eol to unix or windows eol. On my unix computer, there's something called mac2unix that will do the job.

comment:4 by anonymous, 18 years ago

Must Fix for Release: No

Thanks,

That is exactly what I needed to know.

That resolved my problem.

Rick

comment:5 by g_j_m, 18 years ago

Resolution: wontfix
Status: newclosed

comment:6 by (none), 15 years ago

Milestone: Version 0.8

Milestone Version 0.8 deleted

Note: See TracTickets for help on using tickets.