-
-
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
If there is any feature selected, QGIS crashes on exiting. #12435
Comments
Author Name: Giovanni Manghi (@gioman) I'm trying to replicate the issue but I'm not understanding much. Can you explain me what exactly to do in step 5)? The features to be selected are in the postgis layer created with the sql you attached or in the vector you say to add in step 4) ? What has one vector to do with the other? The findbyattr.py file you attached is to replace the original provided with the "find by attribute plugin"? If yes, should I see something different in the modified plugin? I tried and it seems the same to me. |
Author Name: luca76 - (luca76 -) Download "find by attribute 0.3" from the plugin repository; then replace the Findbyattr.py code with the attached one. The difference is that the attached code selects the found features on the map and zooms to them. Use the plugin to find for road name (from the vector layer). After if you exit Qgis, it crashes. |
Author Name: Giovanni Manghi (@gioman) Replying to [comment:2 trapanator]:
ok, I'll try it.
what vector layer? the sql statement you attached does not add any "road" vector/table. |
Author Name: luca76 - (luca76 -) Replying to [comment:3 lutra]:
see the step 3) of the description of the bug. If you want to test, download it from here: http://webapps.comune.trento.it/base/varie.zip crashes in Windows XP (with OSGEO4W and the official setup), but maybe it's a Operating System related bug (in Ubuntu I am not able to reproduce it...) |
Author Name: luca76 - (luca76 -) I found that de-selecting features BEFORE exit, QGIS no longer crashes. Maybe it's a memory leak bug. |
Author Name: Giovanni Manghi (@gioman) I really don't know if I'm doing it right, but I get no crashes under qgis 1.4 (osgeo4w) under xp. Added the the "grafo" vector layer Replaced the findbyattr.py of the "find by attribute plugin" Tested the modified plugin (that seems to work fine) on the "grafo" vector layer both as shape and postgis Even with features selected, closing qgis (in all possible ways) does not give a crash |
Author Name: luca76 - (luca76 -) I made another test. It's a subdle bug, and I found that the guilty might be a corrupted ECW image. Setting this bug CLOSED INVALID.
|
Author Name: luca76 - (luca76 -)
Original Redmine Issue: 2375
Redmine category:python_plugins
Assignee: Jürgen Fischer
I've wrote a python plugin that selects some features and views them on the map.
I found that if there's a particular [[PostGIS]] layer and you select some features from a Shapefile Vector layer, exiting QGIS crashes.
To test a plugin, you can download the "Find attribute plugin 0.3" and modify it in order to view the selected features. I'll attach it anyway.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: