fileconveyor icon indicating copy to clipboard operation
fileconveyor copied to clipboard

OperationalError: database is locked

Open chetand opened this issue 11 years ago • 2 comments

Had setup Fileconveyor and it was running allright (on Rackspace UK). But now am getting the below error on running: screen python src/fileconveyor/fileconveyor/arbitrator.py

Any guidance would be highly appreciated

---------- Error ---------------- Exception in thread ArbitratorThread: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner self.run() File "src/fileconveyor/fileconveyor/arbitrator.py", line 273, in run self.__setup() File "src/fileconveyor/fileconveyor/arbitrator.py", line 235, in __setup self.pipeline_queue.put(item) File "/root/src/fileconveyor/fileconveyor/persistent_queue.py", line 103, in put self.dbcur.execute("INSERT INTO %s (item, key) VALUES(?, ?)" % (self.table), (sqlite3.Binary(pickled_item), md5)) OperationalError: database is locked

chetand avatar Aug 11 '13 17:08 chetand

Can you consistently reproduce this? It seems something else inserting into the DB.

wimleers avatar Aug 26 '13 09:08 wimleers

I am also facing the same issue. @chetand Were you able to find the solution?

nitinkumartech avatar Jun 25 '18 09:06 nitinkumartech