Opened 13 years ago

Closed 13 years ago

#3490 closed bug (fixed)

Delimited text plugin does not work in trunk

Reported by: Alister Owned by: gsherman
Priority: major: does not work as expected Milestone: Version 1.7.0
Component: C++ Plugins Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: Windows
Platform Version: XP Awaiting user input: no

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

Attachments (1)

test.csv (1.1 KB ) - added by Alister 13 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by mhugent, 13 years ago

Owner: changed from timlinux to gsherman

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

by Alister, 13 years ago

Attachment: test.csv added

comment:2 by Alister, 13 years ago

For what it's worth:

gis-dev-1.7.0-68 = r15172

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

comment:3 by Alister, 13 years ago

I just tested today (r15173) with a very simple csv and it worked for me.

For the record, it still doesn't work for me with r15175

in reply to:  3 comment:4 by jef, 13 years ago

Resolution: fixed
Status: newclosed

Replying to Alister:

I just tested today (r15173) with a very simple csv and it worked for me.

For the record, it still doesn't work for me with r15175

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

Fixed in r15177.

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.

Note: See TracTickets for help on using tickets.