QSWATMOD2

7 views
Skip to first unread message

Hailu Nega

unread,
Jan 20, 2026, 10:57:16 PM (13 days ago) Jan 20
to SWAT-MODFLOW
Hello everyone, I am currently using the latest QSWATMOD2 to create modflow .And also when i tried to create  modflow river it is an error . when it reaches 85% , creating WRITE modflow, it gives an error occurred.  Here is the specific error message. Could you please tell me how to solve it? Her it is the error massage.

2026-01-21T11:25:40     WARNING    Traceback (most recent call last):
              File "C:\Users/DELL/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATMOD2\dialogs\createMFmodel_dialog.py", line 1205, in writeMF
              writeMF.writeMFmodel(self)
              File "C:\Users/DELL/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATMOD2\pyfolder\writeMF.py", line 858, in writeMFmodel
              riv = QgsProject.instance().mapLayersByName("mf_riv2 (MODFLOW)")[0]
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
             IndexError: list index out of range





qswatmod2.png
Reply all
Reply to author
Forward
0 new messages