FieldStudiesCouncil / QGIS-Biological-Recording-Tools

QGIS plugin for biological recorders. Created with the FSC Tomorrow's Biodiversity project.
GNU General Public License v3.0
10 stars 4 forks source link

setValue() error in bioreclayer.py #60

Open potsherd opened 2 years ago

potsherd commented 2 years ago

I have just loaded the TomBio plugin into qgis on the latest Kubuntu linux (22.04) and it throws this error when plotting a map:

File "/home/lhf/.local/share/QGIS/QGIS3/profiles/default/python/plugins/TomBio/bioreclayer.py", line 485, in makeAtlasFeatures self.progress.setValue(progStart + 100 * i / iLength) TypeError: setValue(self, int): argument 1 has unexpected type 'float'

It works OK if the value is converted with int()

OS: Kubuntu 22.04 qgis: LTR 3.22.6

burkmarr commented 2 years ago

Many thanks - I will fix at next release.