Opened 15 years ago

Last modified 13 years ago

#1944 new bug

Cannot upload more than one changed node with OSM provider

Reported by: morb Owned by: wonder
Priority: major: does not work as expected Milestone: Version 1.7.0
Component: Python plugins and bindings Version: 1.6.0
Keywords: osm openstreetmap upload database Cc: dane@…
Must Fix for Release: No Platform: Windows
Platform Version: Awaiting user input: no

Description

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']

Change History (8)

comment:1 by borysiasty, 15 years ago

Owner: changed from borysiasty to wonder

comment:2 by pcav, 14 years ago

Milestone: Version 1.5.0

comment:3 by springmeyer, 14 years ago

Cc: dane@… added

comment:4 by pcav, 14 years ago

Milestone: Version 1.5.0Version 1.6.0

comment:5 by pcav, 14 years ago

No further reports: is this confirmed?

comment:6 by volter, 13 years ago

Milestone: Version 1.6.0Version 1.7.0

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.

comment:7 by baditaflorin, 13 years ago

Milestone: Version 1.7.0
Priority: critical: causes crash or data corruptionmajor: does not work as expected
Version: 1.3.01.6.0

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

self.goToAction(row)

File "C:/PROGRA~1/QUANTU~1/apps/qgis/./python/plugins\osm\OsmUndoRedoDW.py", line 237, in goToAction

self.dbm.commit()

File "C:/PROGRA~1/QUANTU~1/apps/qgis/./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)]

QGIS version: 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']

comment:8 by pcav, 13 years ago

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