Bug report #3490

Delimited text plugin does not work in trunk

Added by Alister Hood over 13 years ago. Updated over 13 years ago.

Status:Closed
Priority:Low
Assignee:Gary Sherman
Category:C++ Plugins
Affected QGIS version: Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:13550

Description

I can no longer add any delimited text file that used to work.
Ramon reported the same thing on the mailing list; I'm not sure what OS he is using.
qgis-dev-1.7.0-65 and qgis-dev-1.7.0-68 both do not work. I think the previous version I was running did, but there is no easy way to revert to it to check.

An error message like this is produced:

The layer X:/7372-%20WCC%20Twin%20Streams%20ICMP/test.csv?delimiter=%5B,%5D&delimiterType=regexp&xField=East&yField=North is not a valid layer and can not be added to the map

test.csv Magnifier (1.08 KB) Alister Hood, 2011-02-15 01:08 PM

Associated revisions

Revision 972f10fe
Added by Jürgen Fischer over 13 years ago

fix #3490

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15177 c8812cc2-4d05-0410-92ff-de0c093fc19c

Revision 24648847
Added by Jürgen Fischer over 13 years ago

fix #3490

git-svn-id: http://svn.osgeo.org/qgis/trunk@15177 c8812cc2-4d05-0410-92ff-de0c093fc19c

History

#1 Updated by Marco Hugentobler over 13 years ago

Could you attach an example file? I just tested today (8e0e6f4a (SVN r15174)) with a very simple csv and it worked for me.

#2 Updated by Alister Hood over 13 years ago

For what it's worth:

gis-dev-1.7.0-68 =

If I replace delimitedtextplugin.dll with the one from QGIS 1.6 it works.

#3 Updated by Alister Hood over 13 years ago

I just tested today (8e0e6f4a (SVN r15174)) with a very simple csv and it worked for me.

For the record, it still doesn't work for me with 1a4ff7dc (SVN r15176)

#4 Updated by Jürgen Fischer over 13 years ago

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

Replying to [comment:3 Alister]:

I just tested today (8e0e6f4a (SVN r15174)) with a very simple csv and it worked for me.

For the record, it still doesn't work for me with 1a4ff7dc (SVN r15176)

No need to keep records about how long untouched things don't change. ;)

Fixed in 24648847 (SVN r15178).

Should be a windows only problem with Qt >4.5 (or >4.6 - which OSGeo4W skipped). QUrl now strips off the drive letter. Existing layers need to be recreated, when affected by this.

Also available in: Atom PDF