Crash with sqlite backend

Allan Wind allan_wind at lifeintegrity.com
Wed Jan 25 22:52:01 GMT 2012


I am using the latest version from git against sqlite backend.  
Seeing a couple of different crashes.  This is one and I will try
grab the other which is a sqlite rejecting an insert due to 
duplicate primary key.

*** Processing account lifeintegrity
Thread 'Copy message from imap:INBOX' terminated with exception:
Traceback (most recent call last):
  File "/home/allan/src/offlineimap/offlineimap/threadutil.py", line 155, in run
    Thread.run(self)
  File "/usr/lib/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/allan/src/offlineimap/offlineimap/folder/Base.py", line 295, in copymessageto
    message = self.getmessage(uid)
  File "/home/allan/src/offlineimap/offlineimap/folder/IMAP.py", line 218, in getmessage
    imapobj.select(self.getfullname(), readonly = True)
  File "/home/allan/src/offlineimap/offlineimap/imaplibutil.py", line 61, in select
    raise OfflineImapError(errstr, severity)
OfflineImapError: Server 'imaps.lifeintegrity.com' closed connection, error on SELECT 'INBOX'. Server said: command: EXAMINE => no response after 60.0 secs


Last 1 debug messages logged for Copy message from imap:INBOX prior to exception:
thread: Register new thread 'Copy message from imap:INBOX' (account 'lifeintegrity')
ERROR: Exceptions occurred during the run!
ERROR: [Errno 2] No such file or directory
ERROR: Syncing folder INBOX [acc: lifeintegrity]
  [Errno 2] No such file or directory
ERROR: ERROR in syncfolder for lifeintegrity folder INBOX: Traceback (most recent call last):
  File "/home/allan/src/offlineimap/offlineimap/accounts.py", line 439, in syncfolder
    localfolder.syncmessagesto(remotefolder, statusfolder)
  File "/home/allan/src/offlineimap/offlineimap/folder/Base.py", line 474, in syncmessagesto
    action(dstfolder, statusfolder)
  File "/home/allan/src/offlineimap/offlineimap/folder/Base.py", line 368, in syncmessagesto_copy
    register = 0)
  File "/home/allan/src/offlineimap/offlineimap/folder/Base.py", line 304, in copymessageto
    self.change_message_uid(uid, new_uid)
  File "/home/allan/src/offlineimap/offlineimap/folder/Maildir.py", line 340, in change_message_uid
    os.path.join(self.getfullname(), dir_prefix, filename))
OSError: [Errno 2] No such file or directory

  [Errno 2] No such file or directory
ERROR: IMAP server 'imap' does not have a message with UID '1152391'
ERROR: IMAP server 'imap' does not have a message with UID '1152392'
ERROR: IMAP server 'imap' does not have a message with UID '1152394'
ERROR: IMAP server 'imap' does not have a message with UID '1152395'


-- 
Allan Wind
Life Integrity, LLC
<http://lifeintegrity.com>




More information about the OfflineIMAP-project mailing list