-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding an empty spatialite db causes qgis to crash #12900
Comments
Author Name: Giovanni Manghi (@gioman) I removed SDA4PP and the messages changes slightly, but sI still have a crash. if using "add raster layer" I get "/home/gio/Desktop/teste is not a supported raster data source" I believe that this should appear more like "empty db" if using "add vector layer" qgis crashes with
|
Author Name: Jürgen Fischer (@jef-n) 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:
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? |
Author Name: Giovanni Manghi (@gioman) Hi, Replying to [comment:3 jef]:
well, gdal 1.7 supports it, so I was just playing around. In any case if you try open a rasterlite db trough "add raster layer" it works fine... since the db has just one raster map, see #11100
In these two cases here I'm getting the crash, see the above message.
If the SL db has at least one layer in it, it works fine for me. If it has more than one qgis correctly present the window to let choose what layers to load, and it all shows fine in the qgis canvas. I used the SL sample dataset.
for no reason in particular, as is valid ogr datasource I was testing qgis behavior.
I removed all the plugins (removed the entire .qgis directory) and I still see the crash when opening empty SL or sqlite dbs. If you please help me on how obtain the backtrace I will post it back right after. cheers |
Author Name: Jürgen Fischer (@jef-n) Replying to [comment:4 lutra]:
Ok. With GDAL 1.7 from experimental I can add the the layer. Is there a
Still no crash on the first case, but on the second with GDAL 1.7. Fixed in
Works fine with GDAL 1.7 for me now, too.
I added instructions to [[UsingTracWithQuantumGis]] |
Author Name: Giovanni Manghi (@gioman)
I prepared one here http://www.faunalia.pt/downloads/db.sqlite.tar.gz The message that shows is
forget about the first case, I was probably testing a sqlite db not well formed, I tested again and is ok.
thanks! |
Author Name: Jürgen Fischer (@jef-n) Replying to [comment:6 lutra]:
Thanks. I meanwhile found planet_earth.sqlite and use it to come up with a patch for #11100. But I take it this doesn't crash anymore anyway. So I'm closing the ticket.
|
Author Name: Giovanni Manghi (@gioman)
Original Redmine Issue: 2840
Redmine category:data_provider
Assignee: nobody -
Steps:
create an empty SL db trough qgis, then try to add it trough "add vector layer" or "add raster layer", it will cause qgis to crash.
Adding it trough "add spatialite layer" does not cause qgis to crash.
tested under ubuntu 10.04 and qgis trunk.
The text was updated successfully, but these errors were encountered: