Opened 15 years ago

Closed 15 years ago

#1661 closed bug (fixed)

Importing a void shapefile created with ftools crashes Qgis

Reported by: vince Owned by: nobody
Priority: critical: causes crash or data corruption Milestone: Version 1.2.0
Component: Python plugins and bindings Version: Trunk
Keywords: ftools Cc: pcav
Must Fix for Release: No Platform: OS X
Platform Version: Awaiting user input: no

Description

If I use ftools to compute the intersection of two layers, and that intersection is void (therefore a void shapefile is created), Qgis crashes (to be more specific, it enters into an infinite loop, I must kill it to exit).

On the console I get the following messages:

Warning: QgsCoordinateReferenceSystem::getRecord failed : select * from tbl_srs where parameters='+proj=lcc +lat_1=46.8 +lat_0=46.8 +lon_0=0 +k_0=0.99987742 +x_0=600000 +y_0=2200000 +a=6378249.2 +b=6356515 +pm=2.3372291666985 +units=m +no_defs' Warning: QgsCoordinateReferenceSystem::findMatchingProj will only work if prj acr ellipsoid acr and proj4string are set!...

Change History (3)

comment:1 by lutra, 15 years ago

Cc: pcav added

I cannot replicate the problem with qgis 1.2 from trunk under both linux and windows. Please give it a try again with the latest version of qgis and of ftools plugin and report back.

comment:2 by pcav, 15 years ago

Milestone: Version 1.2.0

comment:3 by lutra, 15 years ago

Resolution: fixed
Status: newclosed

Closing for lack of feedback and because seems to work, at least with the latest versions of qgis and of the plugin. Reopen if necessary.

Note: See TracTickets for help on using tickets.