offlineimap 6.3.4-rc3 crash

Marc MERLIN marc at merlins.org
Mon Jul 25 22:46:59 BST 2011


In case this helps.

This happened during a long running sync with IDLE turned on.

Said sync seems to otherwise work.


Folder sync [google.com]:
 Skipping [Gmail]/Starred (not changed)
 Skipping INBOX (not changed)
 Skipping info (not changed)
 Skipping financial (not changed)
 Skipping prodimage-notify (not changed)
 Syncing mutt-sent: IMAP -> Maildir
 Syncing lists: IMAP -> Maildir
 Syncing rcvd: IMAP -> Maildir
 Copy message -2 Maildir[mutt-sent] -> IMAP[mutt-sent]
 Syncing [Gmail]/Sent Mail: IMAP -> Maildir
 WARNING: ERROR attempting to copy message -2 for account google.com:Traceback (most recent call last):
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/folder/Base.py", line 255, in copymessageto
    newuid = dstfolder.savemessage(uid, message, flags, rtime)
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/folder/IMAP.py", line 458, in savemessage
    assert(typ == 'OK')
AssertionError

 WARNING: ERROR attempting to sync flags for account google.com:Traceback (most recent call last):
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/folder/Base.py", line 413, in syncmessagesto
    action(dstfolder, statusfolder)
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/folder/Base.py", line 310, in syncmessagesto_copy
    self.copymessageto(uid, dstfolder, statusfolder, register = 0)
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/folder/Base.py", line 255, in copymessageto
    newuid = dstfolder.savemessage(uid, message, flags, rtime)
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/folder/IMAP.py", line 458, in savemessage
    assert(typ == 'OK')
AssertionError

 WARNING: ERROR in syncfolder for google.com folder mutt-sent: Traceback (most recent call last):
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/accounts.py", line 355, in syncfolder
    localfolder.syncmessagesto(remotefolder, statusfolder)
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/folder/Base.py", line 413, in syncmessagesto
    action(dstfolder, statusfolder)
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/folder/Base.py", line 310, in syncmessagesto_copy
    self.copymessageto(uid, dstfolder, statusfolder, register = 0)
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/folder/Base.py", line 255, in copymessageto
    newuid = dstfolder.savemessage(uid, message, flags, rtime)
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/folder/IMAP.py", line 458, in savemessage
    assert(typ == 'OK')
AssertionError

Copy message 23016 from lists:
 Copy message 23016 IMAP[lists] -> Maildir[lists]
Copy message 23017 from lists:
 Copy message 23017 IMAP[lists] -> Maildir[lists]
Copy message 23018 from lists:
 Copy message 23018 IMAP[lists] -> Maildir[lists]
Copy message 23019 from lists:
 Copy message 23019 IMAP[lists] -> Maildir[lists]
 Establishing connection to imap.gmail.com:993.
Copy message 23018 from lists:
 WARNING: ERROR attempting to copy message 23018 for account google.com:Traceback (most recent call last):
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/folder/Base.py", line 250, in copymessageto
    message = self.getmessage(uid)
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/folder/IMAP.py", line 205, in getmessage
    res_type, data = imapobj.uid('fetch', str(uid), '(BODY.PEEK[])')
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/imaplib2.py", line 1110, in uid
    return self._simple_command('UID', command, *args, **kw)
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/imaplib2.py", line 1549, in _simple_command
    return self._command_complete(self._command(name, *args), kw)
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/imaplib2.py", line 1310, in _command_complete
    typ, dat = rqb.get_response('command: %s => %%s' % rqb.name)
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/imaplib2.py", line 172, in get_response
    raise typ(exc_fmt % str(val))
abort: command: UID => socket error: <type 'exceptions.IOError'> - Error Hang up

Copy message 23020 from lists:
 Copy message 23020 IMAP[lists] -> Maildir[lists]
 Thread 'Copy message 23018 from lists' terminated with exception:
Traceback (most recent call last):
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/threadutil.py", line 140, in run
    Thread.run(self)
  File "/usr/lib/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/folder/Base.py", line 250, in copymessageto
    message = self.getmessage(uid)
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/folder/IMAP.py", line 205, in getmessage
    res_type, data = imapobj.uid('fetch', str(uid), '(BODY.PEEK[])')
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/imaplib2.py", line 1110, in uid
    return self._simple_command('UID', command, *args, **kw)
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/imaplib2.py", line 1549, in _simple_command
    return self._command_complete(self._command(name, *args), kw)
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/imaplib2.py", line 1310, in _command_complete
    typ, dat = rqb.get_response('command: %s => %%s' % rqb.name)
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/imaplib2.py", line 172, in get_response
    raise typ(exc_fmt % str(val))
abort: command: UID => socket error: <type 'exceptions.IOError'> - Error Hang up


Last 1 debug messages logged for Copy message 23018 from lists prior to exception:
thread: Register new thread 'Copy message 23018 from lists' (account 'google.com')
Exception in thread imap.gmail.com reader (most likely raised during interpreter shutdown):
 Traceback (most recent call last):Exception in thread imap.gmail.com reader (most likely raised during interpreter shutdown):

Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
  File "/usr/lib/python2.6/threading.py", line 484, in run
   File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/imaplib2.py", line 1736, in _reader
  File "/usr/lib/python2.6/threading.py", line 484, in run
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/imaplib2.py", line 1736, in _reader
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'exc_info'

<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'exc_info'
Exception in thread imap.gmail.com reader (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
 Exception in thread imap.gmail.com handler (most likely raised during interpreter shutdown):  File "/usr/lib/python2.6/threading.py", line 484, in run

Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
  File "/usr/lib/python2.6/threading.py", line 484, in run
  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/imaplib2.py", line 1736, in _reader  File "/var/local/src/offlineimap/nicolas33-offlineimap-8d90dd0/offlineimap/imaplib2.py", line 1621, in _handler

<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'Empty'
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'exc_info

-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  




More information about the OfflineIMAP-project mailing list