Complete.Org: Mailing Lists: Archives: offlineimap: July 2006:
Offlineimap crashes when trying to sync a folder containing messages fro
Home

Offlineimap crashes when trying to sync a folder containing messages fro

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: offlineimap@xxxxxxxxxxxx
Subject: Offlineimap crashes when trying to sync a folder containing messages from the vim-users list
From: hdv@xxxxxxxxx (J.A. de Vries)
Date: Sat, 1 Jul 2006 09:42:13 +0000

Hi,

First of all: I've been using offlineimap for some years now and I'd
like to thank John and all contributors for making it. Handling my mail
(a lot of it) would be much harder without it!

A couple of weeks ago offlineimap started to crash when trying to sync a
specific message in a Maildir folder containing selected copies of
messages sent to the vim@xxxxxxx list.

This is what I get afterwards:

<begin copy error message>

Thread 'Copy message 2504 from Applications.[vim]' terminated with exception:
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/offlineimap/threadutil.py", line 153, 
in run
    Thread.run(self)
  File "/usr/lib/python2.3/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.3/site-packages/offlineimap/folder/Base.py", line 272, 
in copymessageto
    message = self.getmessage(uid)
  File "/usr/lib/python2.3/site-packages/offlineimap/folder/IMAP.py", line 114, 
in getmessage
    return initialresult[1][0][1].replace("\r\n", "\n")
TypeError: unsubscriptable object


Last 4 debug messages logged for Copy message 2504 from Applications.[vim] 
prior to exception:
imap:   06:48.22 > EFGN313 UID FETCH 2504 (BODY.PEEK[])
imap:   06:48.36 < EFGN313 OK Fetch completed.
imap:   06:48.36        matched r'(?P<tag>EFGN\d+) (?P<type>[A-Z]+) 
(?P<data>.*)' => ('EFGN313', 'OK', 'Fetch completed.')
imap: Returned object from fetching 2504: ('OK', [None])

</end error message>

I ran offlineimap in debug mode using the following command:

hdv@sleipnir: offlineimap -a draupnir -u Curses.Blinkenlights -1 -d imap -l 
offlineimap_session.log

However that resulted in a log of almost 10MB. I've started cleaning it up. If 
needed I will send it later on.

I also tried to isolate message 2504, but must admit that I don't know how to 
find out which one that is.

Any help would be appreciated very much.

Sincerely,

HdV




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