Ticket #1661 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

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
Platform Version: Platform: OS X
Must Fix for Release: No 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

Changed 4 years ago by lutra

  • 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.

Changed 4 years ago by pcav

  • milestone set to Version 1.2.0

Changed 4 years ago by lutra

  • status changed from new to closed
  • resolution set to fixed

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.