gajendra khan
unread,Dec 15, 2025, 9:34:33 AM (yesterday) Dec 15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SWAT+ Editor
Traceback (most recent call last):
File "peewee.py", line 7295, in get
File "peewee.py", line 4581, 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 807, in insert_landuse
File "peewee.py", line 6838, in get
File "peewee.py", line 7298, in get
database.project.hru_parm_db.Plants_pltDoesNotExist: <Model: Plants_plt> instance matching query does not exist:
SQL: SELECT "t1"."id", "t1"."name", "t1"."plnt_typ", "t1"."gro_trig", "t1"."nfix_co", "t1"."days_mat", "t1"."bm_e", "t1"."harv_idx", "t1"."lai_pot", "t1"."frac_hu1", "t1"."lai_max1", "t1"."frac_hu2", "t1"."lai_max2", "t1"."hu_lai_decl", "t1"."dlai_rate", "t1"."can_ht_max", "t1"."rt_dp_max", "t1"."tmp_opt", "t1"."tmp_base", "t1"."frac_n_yld", "t1"."frac_p_yld", "t1"."frac_n_em", "t1"."frac_n_50", "t1"."frac_n_mat", "t1"."frac_p_em", "t1"."frac_p_50", "t1"."frac_p_mat", "t1"."harv_idx_ws", "t1"."usle_c_min", "t1"."stcon_max", "t1"."vpd", "t1"."frac_stcon", "t1"."ru_vpd", "t1"."co2_hi", "t1"."bm_e_hi", "t1"."plnt_decomp", "t1"."lai_min", "t1"."bm_tree_acc", "t1"."yrs_mat", "t1"."bm_tree_max", "t1"."ext_co", "t1"."leaf_tov_mn", "t1"."leaf_tov_mx", "t1"."bm_dieoff", "t1"."rt_st_beg", "t1"."rt_st_end", "t1"."plnt_pop1", "t1"."frac_lai1", "t1"."plnt_pop2", "t1"."frac_lai2", "t1"."frac_sw_gro", "t1"."aeration", "t1"."rsd_pctcov", "t1"."rsd_covfac", "t1"."description" FROM "plants_plt" AS "t1" WHERE ("t1"."name" LIKE ?) LIMIT ? OFFSET ?
Params: ['wetw', 1, 0]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "peewee.py", line 7295, in get
File "peewee.py", line 4581, 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 954, in insert_landuse
File "peewee.py", line 6838, in get
File "peewee.py", line 7298, in get
database.project.hru_parm_db.Urban_urbDoesNotExist: <Model: Urban_urb> instance matching query does not exist:
SQL: SELECT "t1"."id", "t1"."name", "t1"."frac_imp", "t1"."frac_dc_imp", "t1"."curb_den", "t1"."urb_wash", "t1"."dirt_max", "t1"."t_halfmax", "t1"."conc_totn", "t1"."conc_totp", "t1"."conc_no3n", "t1"."urb_cn", "t1"."description" FROM "urban_urb" AS "t1" WHERE ("t1"."name" LIKE ?) LIMIT ? OFFSET ?
Params: ['wetw', 1, 0]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "actions\import_gis.py", line 140, in insert_default
File "actions\import_gis.py", line 981, in insert_hrus
File "actions\import_gis.py", line 967, in insert_landuse
ValueError: wetw does not exist in plants_plt or urban_urb, but is used as land use in your GIS HRUs.