Opened 14 years ago

Last modified 14 years ago

#2599 new bug

OSM plugin/editor: python error when moving features

Reported by: lutra Owned by: wonder
Priority: major: does not work as expected Milestone: Version 1.7.0
Component: Python plugins and bindings Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

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).

Change History (1)

comment:1 by lutra, 14 years ago

Milestone: Version 1.5.0Version 1.6.0
Note: See TracTickets for help on using tickets.