[prev in list] [next in list] [prev in thread] [next in thread]
List: qgis-developer
Subject: [Qgis-developer] OSM plugin errors
From: Paolo Cavallini <cavallini () faunalia ! it>
Date: 2012-11-28 17:11:03
Message-ID: 50B645A7.1060804 () faunalia ! it
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi all.
Various issues with the OSM plugin.
===
If I load OSM layers twice (once with stying, once without), then I
remove the layers downloaded second, I get an error for the first two
(points and lines):
Errore durante l'esecuzione di codice Python:
Traceback (most recent call last):
File
"/home/paolo/.qgis//python/plugins/openlayers_plugin/openlayers_plugin.py",
line 204, in removeLayer
if self.layer != None and self.layer.getLayerID() == layerId:
RuntimeError: wrapped C/C++ object of %S has been deleted
Then it crashes when removing the third (polygons).
===
Editing a layer returns errors (difficult to replicate, probably an
experienced OSMer could spot it better) of the type:
Errore durante l'esecuzione di codice Python:
Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/osm/map_tools/OsmMoveMT.py", line
510, in canvasReleaseEvent
self.__finishFeatureMoving(deltaX,deltaY)
File "/usr/share/qgis/python/plugins/osm/map_tools/OsmMoveMT.py", line
755, in __finishFeatureMoving
affected=self.dbm.moveLine(self.movFeat,deltaX,deltaY,self.snapFeat,self.snapFeatType,self.snapVertexIx)
File "/usr/share/qgis/python/plugins/osm/OsmDatabaseManager.py", line
1413, in moveLine
,{"wayId":str(feat.id())})
InterfaceError: Error binding parameter :wayId - probably unsupported type.
Errore durante l'esecuzione di codice Python:
Traceback (most recent call last):
File
"/usr/share/qgis/python/plugins/osm/map_tools/OsmCreatePointMT.py", line
241, in canvasReleaseEvent
(node,affected)=self.dbm.createPoint(newPoint,self.snapFeat,self.snapFeatType)
File "/usr/share/qgis/python/plugins/osm/OsmDatabaseManager.py", line
515, in createPoint
,{"wayId":str(snapFeat.id()),"posId":str(posId),"newPosId":str(posId+1)})
ProgrammingError: Cannot operate on a closed cursor.
===
Furthermore, when applying a custom styling, selections are no longer
shown in yellow.
All the best.
--
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
[Attachment #5 (text/html)]
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<meta name="qrichtext" content="1">
<p style="margin: 0px; text-indent: 0px;">Hi all.</p>
<p style="margin: 0px; text-indent: 0px;">Various issues with the
OSM plugin.<br>
===<br>
If I load OSM layers twice (once with stying, once without), then
I remove the layers downloaded second, I get an error for the
first two (points and lines):<br>
<!--StartFragment--><span style="color: rgb(255, 0, 0);"></span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="
color:#ff0000;"><br>
Errore durante l'esecuzione di codice Python:</span><br>
<br>
Traceback (most recent call last):<br>
File
"/home/paolo/.qgis//python/plugins/openlayers_plugin/openlayers_plugin.py",
line 204, in removeLayer<br>
if self.layer != None and self.layer.getLayerID() == layerId:<br>
RuntimeError: wrapped C/C++ object of %S has been deleted<br>
</p>
<p style="margin: 0px; text-indent: 0px;"><br>
Then it crashes when removing the third (polygons).<br>
===<br>
</p>
<p style="margin: 0px; text-indent: 0px;">Editing a layer returns
errors (difficult to replicate, probably an experienced OSMer
could spot it better) of the type:
<meta name="qrichtext" content="1">
</p>
<p style="margin: 0px; text-indent: 0px;">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-15">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin: 0px; text-indent: 0px;"><!--StartFragment--><span
style=" color:#ff0000;">Errore durante l'esecuzione di codice
Python:</span><br>
<br>
Traceback (most recent call last):<br>
File
"/usr/share/qgis/python/plugins/osm/map_tools/OsmMoveMT.py",
line 510, in canvasReleaseEvent<br>
self.__finishFeatureMoving(deltaX,deltaY)<br>
File
"/usr/share/qgis/python/plugins/osm/map_tools/OsmMoveMT.py",
line 755, in __finishFeatureMoving<br>
affected=self.dbm.moveLine(self.movFeat,deltaX,deltaY,self.snapFeat,self.snapFeatType,self.snapVertexIx)<br>
File
"/usr/share/qgis/python/plugins/osm/OsmDatabaseManager.py", line
1413, in moveLine<br>
,{"wayId":str(feat.id())})<br>
InterfaceError: Error binding parameter :wayId - probably
unsupported type.</p>
<p style="margin: 0px; text-indent: 0px;"><br>
</p>
<p style="margin: 0px; text-indent: 0px;">
<meta name="qrichtext" content="1">
</p>
</p>
<p style="margin: 0px; text-indent: 0px;">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-15">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; \
text-indent:0px;"><!--StartFragment--><span style=" color:#ff0000;">Errore durante \
l'esecuzione di codice Python:</span><br>
<br>
Traceback (most recent call last):<br>
File
"/usr/share/qgis/python/plugins/osm/map_tools/OsmCreatePointMT.py",
line 241, in canvasReleaseEvent<br>
(node,affected)=self.dbm.createPoint(newPoint,self.snapFeat,self.snapFeatType)<br>
File
"/usr/share/qgis/python/plugins/osm/OsmDatabaseManager.py", line
515, in createPoint<br>
,{"wayId":str(snapFeat.id()),"posId":str(posId),"newPosId":str(posId+1)})<br>
ProgrammingError: Cannot operate on a closed cursor.<!--EndFragment--></p>
</p>
<p style="margin: 0px; text-indent: 0px;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br>
===<!--EndFragment--></p>
</p>
<p style="margin: 0px; text-indent: 0px;">Furthermore, when applying
a custom styling, selections are no longer shown in yellow.<br>
</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br>
All the best.<br>
<!--EndFragment--></p>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-15">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<pre class="moz-signature" cols="72">--
Paolo Cavallini - Faunalia
<a class="moz-txt-link-abbreviated" href="http://www.faunalia.eu">www.faunalia.eu</a>
Full contact details at <a class="moz-txt-link-abbreviated" \
href="http://www.faunalia.eu/pc">www.faunalia.eu/pc</a> Nuovi corsi QGIS e PostGIS: \
<a class="moz-txt-link-freetext" \
href="http://www.faunalia.it/calendario">http://www.faunalia.it/calendario</a></pre> \
</body> </html>
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic