USEPA / SWMM-EPANET_User_Interface

User interface for the Stormwater-Management-Model
111 stars 66 forks source link

SWMM - can't edit orifice #326

Closed barrc closed 4 years ago

barrc commented 4 years ago

To reproduce:

Console error:

Traceback (most recent call last):
  File "ui\frmMain.py", line 1865, in make_editor_from_tree
  File "frmOrifices.py", line 58, in __init__
AttributeError: 'str' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "ui\frmMain.py", line 1951, in edit_selected_objects
  File "ui\frmMain.py", line 1873, in make_editor_from_tree
  File "ui\frmMain.py", line 1873, in make_editor_from_tree
  File "ui\frmMain.py", line 1868, in make_editor_from_tree
TypeError: __init__() missing 2 required positional arguments: 'edit_these' and 'new_item'

Version: MTP6r1