crash on sync of large maildir

Mark A. Hershberger mah at everybody.org
Sun May 1 20:30:00 BST 2011


So, I changed my config up to try maildir instead of a LOCAL IMAP
server.  It chugged along for a bit and then spat out the following.

I think this “TypeError: 'NoneType' object is not subscriptable” has
been reported before, so I'll go check the archives and see what it
turns up.

[…]
Copy message 786963 IMAP[INBOX] -> Maildir[INBOX]
Copy message 774969 IMAP[INBOX/admin] -> Maildir[INBOX.admin]
Copy message 786968 IMAP[INBOX] -> Maildir[INBOX]
Copy message 760636 IMAP[INBOX/admin] -> Maildir[INBOX.admin]
WARNING: ERROR attempting to copy message 786968 for account nichework.com:Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/offlineimap/folder/Base.py", line 332, in copymessageto
    message = self.getmessage(uid)
  File "/usr/lib/pymodules/python2.7/offlineimap/folder/IMAP.py", line 218, in getmessage
    return initialresult[1][0][1].replace("\r\n", "\n")
TypeError: 'NoneType' object is not subscriptable

Copy message 786973 IMAP[INBOX] -> Maildir[INBOX]
Thread 'Copy message 786968 from INBOX' terminated with exception:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/offlineimap/threadutil.py", line 159, in run
    Thread.run(self)
  File "/usr/lib/python2.7/threading.py", line 505, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/pymodules/python2.7/offlineimap/folder/Base.py", line 332, in copymessageto
    message = self.getmessage(uid)
  File "/usr/lib/pymodules/python2.7/offlineimap/folder/IMAP.py", line 218, in getmessage
    return initialresult[1][0][1].replace("\r\n", "\n")
TypeError: 'NoneType' object is not subscriptable


Last 1 debug messages logged for Copy message 786968 from INBOX prior to exception:
imap: Returned object from fetching 786968: ('OK', [None])
Exception in thread mail.nichework.com reader (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
  File "/usr/lib/python2.7/threading.py", line 505, in run
  File "/usr/lib/pymodules/python2.7/offlineimap/imaplib2.py", line 1659, in _reader
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'exc_info'

-- 
http://hexmode.com/

War begins by calling for the annihilation of the Other,
    but ends ultimately in self-annihilation.




More information about the OfflineIMAP-project mailing list