Sync -> Mails there. Sync -> mails gone

Matthias Beyer mail at beyermatthias.de
Thu Jan 29 15:24:12 GMT 2015


On 29-01-2015 14:51:20, Tomasz Żok wrote:
>    Hi Matthias,
> 
>    you can run 'offlineimap --info'. This command prints your settings and
>    folder lists for both remote and local repositories. It is a verbose
>    output so it will show you which folders are excluded due to your
>    'folderfilter' setting and what are the names before and after applying
>    'nametrans'. Can you post the output of this command?

Here we go:

    offlineimap -a <accountname>

Without --info:
--------------

    OfflineIMAP 6.5.5
      Licensed under the GNU GPL v2+ (v2 or any later version)
    Account sync blaweb:
     *** Processing account blaweb
     Establishing connection to imap.web.de:143
    Folder Gesendet [acc: blaweb]:
     Syncing Gesendet: IMAP -> Maildir
    Folder Entwurf [acc: blaweb]:
     Syncing Entwurf: IMAP -> Maildir
    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

      unable to open database file
    Folder Papierkorb [acc: blaweb]:
     Syncing Papierkorb: IMAP -> Maildir
    Folder Postausgang [acc: blaweb]:
     Syncing Postausgang: IMAP -> Maildir
    Folder Spam [acc: blaweb]:
     Syncing Spam: IMAP -> Maildir
    Folder Unbekannt [acc: blaweb]:
     Syncing Unbekannt: IMAP -> Maildir
    Account sync blaweb:
     *** Finished account 'blaweb' in 0:00
    ERROR: Exceptions occurred during the run!
    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

      unable to open database file


I see that it only fails syncing the INBOX mailbox...


With --info, removed "(disabled)" entries due to privacy concerns:
-----------------------------------------------------------------


    OfflineIMAP 6.5.5
      Licensed under the GNU GPL v2+ (v2 or any later version)
    Remote repository 'RemoteBLAWEB': type 'IMAP'
    Host: imap.web.de Port: None SSL: False
    Establishing connection to imap.web.de:143
    Server supports ID extension.
    Server welcome string: * OK IMAP server ready H miweb115 103684 IMAP-0M0wHu-1XOjUn1IVD-00uzBD
    Server capabilities: ('IMAP4REV1', 'CHILDREN', 'ENABLE', 'ID', 'IDLE', 'LIST-EXTENDED', 'LIST-STATUS', 'LITERAL+', 'MOVE', 'NAMESPACE', 'QUOTA', 'SASL-IR', 'SORT', 'SPECIAL-USE', 'THREAD=ORDEREDSUBJECT', 'UIDPLUS', 'UNSELECT', 'WITHIN', 'APPENDLIMIT=27962027')

    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


-- 
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/93b1a182/attachment-0003.sig>


More information about the OfflineIMAP-project mailing list