OperationalError: database is locked

2019-01-11 16:43发布

I have made some repetitive operations in my application (testing it), and suddenly I’m getting a weird error:

OperationalError: database is locked

I've restarted the server, but the error persists. What can it be all about?

7条回答
手持菜刀,她持情操
2楼-- · 2019-01-11 17:06

This also could happen if you are connected to your sqlite db via dbbrowser plugin through pycharm. Disconnection will solve the problem

查看更多
登录 后发表回答