Sync -> Mails there. Sync -> mails gone

Tomasz Żok tomasz.zok at gmail.com
Thu Jan 29 15:46:58 GMT 2015


On 2015-01-29 at 16:24, Matthias Beyer wrote:
>     Folder INBOX [acc: blaweb]:
>      ERROR: ERROR in syncfolder for blaweb folder bla_12.INBOX: Traceback (most recent call last):
>       File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 399, in syncfolder
>         statusrepos.getsep()))
>       File "/usr/lib/python2.7/site-packages/offlineimap/repository/LocalStatus.py", line 105, in getfolder
>         self.import_other_backend(folder)
>       File "/usr/lib/python2.7/site-packages/offlineimap/repository/LocalStatus.py", line 68, in import_other_backend
>         folderbk = dic['class'](folder.name, repobk)
>       File "/usr/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 see that it only fails syncing the INBOX mailbox...

The status file must have gotten corrupted. You can remove it and try again. It
should be located under path:
    ~/.offlineimap/Account-blaweb/LocalStatus-sqlite/bla_12.INBOX


>     Remote repository 'RemoteBLAWEB': type 'IMAP'
> 
>     nametrans= lambda f: "bla_12." + re.sub("^INBOX\.", "", f)
> 
>     Folderlist:
>      Entwurf -> bla_12.Entwurf
>      Gesendet -> bla_12.Gesendet
>      INBOX -> bla_12.INBOX
>      Papierkorb -> bla_12.Papierkorb
>      Postausgang -> bla_12.Postausgang
>      Spam -> bla_12.Spam
>      Unbekannt -> bla_12.Unbekannt
> 
>     Local repository 'LocalBLAWEB': type 'Maildir'
>     folderfilter= lambda f: f.startswith("bla_12")
> 
>     nametrans= lambda f: re.sub("^bla_12\.", "", f)
> 
>     Folderlist:
>      bla_12.Postausgang -> Postausgang
>      bla_12.Entwurf -> Entwurf
>      bla_12.Gesendet -> Gesendet
>      bla_12.INBOX -> INBOX
>      bla_12.Spam -> Spam
>      bla_12.Unbekannt -> Unbekannt

It seems to be alright. Only the 'Papierkorb' does not seem to exist locally.
Apart from that, this configuration should work fine.

Regards,
Tomasz




More information about the OfflineIMAP-project mailing list