[QGIS-trac] Re: [Quantum GIS] #2840: adding an empty spatialite db causes qgis to crash

Quantum GIS qgis at qgis.org
Sun Jun 27 06:03:34 EDT 2010


#2840: adding an empty spatialite db causes qgis to crash
---------------------------------------------------------+------------------
   Reporter:  lutra                                      |              Owner:  nobody       
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.5.0
  Component:  Data Provider                              |            Version:  HEAD         
   Keywords:                                             |   Platform_version:               
   Platform:  Debian                                     |           Must_fix:  No           
Status_info:  0                                          |  
---------------------------------------------------------+------------------

Comment(by jef):

 We don't have support for rasterlite.  So it's an unsupported datasource.

 When I try to add spatialite layers using OGR (ie. "Add Vector Layers...")
 I get:
 - on a completely empty sqlite database:  "empty.db is not a valid or
 recognized datasource".
 - on a fresh spatialite database without any layers: a sublayer list with
 geom_ref_sys, geometry_columns and spatial_ref_sys. and selecting a table
 produces a mostly useless layer,
 - on a spatialite database with layers: adding a "valid" layer also
 produces a useless layer.

 Why are you trying to you OGR instead of the spatialite provider?

 Anyway still no crash. Are you sure that you don't have any other
 misbehaving plugins?  What about a backtrace?

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2840#comment:3>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list