Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Error when running Step 3

25 views
Skip to first unread message

Abdulrazzak Doughan

unread,
Jan 3, 2025, 10:01:30 PMJan 3
to SWAT+ Editor
Hello I encountered the error below when running step 3: Edit Inputs and run SWAT+. i am using the examples provided by you guys (Robin data set).

Traceback (most recent call last):
  File "peewee.py", line 3291, 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 119, in <module>
  File "actions\read_output.py", line 164, in read
  File "actions\read_output.py", line 308, in setup_meta_tables
  File "peewee.py", line 2011, in inner
  File "peewee.py", line 2082, in execute
  File "peewee.py", line 2600, in _execute
  File "peewee.py", line 3299, in execute
  File "peewee.py", line 3289, in execute_sql
  File "peewee.py", line 3059, in __exit__
  File "peewee.py", line 192, in reraise
  File "peewee.py", line 3291, in execute_sql
peewee.OperationalError: database is locked
[9016] Failed to execute script 'swatplus_api' due to unhandled exception!




Jaclyn Tech

unread,
Jan 6, 2025, 12:11:43 PMJan 6
to SWAT+ Editor
Something is locking your database file for some reason. Make sure it is not open in any other programs. If this does not help, try just restarting your computer.
Reply all
Reply to author
Forward
0 new messages