Skip to content
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

OperationalError: database is locked #149

Open
chetand opened this issue Aug 11, 2013 · 2 comments
Open

OperationalError: database is locked #149

chetand opened this issue Aug 11, 2013 · 2 comments

Comments

@chetand
Copy link

chetand commented Aug 11, 2013

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
Copy link
Owner

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

@nitinkumartech
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants