You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello Håvard,
I've installed NNJoin on a clean QGIS environment without further third party plugins. I've tried with QGIS 3.34.7 and 3.36.3 running on Windows 10. I've tried on two different computers.
When I start NNJoin the following python error occures:
2024-05-30T17:50:25 WARNING Traceback (most recent call last):
File "C:\Users/snbuser/AppData/Roaming/QGIS/QGIS3\profiles\20240530/python/plugins\NNJoin\NNJoin_plugin.py", line 137, in run
self.dlg.progressBar.setValue(0.0)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'
So NNJoin does not start.
Best wishes, Thomas
The text was updated successfully, but these errors were encountered:
I encountered the same problem, here is how I solved it:
1.Locate the File:
Navigate to the directory where the plugin is stored. According to the error message, the file is located at:
C:\Users...\python\plugins\NNJoin\NNJoin_plugin.py
2.Open the File, Open NNJoin_plugin.py with a text editor that you are comfortable using, such as Notepad++, Visual Studio Code (WHAT I USE), or PyCharm.
3.Search for the line in the file where the error occurs. It should look like this:
self.dlg.progressBar.setValue(0.0)
4.Change the float 0.0 to an integer 0 to ensure compatibility with the setValue() method, which expects an integer. Update the
line to:
self.dlg.progressBar.setValue(0)
A restart of QGIS is needed.
Hello Håvard,
I've installed NNJoin on a clean QGIS environment without further third party plugins. I've tried with QGIS 3.34.7 and 3.36.3 running on Windows 10. I've tried on two different computers.
When I start NNJoin the following python error occures:
2024-05-30T17:50:25 WARNING Traceback (most recent call last):
File "C:\Users/snbuser/AppData/Roaming/QGIS/QGIS3\profiles\20240530/python/plugins\NNJoin\NNJoin_plugin.py", line 137, in run
self.dlg.progressBar.setValue(0.0)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'
So NNJoin does not start.
Best wishes, Thomas
The text was updated successfully, but these errors were encountered: