havatv / qgisnnjoinplugin

GNU General Public License v2.0
7 stars 8 forks source link

error TypeError: setValue(self, int): argument 1 has unexpected type 'float' #32

Open LJ16 opened 2 years ago

LJ16 commented 2 years ago

Hi have you a issue for me ? after install NNjoin on Ubuntu 22.04 and QGIS 3.22, when i click on icon

`Une erreur est survenue lors de l'éxécution du code Python:

TypeError: setValue(self, int): argument 1 has unexpected type 'float' Traceback (most recent call last): File "/home/laurent/.local/share/QGIS/QGIS3/profiles/default/python/plugins/NNJoin/NNJoin_plugin.py", line 139, in run self.dlg.progressBar.setValue(0.0) TypeError: setValue(self, int): argument 1 has unexpected type 'float'

Version de Python : 3.10.4 (main, Jun 29 2022, 12:14:53) [GCC 11.2.0] Version de QGIS : 3.22.4-Białowieża Białowieża, exported `

LJ

KatonaZsolt commented 2 years ago

Same here!

raymondnijssen commented 1 year ago

I fixed this today and uploaded to my github repository: https://github.com/raymondnijssen/qgisnnjoinplugin/tree/progressbar This plugin will unfortunately not be further developed by the author, so a pull request is not going to work. Not sure if I can get this into the online QGIS plugin repo. For now you can download the linked repo as .zip and "install from zip" with the QGIS Plugin Manager.

9ls1 commented 11 months ago

@raymondnijssen Thanks for maintaining this very nice plugin!