Hello! I got this error when trying to delineate a watershed from an existing watershed. It seemed like strange python bug so I tried starting a new QSWAT+ project from scratch but I received the same error at the create streams stage.
I am not sure what I can do about a programming error. Is this just a bug or can we troubleshoot around it?
2022-05-31T12:09:25 WARNING Traceback (most recent call last):
File "C:\Users/whitn/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus3_9\QSWATPlus\globals.py", line 475, in writeProjectConfig
cur = conn.cursor()
sqlite3.ProgrammingError: Cannot operate on a closed database.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users/whitn/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus3_9\QSWATPlus\delineation.py", line 1505, in runTauDEM1
self.runTauDEM(None, False)
File "C:\Users/whitn/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus3_9\QSWATPlus\delineation.py", line 1548, in runTauDEM
self._gv.writeProjectConfig(0, 0)
File "C:\Users/whitn/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus3_9\QSWATPlus\globals.py", line 515, in writeProjectConfig
conn.commit()
sqlite3.ProgrammingError: Cannot operate on a closed database.