wimleers / fileconveyor

File Conveyor is a daemon written in Python to detect, process and sync files. In particular, it's designed to sync files to CDNs. Amazon S3 and Rackspace Cloud Files, as well as any Origin Pull or (S)FTP Push CDN, are supported. Originally written for my bachelor thesis at Hasselt University in Belgium.
https://wimleers.com/fileconveyor
The Unlicense
341 stars 95 forks source link

OperationalError: database is locked #149

Open chetand opened 11 years ago

chetand commented 11 years ago

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

wimleers commented 11 years ago

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

nitinkumartech commented 6 years ago

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