WAGIS / wap_plugin

GNU General Public License v3.0
4 stars 2 forks source link

TypeError: QgsRubberBand.reset(): argument 1 has unexpected type 'bool' #24

Closed pvgenuchten closed 7 months ago

pvgenuchten commented 11 months ago

TypeError: QgsRubberBand.reset(): argument 1 has unexpected type 'bool' Traceback (most recent call last): File "C:\Users/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\wap_plugin\wap_plugin.py", line 796, in run self.coord_select_tool = CoordinatesSelectorTool(self.iface.mapCanvas(), File "C:\Users/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\wap_plugin\utils\tools.py", line 41, in init self.reset() File "C:\Users/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\wap_plugin\utils\tools.py", line 50, in reset self.rubberBand.reset(True) TypeError: QgsRubberBand.reset(): argument 1 has unexpected type 'bool'

Python versie: 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)] QGIS versie: 3.30.2-'s-Hertogenbosch 's-Hertogenbosch, 0992b533

fhfonsecaa commented 7 months ago

Hi sorry, for the delay. I noticed you have a different version than the last one supported. The plugin was developed for qgis v3.16. We just released a patch to fix this. You can find it in the plugin manager or our repo.

https://github.com/WAGIS/wap_plugin/releases/tag/v2.0.1

Please bear in mind the following: