<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
(up) Hi, <br />No one can help me? <br />m431m<br /><br />25. Sep 2015 13:50 de <a href="mailto:m431m@tutanota.com" target="_blank">m431m@tutanota.com</a>:<br /><br /><blockquote class="tutanota_quote" style="border-left: 1px solid #93A3B8; padding-left: 10px; margin-left: 5px;">
<span style="background-color: rgba( 255 , 255 , 255 , 0 )">Hi QGIS developers!<br /><br />I got strange error with the 'commitedFeaturesRemoved' signal.<br />See: <a target="_blank" href="http://www.qgis.org/api/classQgsVectorLayer.html#a520550b45603ed20d593b1050768bd97">http://www.qgis.org/api/classQgsVectorLayer.html#a520550b45603ed20d593b1050768bd97</a><br /><br />I try on python console (with any active layer on editing mode):<br />>>> layer = iface.activeLayer()<br />>>> def listener(s, l):<br />>>> print s, l<br />>>> layer.committedFeaturesRemoved.connect(listener)<br /><br />It returns `TypeError: C++ type 'QgsFeatureIds' is not supported as a signal argument type`<br /><br />Now replace `layer.commitedFeaturesRemoved.connect(listener)`by:<br />>>> from PyQt4.QtCore import QObject<br />>>> from PyQt4.QtCore import SIGNAL<br />>>> QObject.disconnect(layer, SIGNAL(r"committedFeaturesRemoved()"), listener)<br /><br />No error, but it returns `False`.<br /><br />If I delete some features and switch off editing mode, it returns nothing! No print! The signal doesn't work(?)<br /><br />After exchanging a few message with some people on irc #qgis, the error only appears with latest QGIS version on OSX10.10.5. (it works well with 2.8.2). <br /><br />Maybe someone that has approached the same problem... and solved it?<br /><br /></span><div>m431m</div></blockquote> </body>
</html>