[QGIS-trac] [Quantum GIS] #3159: invalid geometry in python console
crashes qgis
Quantum GIS
qgis at qgis.org
Wed Oct 27 08:57:19 EDT 2010
#3159: invalid geometry in python console crashes qgis
---------------------------------------------------------+------------------
Reporter: elpaso | Owner: borysiasty
Type: bug | Status: new
Priority: critical: causes crash or data corruption | Milestone: Version 1.6.0
Component: Python plugins and bindings | Version: 1.5.0
Keywords: | Platform_version:
Platform: Debian | Must_fix: No
Status_info: 0 |
---------------------------------------------------------+------------------
Open Qgis[[BR]]
Start python Console[[BR]]
Enter and execute this code:
{{{
l=qgis.core.QgsVectorLayer("Point", "QPoint", "memory")
l.dataProvider().addFeatures([qgis.core.QgsFeature(qgis.core.QgsGeometry().fromWkt('POINT(9
, 45)'))])
}}}
An "unknown exception" message appears and python console hangs[[BR]]
Close python console[[BR]]
Re-start python console[[BR]]
Segmentation fault
(note: invalid WKT)
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3159>
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