Closed FLO-2DKaren closed 1 month ago
What button exactly was triggering the error?
Levee Breach button.
It worked fine on my side.
This button works? It still isn't working for me.
2024-10-10T08:59:43 WARNING Traceback (most recent call last): File "C:\Users/Karen/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\flo2d\gui\levee_and_breach_editor_widget.py", line 139, in show_levees dlg_individual_levees = IndividualLeveesDialog(self.iface, self.lyrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users/Karen/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\flo2d\gui\dlg_breach.py", line 763, in init if cellIDNumpyArray is None: ^^^^^^^^^^^^^^^^ NameError: name 'cellIDNumpyArray' is not defined
Hi Karen,
Yes, it is working fine here. Can you make a short video so I can see what is happening?
The project you sent to me is just a portion of the levee. Can you send this one that you're using? I don't see the error here.,
Yes. I rebuild a short section to test it but it still wasn't working on my computer. I'm going to restart my computer. Rio Grande Short orig.zip
I got the error here! I was using an old plugin. Let me fix it.
Yay!!!
I was using an old qgis profile thinking that my plugin was updated. My bad
This was caused by a removed import. It is a little weird, because it was a global variable. Done and fixed on https://github.com/FLO-2DSoftware/qgis-flo-2d-plugin/pull/1572
We wouldn't have seen it in testing because we don't set up levee failure that way on the self help kit.
Tested on multiple projects.
Rio Grande Short.zip
This is an imported project. I wanted to set up a levee breach but I got an error about the cell array. So I deleted the old levee and rebuilt it using a short section. Can you click the breach button and see if you get the error?