Need HELP

9 views
Skip to first unread message

Biniam Adane

unread,
Jan 25, 2026, 10:51:35 PM (13 days ago) Jan 25
to SWAT+ Editor
Traceback (most recent call last):
  File "peewee.py", line 7253, in get
  File "peewee.py", line 4553, in __getitem__
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "actions\import_gis.py", line 1226, in insert_hru_ltes
  File "peewee.py", line 6805, in get
  File "peewee.py", line 7256, in get
database.project.soils.Soils_solDoesNotExist: <Model: Soils_sol> instance matching query does not exist:
SQL: SELECT "t1"."id", "t1"."name", "t1"."hyd_grp", "t1"."dp_tot", "t1"."anion_excl", "t1"."perc_crk", "t1"."texture", "t1"."description" FROM "soils_sol" AS "t1" WHERE ("t1"."name" LIKE ?) LIMIT ? OFFSET ?
Params: ['1', 1, 0]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "actions\import_gis.py", line 121, in insert_default
  File "actions\import_gis.py", line 1229, in insert_hru_ltes
ValueError: 1 does not exist in soils_sol, but is used as soil in your GIS HRUs.

Reply all
Reply to author
Forward
0 new messages