[QGIS-trac] [Quantum GIS] #2599: OSM plugin/editor: python error
when moving features
Quantum GIS
qgis at qgis.org
Sun Mar 28 12:11:15 EDT 2010
#2599: OSM plugin/editor: python error when moving features
------------------------------------------------+---------------------------
Reporter: lutra | Owner: wonder
Type: bug | Status: new
Priority: major: does not work as expected | Milestone: Version 1.5.0
Component: Python plugins and bindings | Version: HEAD
Keywords: | Platform_version:
Platform: All | Must_fix: No
Status_info: 0 |
------------------------------------------------+---------------------------
After downloading OSM data, when trying to move a feature I get:
{{{
An error has occured while executing Python code:
Traceback (most recent call last):
File "C:/OSGeo4W/apps/qgis-
dev/./python/plugins\osm\map_tools\OsmMoveMT.py", line 485, in
canvasReleaseEvent
self.__finishFeatureMoving(deltaX,deltaY)
File "C:/OSGeo4W/apps/qgis-
dev/./python/plugins\osm\map_tools\OsmMoveMT.py", line 734, in
__finishFeatureMoving
affected=self.dbm.movePolygon(self.movFeat,deltaX,deltaY,self.snapFeat,self.snapFeatType,self.snapVertexIx)
File "C:/OSGeo4W/apps/qgis-
dev/./python/plugins\osm\OsmDatabaseManager.py", line 1478, in movePolygon
self.changePointStatus(nodeId,"N","U")
File "C:/OSGeo4W/apps/qgis-
dev/./python/plugins\osm\OsmDatabaseManager.py", line 1802, in
changePointStatus
self.commit()
File "C:/OSGeo4W/apps/qgis-
dev/./python/plugins\osm\OsmDatabaseManager.py", line 2503, in commit
self.getConnection().commit()
OperationalError: SQL logic error or missing database
Python version:
2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
}}}
I'm getting this under qgis trunk under windows Seven, but I have spotted
it also under Ubuntu 9.10 (qgis trunk).
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2599>
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