Complete.Org: Mailing Lists: Archives: offlineimap: October 2005:
TypeError: unsubscriptable object
Home

TypeError: unsubscriptable object

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: offlineimap@xxxxxxxxxxxx
Subject: TypeError: unsubscriptable object
From: Jean Jordaan <jean@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 12 Oct 2005 12:39:41 +0200

Hi there

Caught one of these while running with debug on:

DEBUG[imap]:   05:49.33 > FFFJ2857 UID FETCH 3758 (BODY.PEEK[])
DEBUG[imap]:   05:49.34 < FFFJ2857 OK FETCH completed
DEBUG[imap]:   05:49.34         matched r'(?P<tag>FFFJ\d+)
(?P<type>[A-Z]+) (?P<data>.*)' => ('FFFJ2857', 'OK', 'FETCH completed')
DEBUG[imap]: Returned object from fetching 3758: ('OK', [None])
Copy message 3759 IMAP[INBOX/Listserv/Irregulars] ->
Maildir[INBOX.Listserv.Irregulars], LocalStatus[INBOX.Listserv.Irregulars]
Thread 'Copy message 3758 from INBOX/Listserv/Irregulars' terminated
with exception:
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/offlineimap/threadutil.py",
line 153, 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 272, in copymessageto
    message = self.getmessage(uid)
  File "/usr/lib/python2.4/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 3758 from
INBOX/Listserv/Irregulars prior to exception:
imap:   05:49.33 > FFFJ2857 UID FETCH 3758 (BODY.PEEK[])
imap:   05:49.34 < FFFJ2857 OK FETCH completed
imap:   05:49.34        matched r'(?P<tag>FFFJ\d+) (?P<type>[A-Z]+)
(?P<data>.*)' => ('FFFJ2857', 'OK', 'FETCH completed')
imap: Returned object from fetching 3758: ('OK', [None])

-- 
j



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