OperationalError: unable to open database file
Bjørn Forsman
bjorn.forsman at gmail.com
Sun Jan 25 17:34:15 GMT 2015
Hi,
After a long time (3 years?) without using offlineimap, I decided to
try it again. I found my old .offlineimaprc file, updated it so that
offlineimap would approve ("ui = basic" instead of
"Noninteractive.Basic" and added "sslcacertfile =
/etc/ssl/certs/ca-bundle.crt").
Now:
$ offlineimap
OfflineIMAP 6.5.5
Licensed under the GNU GPL v2+ (v2 or any later version)
*** Processing account GMail
Establishing connection to imap.gmail.com:993
ERROR: ERROR in syncfolder for GMail folder Google_Mail/Sent_Mail:
Traceback (most recent call last):
File "/nix/store/rrckvnbghklfv1y1qi8lpsm2mlihrin1-offlineimap-6.5.6/lib/python2.7/site-packages/offlineimap/accounts.py",
line 399, in syncfolder
statusrepos.getsep()))
File "/nix/store/rrckvnbghklfv1y1qi8lpsm2mlihrin1-offlineimap-6.5.6/lib/python2.7/site-packages/offlineimap/repository/LocalStatus.py",
line 105, in getfolder
self.import_other_backend(folder)
File "/nix/store/rrckvnbghklfv1y1qi8lpsm2mlihrin1-offlineimap-6.5.6/lib/python2.7/site-packages/offlineimap/repository/LocalStatus.py",
line 68, in import_other_backend
folderbk = dic['class'](folder.name, repobk)
File "/nix/store/rrckvnbghklfv1y1qi8lpsm2mlihrin1-offlineimap-6.5.6/lib/python2.7/site-packages/offlineimap/folder/LocalStatusSQLite.py",
line 59, in __init__
self.connection = sqlite.connect(self.filename, check_same_thread = False)
OperationalError: unable to open database file
I tried to track down the path to the (missing) database file. I used
both strace and offlineimap -d ALL but couldn't find it :-/
What's wrong?
Best regards,
Bjørn Forsman
More information about the OfflineIMAP-project
mailing list