DatabaseError: database disk image is malformed

11 views
Skip to first unread message

xiaoyang nan

unread,
Jun 26, 2026, 6:55:03 PM (5 days ago) Jun 26
to SWAT+ Editor
I ran into the following error while using the GWFLOW module:

Traceback (most recent call last):
  File "peewee.py", line 3322, in execute_sql
sqlite3.DatabaseError: database disk image is malformed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "actions\import_gis.py", line 151, in insert_default
  File "peewee.py", line 2036, in inner
  File "peewee.py", line 2321, in count
  File "peewee.py", line 2036, in inner
  File "peewee.py", line 2301, in scalar
  File "peewee.py", line 2036, in inner
  File "peewee.py", line 2286, in peek
  File "peewee.py", line 2036, in inner
  File "peewee.py", line 2107, in execute
  File "peewee.py", line 2280, 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.DatabaseError: database disk image is malformed

Reply all
Reply to author
Forward
0 new messages