Closed moadAlami closed 4 months ago
Hi @moadAlami thanks for the detailed issue report. Could you please provide us also a screenshot of the UI so we can also mimic the filters used?
Thanks for your response. Here is the screenshot
Hi @moadAlami thanks for the report. I tested it out and for me is working: I would recommend you to reinstall the latest version. Maybe there is some conflict in there. Nevertheless, the line where the error is reported might be problematic in the future, so we will make it more robust for the next patch release. Thanks for your support!
@akshaydr would you mind to try also you to see if it fails on your computer?
I got WaPOR 2 working on Windows, but not on Linux. WaPOR 3 works fine.
Hi @moadAlami thank you again for the support. I addressed the problem you reported, I believe this should solve the issue in both platforms.
I made a patch release with the fix, so you can find the new version in the plugin manager.
If you have any other problem feel free to open a new issue.
Steps to reproduce
Expected result: Download the "Gross Biomass Water" layer.
Actual result An error has occurred while executing Python code:
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float' Traceback (most recent call last): File "/home/mouad/.local/share/QGIS/QGIS3/profiles/default/python/plugins/wap_plugin/wap_plugin.py", line 898, in downloadCroppedRaster self.dlg.progressBar.setValue(progress_value) TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'
Python version: 3.12.3 (main, Apr 23 2024, 09:16:07) [GCC 13.2.1 20240417] QGIS version: 3.36.2-Maidenhead Maidenhead, exported
Python Path: /usr/share/qgis/python /home/mouad/.local/share/QGIS/QGIS3/profiles/default/python /home/mouad/.local/share/QGIS/QGIS3/profiles/default/python/plugins /usr/share/qgis/python/plugins /usr/lib/python312.zip /usr/lib/python3.12 /usr/lib/python3.12/lib-dynload /usr/lib/python3.12/site-packages /home/mouad/.local/share/QGIS/QGIS3/profiles/default/python /home/mouad/.local/share/QGIS/QGIS3/profiles/default/python/plugins/kmltools/libs
Versions
Active Python plugins