Please help me to know this error.

34 views
Skip to first unread message

Abhishek Pathania

unread,
Nov 3, 2025, 10:10:09 AMNov 3
to SWAT+ Editor
Traceback (most recent call last):
  File "peewee.py", line 3322, in execute_sql
sqlite3.OperationalError: database is locked

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "swatplus_api.py", line 120, in <module>
  File "actions\read_output.py", line 164, in read
  File "actions\read_output.py", line 321, in setup_meta_tables
  File "peewee.py", line 2036, in inner
  File "peewee.py", line 2107, in execute
  File "peewee.py", line 2625, in _execute
  File "peewee.py", line 3330, in execute
  File "peewee.py", line 3320, in execute_sql
  File "peewee.py", line 3088, in __exit__
  File "peewee.py", line 196, in reraise
  File "peewee.py", line 3322, in execute_sql
peewee.OperationalError: database is locked
[PYI-22184:ERROR] Failed to execute script 'swatplus_api' due to unhandled exception!

Tamene Adugna

unread,
Nov 14, 2025, 2:41:41 PMNov 14
to Abhishek Pathania, SWAT+ Editor
Dear all
I recently faced this problem 
forrtl: error (72): floating overflow Image PC Routine Line Source rev61.0.1_64debug 00007FF69B5D6845 __libm_expf_e7 190 expf_ct.c rev61.0.1_64debug 00007FF69AACBBDF CLI_RHGEN 60 cli_rhgen.f90 rev61.0.1_64debug 00007FF699A22569 CLIMATE_CONTROL 140 climate_control.f90 rev61.0.1_64debug 00007FF699AD6BCA TIME_CONTROL 214 time_control.f90 rev61.0.1_64debug 00007FF69AE4AF1A MAIN__ 134 main.f90 rev61.0.1_64debug 00007FF69B5EB0EB Unknown Unknown Unknown rev61.0.1_64debug 00007FF69B5EB819 Unknown Unknown Unknown rev61.0.1_64debug 00007FF69B5EB732 Unknown Unknown Unknown rev61.0.1_64debug 00007FF69B5EB5EE Unknown Unknown Unknown rev61.0.1_64debug 00007FF69B5EB88E Unknown Unknown Unknown KERNEL32.DLL 00007FFBBC727374 Unknown Unknown Unknown ntdll.dll 00007FFBBDF5CC91 Unknown Unknown Unknown

--
You received this message because you are subscribed to the Google Groups "SWAT+ Editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swatplus-edit...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/swatplus-editor/02a250f7-542b-4402-a568-631b09e8ffe7n%40googlegroups.com.


--
With kind regards

Tamene Adugna Demissie (PhD)
Professor, Water Resources Engineering
Faculty of Civil and Environmental Engineering,
Jimma Institute of Technology
Jimma University

Nancy B. Sammons

unread,
Nov 17, 2025, 7:15:58 AMNov 17
to Tamene Adugna, Abhishek Pathania, SWAT+ Editor

Tamene: 

The error suggests there is a problem with the average number of days of precipitation in the ‘weather-wgn.cli’ file. 

 

If you aren’t able to find it, send me your current txtinout folder (compressed format) and I will take a look at it.

 

Thank you,

Nancy

 

 

From: swatplu...@googlegroups.com <swatplu...@googlegroups.com> On Behalf Of Tamene Adugna
Sent: Friday, November 14, 2025 1:41 PM
To: Abhishek Pathania <pathaniaa...@gmail.com>
Cc: SWAT+ Editor <swatplu...@googlegroups.com>
Subject: Re: [SWAT+ Editor User Group] Please help me to know this error.

 

You don't often get email from tamene...@gmail.com. Learn why this is important

Jaclyn Tech

unread,
Dec 4, 2025, 11:56:40 AM (15 hours ago) Dec 4
to SWAT+ Editor
This error happens if you're reprocessing your output but the output database is open somewhere else. Maybe you've opened it manually or through QSWAT+. Just make sure it's not open anywhere and try again. If you can't figure out what's using it, just restart computer.

Reply all
Reply to author
Forward
0 new messages