[QGIS-trac] [Quantum GIS] #2158: OSM plugin: Python error on moving line

Quantum GIS qgis at qgis.org
Sat Nov 28 08:15:08 EST 2009


#2158: OSM plugin: Python error on moving line
------------------------------------------------+---------------------------
   Reporter:  Donkagen2                         |              Owner:  nobody       
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.4.0
  Component:  Build/Install                     |            Version:  HEAD         
   Keywords:  OSM                               |   Platform_version:  1.4.0-59     
   Platform:  Windows                           |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 While trying to move a line feature, a Python error always occurs:

 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 730, in
 __finishFeatureMoving
 affected=self.dbm.moveLine(self.movFeat,deltaX,deltaY,self.snapFeat,self.snapFeatType,self.snapVertexIx)
   File "c:/programme/osgeo4w/apps/qgis-
 dev/./python/plugins\osm\OsmDatabaseManager.py", line 1401, in moveLine
   File "c:/programme/osgeo4w/apps/qgis-
 dev/./python/plugins\osm\OsmDatabaseManager.py", line 1802, in
 changePointStatus
   File "c:/programme/osgeo4w/apps/qgis-
 dev/./python/plugins\osm\OsmDatabaseManager.py", line 2503, in commit
 OperationalError: SQL logic error or missing database
 ...

 The OSM data was in a different directory than the project. Moving the OSM
 files to the project directory stopped the error occuring.

 The line move however never occurs.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2158>
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