Complete.Org: Mailing Lists: Archives: offlineimap: March 2005:
offlineimap IMAP<->IMAP crash
Home

offlineimap IMAP<->IMAP crash

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: offlineimap@xxxxxxxxxxxx
Subject: offlineimap IMAP<->IMAP crash
From: Mathias Bertelsen <mathiasb@xxxxxxxx>
Date: Thu, 31 Mar 2005 12:09:05 +0200

I am syncing two IMAP mailboxes and that leads to a crash:

...
Copy message 814 IMAP[INBOX.Archive.2004] -> MappedIMAP[INBOX.Archive.2004], 
LocalStatus[INBOX.Archive.2004]
Copy message 815 IMAP[INBOX.Archive.2004] -> MappedIMAP[INBOX.Archive.2004], 
LocalStatus[INBOX.Archive.2004]
Copy message 816 IMAP[INBOX.Archive.2004] -> MappedIMAP[INBOX.Archive.2004], 
LocalStatus[INBOX.Archive.2004]
Thread 'Copy message 815 from INBOX.Archive.2004' terminated with exception:
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/offlineimap/threadutil.py", line 153, 
inrun
    Thread.run(self)
  File "/usr/lib/python2.3/threading.py", line 416, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.3/site-packages/offlineimap/folder/Base.py", line 
276, in copymessageto
    newuid = object.savemessage(uid, message, flags)
  File "/usr/lib/python2.3/site-packages/offlineimap/folder/UIDMaps.py", line 
156, in savemessage
    newluid = self._mb.savemessage(self, -1, content, flags)
  File "/usr/lib/python2.3/site-packages/offlineimap/folder/IMAP.py", line 
224, in savemessage
    date, content)[0] == 'OK')
AssertionError


Last 12 debug messages logged for Copy message 815 from INBOX.Archive.2004 
prior to exception:
imap: Returned object from fetching 815: ('OK', [('815 (UID 815 BODY[] {91}', 
'X-OfflineIMAP-x1928894587-6c6f63616c686f7374-494e424f58: 
1112134400-0854821975518-v4.0.89\r\n'), ')'])
imap: savemessage: called
imap: savemessage: using date "30-Mar-2005 23:27:48 +0200"
imap: savemessage: initial content is: 
'X-OfflineIMAP-x1928894587-6c6f63616c686f7374-494e424f58: 
1112134400-0854821975518-v4.0.89\r\n'
imap: savemessage: new headers are: 
X-OfflineIMAP-x437813751-6d61746869617362-494e424f582e417263686976652e32303034: 
1112218068-0281685719162-v4.0.8
imap: savemessage_addheader: called to add 
X-OfflineIMAP-x437813751-6d61746869617362-494e424f582e417263686976652e32303034: 
1112218068-0281685719162-v4.0.8
imap: savemessage_addheader: insertionpoint = 89
imap: savemessage_addheader: leader = 
'X-OfflineIMAP-x1928894587-6c6f63616c686f7374-494e424f58: 
1112134400-0854821975518-v4.0.89'
imap: savemessage_addheader: newline = 
'\r\nX-OfflineIMAP-x437813751-6d61746869617362-494e424f582e417263686976652e32303034:
 
1112218068-0281685719162-v4.0.8'
imap: savemessage_addheader: trailer = '\r\n'
imap: savemessage: new content is: 
'X-OfflineIMAP-x1928894587-6c6f63616c686f7374-494e424f58: 
1112134400-0854821975518-v4.0.89\r\nX-OfflineIMAP-x437813751-6d61746869617362-494e424f582e417263686976652e32303034:
 
1112218068-0281685719162-v4.0.8\r\n'
imap: savemessage: new content length is 204

This is my .offlineimaprc :

[general]
accounts = movethere
ui = Noninteractive.Basic, Noninteractive.Quiet

[Account movethere]
localrepository = remotehost
remoterepository = localhost

[Repository remotehost]
type = IMAP
remotehost = remotehost.org
remoteuser = username
ssl = yes
remotepassfile = somefile

[Repository localhost]
type = IMAP
remotehost = localhost
remoteuser = username
ssl = yes
remotepassfile = somefile

localhost is a courier-imapd 4.0.1
remotehost is a cyrus-imapd 2.1.18-1

Any help would be appreciated?

:)

-- 
Mvh.
         Mathias Bertelsen



[Prev in Thread] Current Thread [Next in Thread]