[ANNOUNCE] OfflineIMAP v6.3.2-rc3 released

Ivan Semin ivun at wirebyte.com
Tue Feb 8 05:51:07 GMT 2011


I am running Centos 5, which is probably the most used OS on
production webservers. That has 2.4 out of the box and unfortunately
most end users are unable to update it. So at least you should warn in
docs about that requirement.

I have updated to 2.6 now and installed v6.3.2-rc3 (still shows 6.3.1
in --version btw) - works without any patches. There is a different
problem however. Yesterday all my syncronizations stopped again
because of offlineimap existing with exception - every time in the
same place (syncing the same email). The upgrade did not fix this bug.
The log follows:

---------------------- cut here ----------------------
Syncing [Gmail]/Trash: Gmail -> MappedIMAP
Syncing [Gmail]/Drafts: Gmail -> MappedIMAP
Thread 'New msg sync from INBOX' terminated with exception:
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/offlineimap/threadutil.py",
line 158, in run
    Thread.run(self)
  File "/usr/lib/python2.4/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.4/site-packages/offlineimap/folder/Base.py",
line 213, in syncmessagesto_neguid_msg
    successuid = tryappend.savemessage(uid, message, flags, rtime)
  File "/usr/lib/python2.4/site-packages/offlineimap/folder/IMAP.py",
line 342, in savemessage
    date, content)[0] == 'OK')
  File "/usr/lib/python2.4/imaplib.py", line 316, in append
    return self._simple_command(name, mailbox, flags, date_time)
  File "/usr/lib/python2.4/imaplib.py", line 1028, in _simple_command
    return self._command_complete(name, self._command(name, *args))
  File "/usr/lib/python2.4/imaplib.py", line 865, in _command_complete
    raise self.error('%s command error: %s %s' % (name, typ, data))
error: APPEND command error: BAD ['Could not parse command']


Last 12 debug messages logged for New msg sync from INBOX prior to exception:
imap: Returned object from fetching 3032: ('OK', [('2990 (UID 3032
BODY[] {32746719}',

<about 100MB of data here>

imap: savemessage: new content length is 32746809
Syncing INBOX: Gmail -> MappedIMAP
Exception in thread Folder sync Help[INBOX] (most likely raised during
interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
  File "/usr/lib/python2.4/site-packages/offlineimap/threadutil.py",
line 245, in run
  File "/usr/lib/python2.4/site-packages/offlineimap/threadutil.py",
line 181, in run
exceptions.TypeError: 'NoneType' object is not callable
Unhandled exception in thread started by
Error in sys.excepthook:

Original exception was:
---------------------- cut here ----------------------

The number 32746809 makes me think about some limit to the message size?

Anyway, after the update to 2.6 and 6.3.2-rc3 the same bug

---------------------- cut here ----------------------
Copy message 3149 from INBOX:
 Copy message 3149 Gmail[INBOX] -> MappedIMAP[INBOX], LocalStatus[INBOX]
MainThread:
 Thread 'New msg sync from INBOX' terminated with exception:
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/offlineimap/threadutil.py",
line 158, in run
    Thread.run(self)
  File "/usr/lib/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.6/site-packages/offlineimap/folder/Base.py",
line 215, in syncmessagesto_neguid_msg
    successuid = tryappend.savemessage(uid, message, flags, rtime)
  File "/usr/lib/python2.6/site-packages/offlineimap/folder/IMAP.py",
line 347, in savemessage
    date, content)[0] == 'OK')
  File "/usr/lib/python2.6/imaplib.py", line 317, in append
    return self._simple_command(name, mailbox, flags, date_time)
  File "/usr/lib/python2.6/imaplib.py", line 1060, in _simple_command
    return self._command_complete(name, self._command(name, *args))
  File "/usr/lib/python2.6/imaplib.py", line 895, in _command_complete
    raise self.error('%s command error: %s %s' % (name, typ, data))
error: APPEND command error: BAD ['Could not parse command']


Last 12 debug messages logged for New msg sync from INBOX prior to exception:
imap: Returned object from fetching 3032: ('OK', [('2990 (UID 3032
BODY[] {32746719}', '

<about 100MB of data here>

imap: savemessage: new content length is 32746809
Folder sync Tracking[no tracking]:
 Syncing no tracking: Gmail -> MappedIMAP
Folder sync Partners[A_Bing Shopping]:
 Syncing A_Bing Shopping: Gmail -> MappedIMAP
---------------------- cut here ----------------------




More information about the OfflineIMAP-project mailing list