<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
Thank you for your answers!<br /><br />> Sometimes there is quiet a lot of traffic on this list and some questions<br />> get forgotten. Or simply nobody knows the answer. Don't take it personal :-)<br /><br />No problem, I do understand ;-)<br /><br />> It may have already been resolved by Jürgen in:<br />> <a href="https://github.com/qgis/QGIS/commit/b5794b2f2ddc2eae746ad67eac8e899c44963d7c" target="_blank">https://github.com/qgis/QGIS/commit/b5794b2f2ddc2eae746ad67eac8e899c44963d7c</a><br />> Any chance you could test with the latest master version and confirm?<br /><br />Great!<br />I use mac version from Kyngchaos website. I never compiled QGIS on OSX... nor Debian indeed...<br />When is the next release which integrate this commit?<br /><br />m431m<br /><br />14. Nov 2015 11:01 de <a href="mailto:nyall.dawson@gmail.com" target="_blank">nyall.dawson@gmail.com</a>:<br /><br /><blockquote class="tutanota_quote" style="border-left: 1px solid #93A3B8; padding-left: 10px; margin-left: 5px;">On 14 November 2015 at 20:52, Matthias Kuhn <<a target="_blank" href="mailto:matthias@opengis.ch">matthias@opengis.ch</a>> wrote:<blockquote>Hi,<br /><br />Sometimes there is quiet a lot of traffic on this list and some questions<br />get forgotten. Or simply nobody knows the answer. Don't take it personal :-)<br /><br />I don't know if that's the reason, but you should use new-style signals.</blockquote><br />It may have already been resolved by Jürgen in:<br /><br /><a target="_blank" href="https://github.com/qgis/QGIS/commit/b5794b2f2ddc2eae746ad67eac8e899c44963d7c">https://github.com/qgis/QGIS/commit/b5794b2f2ddc2eae746ad67eac8e899c44963d7c</a><br /><br />Any chance you could test with the latest master version and confirm?<br /><br />Nyall<br /><br /><br /><br /><blockquote><br />iface.activeLayer().committedFeaturesRemoved.connect(listener)<br /><br />Maybe it helps.<br /><br />Best,<br />Matthias<br /><br /><br /><br />On 11/13/2015 09:18 AM, //./\\-/_.\\ wrote:<br /><br />Hi developers,<br /><br />With OSX, QGIS 2.8.3 and higher, I found an error  what appears to be a<br />regression (perhaps).<br />And with QGIS 2.12, the problem persists.<br /><br />So, if you want to try to reproduce the error, open python console and try<br />(with any active layer on editing mode):<br /><blockquote><blockquote><blockquote>layer = iface.activeLayer()<br />def listener(s, l):<br />    print s, l</blockquote></blockquote></blockquote><br />Then,<br /><blockquote><blockquote><blockquote>layer.committedFeaturesRemoved.connect(listener)</blockquote></blockquote></blockquote><br />Or<br /><blockquote><blockquote><blockquote>from PyQt4.QtCore import QObject<br />from PyQt4.QtCore import SIGNAL<br />QObject.connect(layer, SIGNAL(r"committedFeaturesRemoved(QString,<br />QgsFeatureIds )"), listener)</blockquote></blockquote></blockquote><br />It returns this error: “TypeError: C++ type 'QgsFeatureIds' is not supported<br />as a signal argument type”<br /><br />My English is so bad that nobody wants to answer me?<br /><br />m431m<br /><br /><br /><br />1. Oct 2015 16:22 de <a target="_blank" href="mailto:m431m@tutanota.com">m431m@tutanota.com</a>:<br /><br />Hi,<br />No Mac user able to reproduce the error? Am i the only one?<br />m431m<br /><br />25. Sep 2015 13:50 de <a target="_blank" href="mailto:m431m@tutanota.com">m431m@tutanota.com</a>:<br /><br />Hi QGIS developers!<br /><br />I got strange error with the 'commitedFeaturesRemoved' signal.<br />See:<br /><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):<blockquote><blockquote><blockquote>layer = iface.activeLayer()<br />def listener(s, l):<br />    print s, l<br />layer.committedFeaturesRemoved.connect(listener)</blockquote></blockquote></blockquote><br />It returns `TypeError: C++ type 'QgsFeatureIds' is not supported as a signal<br />argument type`<br /><br />Now replace `layer.commitedFeaturesRemoved.connect(listener)`by:<blockquote><blockquote><blockquote>from PyQt4.QtCore import QObject<br />from PyQt4.QtCore import SIGNAL<br />QObject.disconnect(layer, SIGNAL(r"committedFeaturesRemoved()"),<br />listener)</blockquote></blockquote></blockquote><br />No error, but it returns `False`.<br /><br />If I delete some features and switch off editing mode, it returns nothing!<br />No print! The signal doesn't work(?)<br /><br />After exchanging a few message with some people on irc #qgis, the error only<br />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 />m431m<br /><br /><br /><br />_______________________________________________<br />Qgis-developer mailing list<br /><a target="_blank" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br />List info: <a target="_blank" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br />Unsubscribe: <a target="_blank" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br /><br /><br />--<br />Matthias Kuhn<br />OPENGIS.ch - <a target="_blank" href="https://www.opengis.ch">https://www.opengis.ch</a><br />Spatial • (Q)GIS • PostGIS • Open Source<br /><br /><br />_______________________________________________<br />Qgis-developer mailing list<br /><a target="_blank" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br />List info: <a target="_blank" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br />Unsubscribe: <a target="_blank" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote>_______________________________________________<br />Qgis-developer mailing list<br /><a target="_blank" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br />List info: <a target="_blank" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br />Unsubscribe: <a target="_blank" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote>  </body>
</html>