When I try to use the plugin NNjoin on QGIS resulting this message:
TypeError: setValue(self, int): argument 1 has unexpected type 'float'
How can I fix this error?
When I try to use the plugin NNjoin on QGIS resulting this message:
TypeError: setValue(self, int): argument 1 has unexpected type 'float'
How can I fix this error?
This is a bug. setValue expects int value. But in NNJoin_plugin.py file it takes 0.0 which is float.
For a temporary solution:
Go to the plugin folder (Settings > User Profiles > Open Active Profile Folder, and navigate to python\plugins\NNJoin)
In file NNJoin_plugin.py (Line 137) and NNJoin_gui.py (Line 224), change 0.0 to 0.
Restart QGIS.