This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
dbc.execute('VACUUM') error #14
Comments
What version of python are you using? ( |
Same here using Python 3.6.1, also accidentally tried to use 2.7.10 because I have both installed and got the same error. |
Can confirm. Getting this issue on my end also. |
That is really odd; I get no trouble on 3.5.3 and 2.7.10 with the VACUUM operation, but I do get the issue on 3.6.1. Looks like this is why ghaering/pysqlite#109 |
(Simple fix would be to move the db.commit() line above the VACUUM line, probably. Might need to add another commit line, I'm not sure). |
Closed
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I get the following error:
Traceback (most recent call last): File "C:\Users\amelia\Desktop\tf2idb.py", line 228, in <module> main() File "C:\Users\amelia\Desktop\tf2idb.py", line 224, in main dbc.execute('VACUUM') sqlite3.OperationalError: cannot VACUUM from within a transaction
The text was updated successfully, but these errors were encountered: