Sync -> Mails there. Sync -> mails gone

Matthias Beyer mail at beyermatthias.de
Thu Jan 29 15:57:56 GMT 2015


On 29-01-2015 16:46:58, Tomasz Żok wrote:
> 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

Unfortunately, there is no such a file:

    $ tree Account-blaweb *BLAWEB
    Account-blaweb/
    └── LocalStatus
    ├── bla_12.Entwurf
    ├── bla_12.Gesendet
    ├── bla_12.Papierkorb
    ├── bla_12.Postausgang
    ├── bla_12.Spam
    └── bla_12.Unbekannt
    Repository-LocalBLAWEB
    ├── FolderValidity
    │   ├── bla_12.Entwurf
    │   ├── bla_12.Gesendet
    │   ├── bla_12.Papierkorb
    │   ├── bla_12.Postausgang
    │   ├── bla_12.Spam
    │   └── bla_12.Unbekannt
    └── UIDMapping
    Repository-RemoteBLAWEB
    ├── FolderValidity
    │   ├── Entwurf
    │   ├── Gesendet
    │   ├── Papierkorb
    │   ├── Postausgang
    │   ├── Spam
    │   └── Unbekannt
    └── UIDMapping

> 
> 
> >     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.

Ah, maybe I accidentially removed the Papierkorb entry from the list
when pasting into the mail...

-- 
Mit freundlichen Grüßen,
Kind regards,
Matthias Beyer

Proudly sent with mutt.
Happily signed with gnupg.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20150129/2b999e57/attachment-0003.sig>


More information about the OfflineIMAP-project mailing list