Bug #6573
Python bindings fail on 1.9-master for Windows
| Status: | New | Start Date: | 10/26/2012 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Platform: | Patch supplied: | No | ||
| Platform version: | Affected version: | master | ||
| Status info: | Causes crash or corruption: | No | ||
| Resolution: |
Description
A connect() that works OK on 1.9-master for Linux fails in Windows with this message:
vLayer.geometryChanged.connect(self.onNodeGeometryChange) TypeError: connect() failed between geometryChanged(QgsFeatureId,QgsGeometry) and unislot()
The code looks like this:
...
vLayer.geometryChanged.connect(self.onNodeGeometryChange)
...
@pyqtSlot(int, QgsGeometry)
def onNodeGeometryChange(self, featureId, geom ):
...
I had a similar problem in Linux with QGIS 1.8 wich was solved upgrading to master after being aware of 32978fb4