FLO-2DSoftware / qgis-flo-2d-plugin

A plugin for pre-processing/post-processing FLO-2D models
8 stars 8 forks source link

SD Import Outfall Error Warning #1535

Closed FLO-2DKaren closed 2 months ago

FLO-2DKaren commented 2 months ago

2024-09-03T11:34:13 INFO FLO-2D : Selected Storm Drain Outfall: O-35-31-23 2024-09-03T11:34:13 WARNING Python error : An error has occurred while executing Python code: See message log (Python Error) for more details.

          File "C:\Users/Karen/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\flo2d\flo2d.py", line 3779, in show_sd_outlets_attributes
          dlg.populate_attributes(fid)
          File "C:\Users/Karen/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\flo2d\gui\dlg_storm_drain_attributes.py", line 754, in populate_attributes
          self.fixed_stage.setValue(float(attributes[4]))
          ^^^^^^^^^^^^^^^^^^^^
         ValueError: could not convert string to float: '*'

SWMM.zip

FLO-2DKaren commented 2 months ago

This is a minor bug. It's not critical.

rpachaly commented 2 months ago

@FLO-2DKaren, it is fixed. Already pushed to the branch. Just download it again and continue testing.

FLO-2DKaren commented 2 months ago

I saw a lot of / in swmm.inp files that come from other clients. I know EPA SWMM uses / as a wildcard for design purposes but why would you have one in the fixed stage field? What would it even do?