Traceback (most recent call last):
File "peewee.py", line 3237, in execute_sql
sqlite3.OperationalError: attempt to write a readonly database
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "actions\setup_project.py", line 70, in __init__
File "database\project\setup.py", line 45, in create_tables
File "peewee.py", line 3429, in create_tables
File "peewee.py", line 6860, in create_table
File "peewee.py", line 5962, in create_all
File "peewee.py", line 5813, in create_table
File "peewee.py", line 3250, in execute
File "peewee.py", line 3234, in execute_sql
File "peewee.py", line 3010, in __exit__
File "peewee.py", line 192, in reraise
File "peewee.py", line 3237, in execute_sql
peewee.OperationalError: attempt to write a readonly database
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "swatplus_api.py", line 86, in
File "actions\setup_project.py", line 104, in __init__
File "database\project\setup.py", line 40, in rollback
File "shutil.py", line 419, in copy
File "shutil.py", line 258, in copyfile
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\Kushan Dileep\\OneDrive\\Desktop\\SWAt model Research\\robit_data\\rasters\\srtm_30m\\robitnew\\robitnew.sqlite'
[274616] Failed to execute script 'swatplus_api' due to unhandled exception!