nikolasibalic / ARC-Alkali-Rydberg-Calculator

Object-oriented Python library for computation of properties of highly-excited Rydbeg states of alkali and divalent atoms.
https://atomcalc.org
BSD 3-Clause "New" or "Revised" License
91 stars 81 forks source link

'database is locked' for PairStateInteractions #119

Closed ranfinkelstein closed 2 years ago

ranfinkelstein commented 2 years ago

Hi, When I call PairStateInteractions I get an '[OperationalError: database is locked]'. All other functionality seems to work fine. I am using a Windows machine with Anaconda and Python 3.9.7

Thank you!

ranfinkelstein commented 2 years ago

Works on another machine though.

nikolasibalic commented 2 years ago

HI @ranfinkelstein

Most likely program crashed/was terminated before releasing lock on database. There is a small chance that happens. To solve that just delete all .db files in .arc-data. On Linux these are ~/.arc-data/*.db