python中的sqlite3 update语句返回锁定错误

python中的sqlite3 update语句返回锁定错误,python,sqlite,ipython,Python,Sqlite,Ipython,我正试图通过iPython更新sqlite3数据库。 我可以成功地将数据插入数据库,但当我尝试更新行时,它会返回以下错误: --------------------------------------------------------------------------- OperationalError Traceback (most recent call last) <ipython-input-160-6483798c376d&g

我正试图通过iPython更新sqlite3数据库。 我可以成功地将数据插入数据库,但当我尝试更新行时,它会返回以下错误:

---------------------------------------------------------------------------
OperationalError                          Traceback (most recent call last)
<ipython-input-160-6483798c376d> in <module>()
      2 conn.text_factory = str
      3 conn.execute("update series set html='test123' where url='https://www.google.com/'")
----> 4 conn.commit()
      5 print "Total number of rows updated :", conn.total_changes

OperationalError: database is locked

我做错了什么?

然后我通过

fuser mydb.db 
在命令行上,上一个python进程锁定了db:(

很抱歉让你们忙着处理我的RTFM文件

fuser mydb.db