inasafe / inasafe

InaSAFE - QGIS plugin for estimating impact from natural disasters
www.inasafe.org
GNU General Public License v3.0
260 stars 135 forks source link

InaSAFE 5.0.1 does not work within QGIS 3.16.5 #5088

Closed haytastan closed 3 years ago

haytastan commented 3 years ago

Problem

The following problem(s) were encountered whilst running the analysis.

- StopIteration

**Diagnostics**

1. In file "C:/Users/hayati.tastan/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\inasafe\safe\impact_function\impact_function.py", line 1470, in run self.style()

2. In file "C:/Users/hayati.tastan/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\inasafe\safe\impact_function\impact_function.py", line 2494, in style self.debug_mode)

3. In file "C:/Users/hayati.tastan/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\inasafe\safe\impact_function\style.py", line 126, in generate_classified_legend analysis_row = next(analysis.getFeatures())

Expected Behaviour

Environment

Checklist:

Proposed Solution

lucernae commented 3 years ago

Hi @haytastan is it correct that the data is in this zip files https://github.com/inasafe/inasafe/files/6272152/DKI.Jakarta.zip?

I found the layer names to be different.

haytastan commented 3 years ago

Problem has been solved with sample data (above) suggested by lucernae. Thanks a lot, lucernae.