Closed FLO-2DKaren closed 3 months ago
Try this test.
The issue is I saw was that the wall dialog didn't recognize any line layers until I restarted twice.
I wonder if this is because it was looking for the memory.
Note that the memory for this layer is being written to QGIS memory not to the Geopackage.
And I also noticed that the walls still need to be inside the User layers. I think we should look at the branches because I might have missed a branch.
Or maybe we abandoned that method and I'm ok with that since the error message states that the layer should be inside the user layers.
Remove the check for walls.
Error: AttributeError: 'NoneType' object has no attribute 'layer'
In file: C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\Clean/python/plugins\flo2d\gui\dlg_walls_shapefile.py
In function: create_user_levees_from_walls_shapefile
On line 227:
The check is removed. Done and merged on https://github.com/FLO-2DSoftware/qgis-flo-2d-plugin/pull/1498
Did some tests and all good.
OK my test passed too.
Wall memory may cause an issue when used the first time on a clean profile.