Teichlab / cellphonedb

MIT License
339 stars 105 forks source link

sqlite3.OperationalError: database is locked #256

Closed wtj505531480 closed 3 years ago

wtj505531480 commented 3 years ago

image

prete commented 3 years ago

Hi @wtj505531480 this issue happens when either the database is open (being read) by another tool at the same time (i.e. SQLite Browser) or the process crashes while writing to the db. The fix for the first one is easy, just close the program or process that's using it before running CellPhoneDB. For the second one, it may be easier to just re-download the database using cellphonedb database download or manually from the repository.