[QGIS-trac] [Quantum GIS] #1944: Cannot upload more than one changed node with OSM provider

Quantum GIS qgis at qgis.org
Tue Sep 22 17:06:18 EDT 2009


#1944: Cannot upload more than one changed node with OSM provider
---------------------------------------------------------+------------------
   Reporter:  morb                                       |              Owner:  borysiasty
       Type:  bug                                        |             Status:  new       
   Priority:  critical: causes crash or data corruption  |          Milestone:            
  Component:  Python plugins and bindings                |            Version:  1.3.0     
   Keywords:  osm openstreetmap upload database          |   Platform_version:            
   Platform:  Windows                                    |           Must_fix:  No        
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 After having downloaded a small area of OpenStreetMap data (about 100
 features), making one change (say a polygon or line), uploading does not
 work as expected.

 The first node in the upload set does happen to get uploaded (confirmed on
 a requery of the area), but no other changes are applied.  Therefore
 listed as priority = data corruption.

 Running on Windows XP, version 1.3.0 Mimas.

 A Python error is also displayed as follows:


 {{{
 An error has occured while executing Python code:

 Traceback (most recent call last):
   File "C:/Program Files/qgis1.3.0/./python/plugins\osm\OsmUploadDlg.py",
 line 1089, in __httpNodeAdditionReqFinished
   File "C:/Program
 Files/qgis1.3.0/./python/plugins\osm\OsmDatabaseManager.py", line 2378, in
 updateNodeId
   File "C:/Program
 Files/qgis1.3.0/./python/plugins\osm\OsmDatabaseManager.py", line 2503, in
 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)]

 Python path:['D:/Program Files/Quantum GIS Mimas/./python', 'C:/Documents
 and Settings/james/.qgis//python/plugins', 'D:/Program Files/Quantum GIS
 Mimas/./python/plugins', 'D:\\Program Files\\Quantum GIS
 Mimas\\bin\\python25.zip', 'C:\\Python25\\Lib', 'C:\\Python25\\DLLs',
 'C:\\Python25\\Lib\\lib-tk', 'D:\\Program Files\\Quantum GIS Mimas',
 'D:\\Program Files\\Quantum GIS Mimas\\bin', 'C:\\Python25',
 'C:\\Python25\\lib\\site-packages', 'C:\\Python25\\lib\\site-
 packages\\PIL', 'C:\\Python25\\lib\\site-packages\\gtk-2.0', 'D:\\Program
 Files\\Quantum GIS Mimas\\python\\plugins\\fTools\\tools']
 }}}

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