[QGIS-trac] [Quantum GIS] #2173: Crash in python console when
renderer changes
Quantum GIS
qgis at qgis.org
Tue Dec 1 21:48:50 EST 2009
#2173: Crash in python console when renderer changes
---------------------------------------------------------+------------------
Reporter: springmeyer | Owner: nobody
Type: bug | Status: new
Priority: critical: causes crash or data corruption | Milestone: Version 1.4.0
Component: Symbology | Version: HEAD
Keywords: | Platform_version:
Platform: Debian | Must_fix: No
Status_info: 0 |
---------------------------------------------------------+------------------
To replicate:
1) Add layer
2) open python console
{{{
l = qgis.utils.iface.mapCanvas().layer(0)
print l.isUsingRendererV2()
ren = l.rendererV2()
}}}
3) edit symbology of layer with console open
4) type 'print ren' in console again... crash
The object no longer exists and should be returned as None rather than
crashing QGIS.
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/2173>
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