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 "swatplus_api.py", line 122, in <module>
File "actions\write_files.py", line 149, in write
File "actions\write_files.py", line 1052, in write_regions
File "fileio\regions.py", line 24, in write
File "peewee.py", line 6805, in get
File "peewee.py", line 7256, in get
database.project.regions.Ls_unit_eleDoesNotExist: <Model: Ls_unit_ele> instance matching query does not exist:
SQL: SELECT "t1"."id", "t1"."name", "t1"."obj_typ", "t1"."obj_typ_no", "t1"."bsn_frac", "t1"."sub_frac", "t1"."reg_frac", "t1"."ls_unit_def_id" FROM "ls_unit_ele" AS "t1" LIMIT ? OFFSET ?
Params: [1, 0]
[15004] Failed to execute script 'swatplus_api' due to unhandled exception!