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
86 stars 72 forks source link

'database is locked' for PairStateInteractions #119

Closed ranfinkelstein closed 1 year ago

ranfinkelstein commented 1 year 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 1 year ago

Works on another machine though.

nikolasibalic commented 1 year 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