-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sqlite3.OperationalError: database is locked #5
Comments
|
is there any wrong with this code @almarklein
|
Hi @wanghaisheng, that looks good at first glance, but I don't fully understand the problem, do you get an error? If it is possible to create a small example that I can run as well, that will be great, because then I can reproduce the error, and better see what's going on. |
sqlite3.OperationalError: database is locked continue say this |
Ok, I found out that I also found that running that example twice in an interactive session locks the db as well, because you create a new db object, and the old db object may be holding on to the lock. That said, I'm not sure if this is what you are experiencing. If you can provide a complete piece of code that I can run myself, then its easier to try it out. |
exactly what you say |
I meant in an interactive session (like in an IDE or in a Jupyer notebook). But nevermind, what's more valuable if we have some code that we can both run, and examine to see what the issue is. |
I kindof fix that |
all seem to be keyword change to others fixed that
The text was updated successfully, but these errors were encountered: