Bug report #2406
QgsRubberBand python bindings broken
|Affected QGIS version:||Regression?:||No|
|Operating System:||All||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||fixed|
|Crashes QGIS or corrupts data:||Copied to github as #:||12466|
#2 Updated by Borys Jurgiel over 13 years ago
Try to use the QgsRubberBand.addPoint in the python console:
from qgis.gui import *
Is it working for you? I can't provide any backtrace now as I had to downgrade to the d8e8ee46 (SVN r12834). Will do it as soon as I'm able to pause the current work;)
#4 Updated by Martin Dobias over 13 years ago
- Resolution set to fixed
- Status changed from Open to Closed
Just tried out your code snippet: got the invalid argument type error, removed python subdir in my build directory, built and installed again, now it works fine.
I believe this is a build problem that happens when only core or gui python module gets rebuilt and the bindings get out of sync. Should be fixed in 34766114 (SVN r12855).