Migration to sqlite backend: Cannot operate on a closed database

Nicolas Sebrecht nicolas.s-dev at laposte.net
Tue Jan 31 00:34:17 GMT 2017

On Tue, Jan 31, 2017 at 12:26:25AM +0100, Julien Cubizolles wrote:

> I just tried to move from the plain text database to the sqlite
> one. According to https://linux.die.net/man/1/offlineimap, I just added
> the status_backend = sqlite to the "Account" section. The
> LocalStatus-sqlite directory was created but with each call to
> offlineimap, I get a "Cannot operate on a closed databse" error
> message. Any idea what's causing thisĀ ?

Likely concurrent writes. Could you provide the full log and your
offlineimap version?

Nicolas Sebrecht

More information about the OfflineIMAP-project mailing list