Bug report #372

Parsing Error in Add Delimted Text Plugin

Added by geog_rick-yahoo-com - over 17 years ago. Updated almost 15 years ago.

Assignee:Tim Sutton
Category:C++ Plugins
Affected QGIS version: Regression?:No
Operating System:OS X Easy fix?:No
Pull Request or Patch supplied: Resolution:wontfix
Crashes QGIS or corrupts data: Copied to github as #:10431


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.

NEXRAD_LOCATIONS1.txt Magnifier - Text file for import using Add Delimited Text Plugin (12.4 KB) geog_rick-yahoo-com -, 2006-11-07 03:27 PM


#1 Updated by Gavin Macaulay - over 17 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 \
or \
as an eol character.

#2 Updated by Gavin Macaulay - over 17 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.

#3 Updated by anonymous - over 17 years ago


That is exactly what I needed to know.

That resolved my problem.


#4 Updated by Gavin Macaulay - over 17 years ago

  • Resolution set to wontfix
  • Status changed from Open to Closed

#5 Updated by Anonymous almost 15 years ago

Milestone Version 0.8 deleted

Also available in: Atom PDF