Bug report #1944
Cannot upload more than one changed node with OSM provider
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Windows||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||12004|
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']
#2 Updated by Volker Fröhlich over 10 years ago
Problems are obviously still around for 1.6 in Windows. I didn't even manage to make any successful editing at all and finally also got one of these "SQL logic" errors.
There also seems to be some super-aggressive snapping in Windows, although snapping is not active in project settings.
Removing the layers I got some "RTTI" message and crashed QGIS.
I also tried R15179 on Linux. Editing worked here, also no trace of that snapping. I didn't try to upload though.
#3 Updated by baditaflorin - over 10 years ago
An error has occured while executing Python code:
Traceback (most recent call last):
File "C:/PROGRA~1/QUANTU~1/apps/qgis/./python/plugins\\osm\\OsmUndoRedoDW.py", line 86, in currRowChanged
File "C:/PROGRA~1/QUANTU~1/apps/qgis/./python/plugins\\osm\\OsmUndoRedoDW.py", line 237, in goToAction
File "C:/PROGRA~1/QUANTU~1/apps/qgis/./python/plugins\\osm\\OsmDatabaseManager.py", line 2503, in commit
OperationalError: SQL logic error or missing database
2.5.2 (c5cd2930 (SVN r253):60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
1.6.0-Capiapo Capiapo, exported
Python path: ['C:/PROGRA~1/QUANTU~1/apps/qgis/./python', 'C:/Documente/Mijloc/.qgis/python', 'C:/Documente/Mijloc/.qgis/python/plugins', 'C:/PROGRA~1/QUANTU~1/apps/qgis/./python/plugins', 'C:\\\\PROGRA~1\\\\QUANTU~1\\\\apps\\\\gdal-17\\\\pymod', 'C:\\\\Program Files\\\\Quantum GIS Copiapo', 'C:\\\\PROGRA~1\\\\QUANTU~1\\\\bin\\\\python25.zip', 'C:\\\\PROGRA~1\\\\QUANTU~1\\\\apps\\\\Python25\\\\DLLs', 'C:\\\\PROGRA~1\\\\QUANTU~1\\\\apps\\\\Python25\\\\lib', 'C:\\\\PROGRA~1\\\\QUANTU~1\\\\apps\\\\Python25\\\\lib\\\\plat-win', 'C:\\\\PROGRA~1\\\\QUANTU~1\\\\apps\\\\Python25\\\\lib\\\\lib-tk', 'C:\\\\PROGRA~1\\\\QUANTU~1\\\\apps\\\\qgis\\\\bin', 'C:\\\\PROGRA~1\\\\QUANTU~1\\\\apps\\\\Python25', 'C:\\\\PROGRA~1\\\\QUANTU~1\\\\apps\\\\Python25\\\\lib\\\\site-packages', 'C:\\\\PROGRA~1\\\\QUANTU~1\\\\apps\\\\Python25\\\\lib\\\\site-packages\\\\win32', 'C:\\\\PROGRA~1\\\\QUANTU~1\\\\apps\\\\Python25\\\\lib\\\\site-packages\\\\win32\\\\lib', 'C:\\\\PROGRA~1\\\\QUANTU~1\\\\apps\\\\Python25\\\\lib\\\\site-packages\\\\Pythonwin', 'C:\\\\PROGRA~1\\\\QUANTU~1\\\\apps\\\\Python25\\\\lib\\\\site-packages\\\\wx-2.8-msw-unicode', 'C:\\\\PROGRA~1\\\\QUANTU~1\\\\apps\\\\qgis\\\\python\\\\plugins\\\\fTools\\\\tools', 'C:\\\\Documente\\\\Mijloc\\\\.qgis\\\\python\\\\plugins\\\\openlayersov\\\\logic', 'C:\\\\Documente\\\\Mijloc\\\\.qgis\\\\python\\\\plugins\\\\openlayersov\\\\gui']